Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 6023114

Browse files
committed
Fix a bad regression and yank 0.9.7
1 parent d2cc2ca commit 6023114

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## requirejs-rails changelog
44

5+
### v0.9.8
6+
7+
- Fix a bad regression and yank v0.9.7.
8+
59
### v0.9.7
610

711
- Fix a corner case where modules could appear in the build config's `paths`.

lib/requirejs/rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Requirejs
22
module Rails
3-
Version = "0.9.7"
3+
Version = "0.9.8"
44
LibVersion = "2.1.17"
55
end
66
end

lib/tasks/requirejs-rails_tasks.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ OS X Homebrew users can use 'brew install node'.
151151

152152
# Is there a `paths` entry for the module?
153153
if !paths[module_name]
154-
asset_name = Pathname.new(module_name).sub_ext(".js")
154+
asset_name = Pathname.new(module_name).sub_ext(".js").to_s
155155
else
156-
asset_name = Pathname.new(paths[module_name]).sub_ext(".js")
156+
asset_name = Pathname.new(paths[module_name]).sub_ext(".js").to_s
157157
end
158158

159159
asset = requirejs.env.find_asset(asset_name)

0 commit comments

Comments
 (0)