opal-rails 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/.gitignore +7 -3
  2. data/Gemfile +22 -0
  3. data/Rakefile +39 -2
  4. data/app/assets/images/opal-rails/.gitkeep +0 -0
  5. data/app/assets/javascripts/opal-rails/.gitkeep +0 -0
  6. data/app/assets/stylesheets/opal-rails/.gitkeep +0 -0
  7. data/app/controllers/.gitkeep +0 -0
  8. data/app/controllers/opal_spec_controller.rb +8 -0
  9. data/app/helpers/.gitkeep +0 -0
  10. data/app/mailers/.gitkeep +0 -0
  11. data/app/models/.gitkeep +0 -0
  12. data/app/views/.gitkeep +0 -0
  13. data/app/views/layouts/opal_spec.html.erb +17 -0
  14. data/config/routes.rb +3 -0
  15. data/lib/assets/javascripts/opal-spec-runner.js.rb +5 -0
  16. data/lib/assets/javascripts/opal-spec.js +819 -0
  17. data/lib/opal/rails/template_handler.rb +0 -1
  18. data/lib/opal/rails/version.rb +1 -1
  19. data/lib/tasks/opal-rails_tasks.rake +4 -0
  20. data/opal-rails.gemspec +3 -1
  21. data/script/rails +8 -0
  22. data/spec/integration/opal_spec.rb +9 -0
  23. data/spec/opal/rails/processor_spec.rb +4 -0
  24. data/spec/spec_helper.rb +20 -0
  25. data/test_app/.gitignore +15 -0
  26. data/test_app/Rakefile +7 -0
  27. data/test_app/app/assets/images/rails.png +0 -0
  28. data/test_app/app/assets/javascripts/application.js +15 -0
  29. data/test_app/app/assets/javascripts/spec/example_spec.js_spec.rb +5 -0
  30. data/test_app/app/assets/javascripts/spec.js +1 -0
  31. data/test_app/app/assets/stylesheets/application.css +13 -0
  32. data/test_app/app/controllers/application_controller.rb +3 -0
  33. data/test_app/app/views/layouts/application.html.erb +14 -0
  34. data/test_app/config/application.rb +68 -0
  35. data/test_app/config/boot.rb +6 -0
  36. data/test_app/config/environment.rb +5 -0
  37. data/test_app/config/environments/development.rb +31 -0
  38. data/test_app/config/environments/production.rb +64 -0
  39. data/test_app/config/environments/test.rb +35 -0
  40. data/test_app/config/initializers/backtrace_silencers.rb +7 -0
  41. data/test_app/config/initializers/inflections.rb +15 -0
  42. data/test_app/config/initializers/mime_types.rb +5 -0
  43. data/test_app/config/initializers/secret_token.rb +7 -0
  44. data/test_app/config/initializers/session_store.rb +8 -0
  45. data/test_app/config/initializers/wrap_parameters.rb +10 -0
  46. data/test_app/config/locales/en.yml +5 -0
  47. data/test_app/config/routes.rb +58 -0
  48. data/test_app/config.ru +4 -0
  49. data/test_app/lib/assets/.gitkeep +0 -0
  50. data/test_app/lib/tasks/.gitkeep +0 -0
  51. data/test_app/log/.gitkeep +0 -0
  52. data/test_app/public/404.html +26 -0
  53. data/test_app/public/422.html +26 -0
  54. data/test_app/public/500.html +25 -0
  55. data/test_app/public/favicon.ico +0 -0
  56. data/test_app/public/robots.txt +5 -0
  57. data/test_app/script/rails +6 -0
  58. metadata +80 -13
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-27 00:00:00.000000000 Z
12
+ date: 2012-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: opal
16
- requirement: &70169906176040 !ruby/object:Gem::Requirement
16
+ requirement: &70169717228640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.3.20
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70169906176040
24
+ version_requirements: *70169717228640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: railties
27
- requirement: &70169906175480 !ruby/object:Gem::Requirement
27
+ requirement: &70169717228020 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70169906175480
35
+ version_requirements: *70169717228020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sprockets
38
- requirement: &70169906173840 !ruby/object:Gem::Requirement
38
+ requirement: &70169717227380 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.1'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70169906173840
46
+ version_requirements: *70169717227380
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70169906173300 !ruby/object:Gem::Requirement
49
+ requirement: &70169717226700 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,18 @@ dependencies:
54
54
  version: '2.4'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70169906173300
57
+ version_requirements: *70169717226700
58
+ - !ruby/object:Gem::Dependency
59
+ name: rspec-rails
60
+ requirement: &70169717225900 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: '2.4'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70169717225900
58
69
  description: Rails bindings for opal JS engine
59
70
  email:
60
71
  - elia@schito.me
@@ -68,7 +79,20 @@ files:
68
79
  - Gemfile
69
80
  - README.md
70
81
  - Rakefile
82
+ - app/assets/images/opal-rails/.gitkeep
83
+ - app/assets/javascripts/opal-rails/.gitkeep
84
+ - app/assets/stylesheets/opal-rails/.gitkeep
85
+ - app/controllers/.gitkeep
86
+ - app/controllers/opal_spec_controller.rb
87
+ - app/helpers/.gitkeep
88
+ - app/mailers/.gitkeep
89
+ - app/models/.gitkeep
90
+ - app/views/.gitkeep
91
+ - app/views/layouts/opal_spec.html.erb
92
+ - config/routes.rb
71
93
  - lib/assets/javascripts/opal-dom.js
94
+ - lib/assets/javascripts/opal-spec-runner.js.rb
95
+ - lib/assets/javascripts/opal-spec.js
72
96
  - lib/assets/javascripts/opal.js
73
97
  - lib/opal-rails.rb
74
98
  - lib/opal/rails/engine.rb
@@ -76,11 +100,48 @@ files:
76
100
  - lib/opal/rails/processor.rb
77
101
  - lib/opal/rails/template_handler.rb
78
102
  - lib/opal/rails/version.rb
103
+ - lib/tasks/opal-rails_tasks.rake
79
104
  - opal-rails.gemspec
105
+ - script/rails
106
+ - spec/integration/opal_spec.rb
80
107
  - spec/opal/rails/processor_spec.rb
81
108
  - spec/spec_helper.rb
82
- homepage: ''
83
- licenses: []
109
+ - test_app/.gitignore
110
+ - test_app/Rakefile
111
+ - test_app/app/assets/images/rails.png
112
+ - test_app/app/assets/javascripts/application.js
113
+ - test_app/app/assets/javascripts/spec.js
114
+ - test_app/app/assets/javascripts/spec/example_spec.js_spec.rb
115
+ - test_app/app/assets/stylesheets/application.css
116
+ - test_app/app/controllers/application_controller.rb
117
+ - test_app/app/views/layouts/application.html.erb
118
+ - test_app/config.ru
119
+ - test_app/config/application.rb
120
+ - test_app/config/boot.rb
121
+ - test_app/config/environment.rb
122
+ - test_app/config/environments/development.rb
123
+ - test_app/config/environments/production.rb
124
+ - test_app/config/environments/test.rb
125
+ - test_app/config/initializers/backtrace_silencers.rb
126
+ - test_app/config/initializers/inflections.rb
127
+ - test_app/config/initializers/mime_types.rb
128
+ - test_app/config/initializers/secret_token.rb
129
+ - test_app/config/initializers/session_store.rb
130
+ - test_app/config/initializers/wrap_parameters.rb
131
+ - test_app/config/locales/en.yml
132
+ - test_app/config/routes.rb
133
+ - test_app/lib/assets/.gitkeep
134
+ - test_app/lib/tasks/.gitkeep
135
+ - test_app/log/.gitkeep
136
+ - test_app/public/404.html
137
+ - test_app/public/422.html
138
+ - test_app/public/500.html
139
+ - test_app/public/favicon.ico
140
+ - test_app/public/robots.txt
141
+ - test_app/script/rails
142
+ homepage: http://elia.github.com/opal-rails
143
+ licenses:
144
+ - MIT-LICENSE
84
145
  post_install_message:
85
146
  rdoc_options: []
86
147
  require_paths:
@@ -91,12 +152,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
152
  - - ! '>='
92
153
  - !ruby/object:Gem::Version
93
154
  version: '0'
155
+ segments:
156
+ - 0
157
+ hash: -1209413420663671479
94
158
  required_rubygems_version: !ruby/object:Gem::Requirement
95
159
  none: false
96
160
  requirements:
97
161
  - - ! '>='
98
162
  - !ruby/object:Gem::Version
99
163
  version: '0'
164
+ segments:
165
+ - 0
166
+ hash: -1209413420663671479
100
167
  requirements: []
101
168
  rubyforge_project: opal-rails
102
169
  rubygems_version: 1.8.17
@@ -104,6 +171,6 @@ signing_key:
104
171
  specification_version: 3
105
172
  summary: Rails bindings for opal JS engine
106
173
  test_files:
174
+ - spec/integration/opal_spec.rb
107
175
  - spec/opal/rails/processor_spec.rb
108
176
  - spec/spec_helper.rb
109
- has_rdoc: