knockout-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/.gitignore +8 -0
  2. data/Gemfile +12 -0
  3. data/Gemfile.lock +134 -0
  4. data/HISTORY.md +12 -0
  5. data/README.md +106 -0
  6. data/Rakefile +37 -0
  7. data/knockout-rails.gemspec +27 -0
  8. data/lib/assets/javascripts/knockout/bindings.js.coffee +1 -0
  9. data/lib/assets/javascripts/knockout/model.js.coffee +112 -0
  10. data/lib/assets/javascripts/knockout/observables.js.coffee +1 -0
  11. data/lib/knockout-rails.rb +5 -0
  12. data/lib/knockout-rails/engine.rb +6 -0
  13. data/lib/knockout-rails/version.rb +3 -0
  14. data/lib/tasks/knockout-rails_tasks.rake +4 -0
  15. data/spec/dummy/Rakefile +7 -0
  16. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  17. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  18. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  19. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  20. data/spec/dummy/app/mailers/.gitkeep +0 -0
  21. data/spec/dummy/app/models/.gitkeep +0 -0
  22. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/spec/dummy/config.ru +4 -0
  24. data/spec/dummy/config/application.rb +53 -0
  25. data/spec/dummy/config/boot.rb +10 -0
  26. data/spec/dummy/config/database.yml +25 -0
  27. data/spec/dummy/config/environment.rb +5 -0
  28. data/spec/dummy/config/environments/development.rb +30 -0
  29. data/spec/dummy/config/environments/production.rb +60 -0
  30. data/spec/dummy/config/environments/test.rb +39 -0
  31. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  32. data/spec/dummy/config/initializers/inflections.rb +10 -0
  33. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  34. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  35. data/spec/dummy/config/initializers/session_store.rb +8 -0
  36. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  37. data/spec/dummy/config/locales/en.yml +5 -0
  38. data/spec/dummy/config/routes.rb +58 -0
  39. data/spec/dummy/lib/assets/.gitkeep +0 -0
  40. data/spec/dummy/public/404.html +26 -0
  41. data/spec/dummy/public/422.html +26 -0
  42. data/spec/dummy/public/500.html +26 -0
  43. data/spec/dummy/public/favicon.ico +0 -0
  44. data/spec/dummy/script/rails +6 -0
  45. data/spec/javascripts/knockout/bindings_spec.js.coffee +2 -0
  46. data/spec/javascripts/knockout/model_spec.js.coffee +85 -0
  47. data/spec/javascripts/knockout/observables_spec.js.coffee +3 -0
  48. data/spec/javascripts/spec.css +3 -0
  49. data/spec/javascripts/spec.js.coffee +3 -0
  50. data/spec/javascripts/support/mock-ajax.js +207 -0
  51. data/spec/knockout_spec.rb +14 -0
  52. data/spec/spec_helper.rb +10 -0
  53. data/spec/support/global.rb +7 -0
  54. data/spec/support/matchers.rb +36 -0
  55. data/vendor/assets/javascripts/knockout.js +7 -0
  56. data/vendor/assets/javascripts/knockout/knockout.js +3153 -0
  57. data/vendor/assets/javascripts/knockout/knockout.mapping.js +676 -0
  58. data/vendor/assets/javascripts/knockout/sugar-1.1.1.js +5828 -0
  59. metadata +206 -0
metadata ADDED
@@ -0,0 +1,206 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: knockout-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Dmytrii Nagirniak
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-11-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sprockets
16
+ requirement: &70265769988800 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70265769988800
25
+ - !ruby/object:Gem::Dependency
26
+ name: execjs
27
+ requirement: &70265769987360 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70265769987360
36
+ - !ruby/object:Gem::Dependency
37
+ name: jquery-rails
38
+ requirement: &70265769986280 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70265769986280
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &70265769984520 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70265769984520
58
+ - !ruby/object:Gem::Dependency
59
+ name: rails
60
+ requirement: &70265769832120 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 3.1.1
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70265769832120
69
+ description: Include the knockout.js and some of its extensions so you can pick what
70
+ you need. Adds the support for models and interation with the Rails backend.
71
+ email:
72
+ - dnagir@gmail.com
73
+ executables: []
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - .gitignore
78
+ - Gemfile
79
+ - Gemfile.lock
80
+ - HISTORY.md
81
+ - README.md
82
+ - Rakefile
83
+ - knockout-rails.gemspec
84
+ - lib/assets/javascripts/knockout/bindings.js.coffee
85
+ - lib/assets/javascripts/knockout/model.js.coffee
86
+ - lib/assets/javascripts/knockout/observables.js.coffee
87
+ - lib/knockout-rails.rb
88
+ - lib/knockout-rails/engine.rb
89
+ - lib/knockout-rails/version.rb
90
+ - lib/tasks/knockout-rails_tasks.rake
91
+ - spec/dummy/Rakefile
92
+ - spec/dummy/app/assets/javascripts/application.js
93
+ - spec/dummy/app/assets/stylesheets/application.css
94
+ - spec/dummy/app/controllers/application_controller.rb
95
+ - spec/dummy/app/helpers/application_helper.rb
96
+ - spec/dummy/app/mailers/.gitkeep
97
+ - spec/dummy/app/models/.gitkeep
98
+ - spec/dummy/app/views/layouts/application.html.erb
99
+ - spec/dummy/config.ru
100
+ - spec/dummy/config/application.rb
101
+ - spec/dummy/config/boot.rb
102
+ - spec/dummy/config/database.yml
103
+ - spec/dummy/config/environment.rb
104
+ - spec/dummy/config/environments/development.rb
105
+ - spec/dummy/config/environments/production.rb
106
+ - spec/dummy/config/environments/test.rb
107
+ - spec/dummy/config/initializers/backtrace_silencers.rb
108
+ - spec/dummy/config/initializers/inflections.rb
109
+ - spec/dummy/config/initializers/mime_types.rb
110
+ - spec/dummy/config/initializers/secret_token.rb
111
+ - spec/dummy/config/initializers/session_store.rb
112
+ - spec/dummy/config/initializers/wrap_parameters.rb
113
+ - spec/dummy/config/locales/en.yml
114
+ - spec/dummy/config/routes.rb
115
+ - spec/dummy/lib/assets/.gitkeep
116
+ - spec/dummy/public/404.html
117
+ - spec/dummy/public/422.html
118
+ - spec/dummy/public/500.html
119
+ - spec/dummy/public/favicon.ico
120
+ - spec/dummy/script/rails
121
+ - spec/javascripts/knockout/bindings_spec.js.coffee
122
+ - spec/javascripts/knockout/model_spec.js.coffee
123
+ - spec/javascripts/knockout/observables_spec.js.coffee
124
+ - spec/javascripts/spec.css
125
+ - spec/javascripts/spec.js.coffee
126
+ - spec/javascripts/support/mock-ajax.js
127
+ - spec/knockout_spec.rb
128
+ - spec/spec_helper.rb
129
+ - spec/support/global.rb
130
+ - spec/support/matchers.rb
131
+ - vendor/assets/javascripts/knockout.js
132
+ - vendor/assets/javascripts/knockout/knockout.js
133
+ - vendor/assets/javascripts/knockout/knockout.mapping.js
134
+ - vendor/assets/javascripts/knockout/sugar-1.1.1.js
135
+ homepage: http://github.com/dnagir/knockout-rails
136
+ licenses: []
137
+ post_install_message:
138
+ rdoc_options: []
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ segments:
148
+ - 0
149
+ hash: -209909381352659147
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ segments:
157
+ - 0
158
+ hash: -209909381352659147
159
+ requirements: []
160
+ rubyforge_project: knockout-rails
161
+ rubygems_version: 1.8.10
162
+ signing_key:
163
+ specification_version: 3
164
+ summary: Knockout.JS library for Rails Assets Pipeline with convenient Backbone/Spine-like
165
+ Rails extensions.
166
+ test_files:
167
+ - spec/dummy/Rakefile
168
+ - spec/dummy/app/assets/javascripts/application.js
169
+ - spec/dummy/app/assets/stylesheets/application.css
170
+ - spec/dummy/app/controllers/application_controller.rb
171
+ - spec/dummy/app/helpers/application_helper.rb
172
+ - spec/dummy/app/mailers/.gitkeep
173
+ - spec/dummy/app/models/.gitkeep
174
+ - spec/dummy/app/views/layouts/application.html.erb
175
+ - spec/dummy/config.ru
176
+ - spec/dummy/config/application.rb
177
+ - spec/dummy/config/boot.rb
178
+ - spec/dummy/config/database.yml
179
+ - spec/dummy/config/environment.rb
180
+ - spec/dummy/config/environments/development.rb
181
+ - spec/dummy/config/environments/production.rb
182
+ - spec/dummy/config/environments/test.rb
183
+ - spec/dummy/config/initializers/backtrace_silencers.rb
184
+ - spec/dummy/config/initializers/inflections.rb
185
+ - spec/dummy/config/initializers/mime_types.rb
186
+ - spec/dummy/config/initializers/secret_token.rb
187
+ - spec/dummy/config/initializers/session_store.rb
188
+ - spec/dummy/config/initializers/wrap_parameters.rb
189
+ - spec/dummy/config/locales/en.yml
190
+ - spec/dummy/config/routes.rb
191
+ - spec/dummy/lib/assets/.gitkeep
192
+ - spec/dummy/public/404.html
193
+ - spec/dummy/public/422.html
194
+ - spec/dummy/public/500.html
195
+ - spec/dummy/public/favicon.ico
196
+ - spec/dummy/script/rails
197
+ - spec/javascripts/knockout/bindings_spec.js.coffee
198
+ - spec/javascripts/knockout/model_spec.js.coffee
199
+ - spec/javascripts/knockout/observables_spec.js.coffee
200
+ - spec/javascripts/spec.css
201
+ - spec/javascripts/spec.js.coffee
202
+ - spec/javascripts/support/mock-ajax.js
203
+ - spec/knockout_spec.rb
204
+ - spec/spec_helper.rb
205
+ - spec/support/global.rb
206
+ - spec/support/matchers.rb