coffee-rails-source-maps 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -44,6 +44,14 @@ Finally to see your CoffeeScript code in the Chrome console just add a `debugger
44
44
 
45
45
  Ah, yes, I too have run into this. If you're using the asset-pipeline, and you probably are since this gem requires it. Then you need to touch your CoffeeScript files in order for the asset-pipeline to generate the map for that file. Once you do that the next time you access the file in Chrome a source map should be generated for you and you'll see it in the browser.
46
46
 
47
+ If you're still not seeing source maps trying adding:
48
+
49
+ ```ruby
50
+ gem 'tilt'
51
+ ```
52
+
53
+ in your `Gemfile` before the `coffee-rails-source-maps` gem. That has been proven to fix the issue.
54
+
47
55
  Good luck!
48
56
 
49
57
  ## Acknowledgements
@@ -61,4 +69,4 @@ This gem is based on the following Gist: [https://gist.github.com/naan/5096056](
61
69
  ## Contributers
62
70
 
63
71
  * Mark Bates
64
- * Thomas Walpole
72
+ * Thomas Walpole
@@ -31,7 +31,7 @@ if Rails.env.development?
31
31
  rel_path = if pathname.to_s.start_with?(Bundler.bundle_path.to_s)
32
32
  Pathname('bundler').join(pathname.relative_path_from(Bundler.bundle_path)).dirname
33
33
  else
34
- pathname.relative_path_from(Rails.root.join("app", "assets", "javascripts")).dirname
34
+ pathname.relative_path_from(Rails.root).dirname
35
35
  end
36
36
 
37
37
  map_dir = Rails.root.join("public", "source_maps", rel_path)
@@ -1,3 +1,3 @@
1
1
  module CoffeeRailsSourceMaps
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coffee-rails-source-maps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-08 00:00:00.000000000 Z
12
+ date: 2013-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: coffee-script-source
@@ -74,7 +74,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
74
74
  version: '0'
75
75
  segments:
76
76
  - 0
77
- hash: -2983782829991757151
77
+ hash: 616881311905727692
78
78
  required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  none: false
80
80
  requirements:
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  version: '0'
84
84
  segments:
85
85
  - 0
86
- hash: -2983782829991757151
86
+ hash: 616881311905727692
87
87
  requirements: []
88
88
  rubyforge_project:
89
89
  rubygems_version: 1.8.25