sprockets-traceur 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzZhOGQ3ZDUwNDAxNGNjNWYxZTEyNWI3MTBiOGI0NjE0NzQ3NDc1MQ==
4
+ YWE4ODAxMjM5MGM4NzVmOTVkMTVkMzBkMDI3NDM4Y2E0NDlkNDc5ZQ==
5
5
  data.tar.gz: !binary |-
6
- NDI3MGFkODhiNGE4YWQyMTAzMTYyMWJlNWJlNmUyOTU3MTk3YzVhMA==
6
+ MDk0MWNjNjllZmY1OWVjOWIzMDg0MDgxMzRlZTE0OTVlYTc3Y2JiZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTJkMzI1YjY4ZWIwOGRmYmE5MDk3NzVlZWFkYWM3YTJmNDU2ZDk4YWQ2OThj
10
- ZjNlMmIxZjllODFlOGQ3NmJjYzVhMjBlZDM5ODkzMzhiMjBmMGNjMjBjYjBi
11
- NjgzNzE4ZGNiMTRmZTZlNjcwZmNkYWMwMDdlYjgwMTNjZGMxOTA=
9
+ NWRjOGI2ODU1NDUwNTdmOGI0OGExOGM1N2I2YjdiYmU1ZjA3ZTBiNWMwODFl
10
+ MDE1N2M3NmEwZDAxMDk2MDkxNGM1Mzk4YjlhOWI5NGQ2NDM0MTBkM2VjNjEy
11
+ OTJkMmQyMmI1MmY0N2M5M2NlNWZiM2ZjZTQ1YzJmODA1NTA4MDM=
12
12
  data.tar.gz: !binary |-
13
- ZDc2NTI2OGEwZmIxOTY3MDgyOTAyNDM1MmY3MmM1ODgxYWI3OGU0ZmFkOTQ0
14
- ODkwN2QyZDA4ZmExMTNiMmM5ZDVmZDkzYjU4NDBhMzYyNGNiMGZjNThkM2My
15
- MWUyZjNiNWRiM2RiMTNiZTk5NTgwMDFlOGIxNWVhNTRjZWY5NWM=
13
+ ZGEyM2MyNWNjMGE5Y2NkZjI2MjUyYzZlNDQwYTZiNWFjYjUxZDM4ZjFkZDll
14
+ MDBhOGFhYjUyNjFkOTEyM2UyNGQ2NDJiOThhNDg3YTIxY2IzMTkzOGY2MDIw
15
+ ZWZkOTA1NmU4MzI5ODQ5MDc3ODQwMTE4Yjg2ZWUwYzViMDNkOTQ=
data/.gitignore CHANGED
@@ -20,3 +20,4 @@ tmp
20
20
  *.o
21
21
  *.a
22
22
  mkmf.log
23
+ spec/rails4/log
data/README.md CHANGED
@@ -25,7 +25,7 @@ Or install it yourself as:
25
25
  //= require traceur-runtime
26
26
  ```
27
27
 
28
- 3. Add `.js.es6` or `.js.next` extension to the files you wish to have transipled.
28
+ 3. Add `.js.es6` or `.js.next` extension to the files you wish to have transpiled.
29
29
  4. Profit!
30
30
 
31
31
  ## Usage with Sinatra/Rack
@@ -19,7 +19,7 @@ module Sprockets
19
19
 
20
20
  def evaluate(scope, locals, &block)
21
21
  name = module_name(scope)
22
- ::Traceur.compile(data, module_name: name, filename: name)
22
+ ::Traceur.compile(data, module_name: name, filename: file)
23
23
  end
24
24
 
25
25
  private
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Traceur
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "sprockets"
22
- spec.add_dependency "traceur-rb"
21
+ spec.add_dependency "sprockets", "~> 2"
22
+ spec.add_dependency "traceur-rb", ">= 0.0.2"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.6"
25
25
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-traceur
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Pohorecki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-20 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: traceur-rb
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.0.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 0.0.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -211,8 +211,6 @@ files:
211
211
  - spec/rails4/lib/assets/.keep
212
212
  - spec/rails4/lib/tasks/.keep
213
213
  - spec/rails4/log/.keep
214
- - spec/rails4/log/development.log
215
- - spec/rails4/log/test.log
216
214
  - spec/rails4/public/404.html
217
215
  - spec/rails4/public/422.html
218
216
  - spec/rails4/public/500.html
@@ -251,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
249
  version: '0'
252
250
  requirements: []
253
251
  rubyforge_project:
254
- rubygems_version: 2.2.2
252
+ rubygems_version: 2.4.3
255
253
  signing_key:
256
254
  specification_version: 4
257
255
  summary: Sprockets plugin for Google Traceur.
@@ -298,8 +296,6 @@ test_files:
298
296
  - spec/rails4/lib/assets/.keep
299
297
  - spec/rails4/lib/tasks/.keep
300
298
  - spec/rails4/log/.keep
301
- - spec/rails4/log/development.log
302
- - spec/rails4/log/test.log
303
299
  - spec/rails4/public/404.html
304
300
  - spec/rails4/public/422.html
305
301
  - spec/rails4/public/500.html
@@ -1,58 +0,0 @@
1
-
2
-
3
- Started GET "/" for 127.0.0.1 at 2014-06-20 21:21:48 +0200
4
- Processing by Rails::WelcomeController#index as HTML
5
- Rendered /home/psyho/.rvm/gems/ruby-1.9.3-p545@traceur/gems/railties-4.1.1/lib/rails/templates/rails/welcome/index.html.erb (1.3ms)
6
- Completed 200 OK in 14ms (Views: 14.2ms)
7
-
8
-
9
- Started GET "/" for 127.0.0.1 at 2014-06-20 21:21:50 +0200
10
- Processing by Rails::WelcomeController#index as HTML
11
- Rendered /home/psyho/.rvm/gems/ruby-1.9.3-p545@traceur/gems/railties-4.1.1/lib/rails/templates/rails/welcome/index.html.erb (0.0ms)
12
- Completed 200 OK in 1ms (Views: 0.7ms)
13
-
14
-
15
- Started GET "/" for 127.0.0.1 at 2014-06-20 21:22:10 +0200
16
- Processing by WelcomeController#index as HTML
17
- Rendered welcome/index.html.erb within layouts/application (0.2ms)
18
- Completed 500 Internal Server Error in 9ms
19
-
20
- ActionView::Template::Error (couldn't find file 'traceur-runtime'
21
- (in /home/psyho/apps/sprockets-traceur/spec/rails4/app/assets/javascripts/application.js:2)):
22
- 3: <head>
23
- 4: <title>TraceurTest</title>
24
- 5: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
25
- 6: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
26
- 7: <%= csrf_meta_tags %>
27
- 8: </head>
28
- 9: <body>
29
- app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___2366573193995097115_27539580'
30
-
31
-
32
- Rendered /home/psyho/.rvm/gems/ruby-1.9.3-p545@traceur/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.6ms)
33
- Rendered /home/psyho/.rvm/gems/ruby-1.9.3-p545@traceur/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (5.8ms)
34
- Rendered /home/psyho/.rvm/gems/ruby-1.9.3-p545@traceur/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.2ms)
35
-
36
-
37
- Started GET "/" for 127.0.0.1 at 2014-06-20 21:24:14 +0200
38
- Processing by WelcomeController#index as HTML
39
- Rendered welcome/index.html.erb within layouts/application (10.7ms)
40
- Completed 200 OK in 300ms (Views: 300.0ms)
41
-
42
-
43
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-20 21:24:14 +0200
44
-
45
-
46
- Started GET "/assets/bind_polyfill.js?body=1" for 127.0.0.1 at 2014-06-20 21:24:14 +0200
47
-
48
-
49
- Started GET "/assets/my_app/greeter.js?body=1" for 127.0.0.1 at 2014-06-20 21:24:14 +0200
50
-
51
-
52
- Started GET "/assets/traceur-runtime.js?body=1" for 127.0.0.1 at 2014-06-20 21:24:14 +0200
53
-
54
-
55
- Started GET "/assets/init.js?body=1" for 127.0.0.1 at 2014-06-20 21:24:14 +0200
56
-
57
-
58
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-20 21:24:14 +0200
@@ -1,6 +0,0 @@
1
- Started GET "/" for 127.0.0.1 at 2014-06-20 21:30:56 +0200
2
- Processing by WelcomeController#index as HTML
3
- Rendered welcome/index.html.erb within layouts/application (14.3ms)
4
- Completed 200 OK in 280ms (Views: 279.8ms)
5
- Started GET "/assets/application.css" for 127.0.0.1 at 2014-06-20 21:30:57 +0200
6
- Started GET "/assets/application.js" for 127.0.0.1 at 2014-06-20 21:30:57 +0200