brainstem-js 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/.gitignore +8 -0
  2. data/.pairs +21 -0
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/.tm_properties +1 -0
  6. data/.travis.yml +12 -0
  7. data/Assetfile +79 -0
  8. data/Gemfile +6 -0
  9. data/Gemfile.lock +50 -0
  10. data/LICENSE.txt +22 -0
  11. data/README.md +143 -0
  12. data/Rakefile +25 -0
  13. data/brainstemjs.gemspec +24 -0
  14. data/lib/brainstem/js/engine.rb +5 -0
  15. data/lib/brainstem/js/version.rb +5 -0
  16. data/lib/brainstem/js.rb +10 -0
  17. data/spec/brainstem-collection-spec.coffee +141 -0
  18. data/spec/brainstem-model-spec.coffee +283 -0
  19. data/spec/brainstem-sync-spec.coffee +22 -0
  20. data/spec/brainstem-utils-spec.coffee +12 -0
  21. data/spec/brianstem-expectation-spec.coffee +209 -0
  22. data/spec/helpers/builders.coffee +80 -0
  23. data/spec/helpers/jquery-matchers.js +137 -0
  24. data/spec/helpers/models/post.coffee +14 -0
  25. data/spec/helpers/models/project.coffee +13 -0
  26. data/spec/helpers/models/task.coffee +14 -0
  27. data/spec/helpers/models/time-entry.coffee +13 -0
  28. data/spec/helpers/models/user.coffee +8 -0
  29. data/spec/helpers/spec-helper.coffee +79 -0
  30. data/spec/storage-manager-spec.coffee +613 -0
  31. data/spec/support/.DS_Store +0 -0
  32. data/spec/support/console-runner.js +103 -0
  33. data/spec/support/headless.coffee +47 -0
  34. data/spec/support/headless.html +60 -0
  35. data/spec/support/runner.html +85 -0
  36. data/spec/vendor/backbone-factory.js +62 -0
  37. data/spec/vendor/backbone.js +1571 -0
  38. data/spec/vendor/inflection.js +448 -0
  39. data/spec/vendor/jquery-1.7.js +9300 -0
  40. data/spec/vendor/jquery.cookie.js +47 -0
  41. data/spec/vendor/minispade.js +67 -0
  42. data/spec/vendor/sinon-1.3.4.js +3561 -0
  43. data/spec/vendor/underscore.js +1221 -0
  44. data/vendor/assets/.DS_Store +0 -0
  45. data/vendor/assets/javascripts/.DS_Store +0 -0
  46. data/vendor/assets/javascripts/brainstem/brainstem-collection.coffee +53 -0
  47. data/vendor/assets/javascripts/brainstem/brainstem-expectation.coffee +65 -0
  48. data/vendor/assets/javascripts/brainstem/brainstem-inflections.js +449 -0
  49. data/vendor/assets/javascripts/brainstem/brainstem-model.coffee +141 -0
  50. data/vendor/assets/javascripts/brainstem/brainstem-sync.coffee +76 -0
  51. data/vendor/assets/javascripts/brainstem/index.js +1 -0
  52. data/vendor/assets/javascripts/brainstem/iso8601.js +41 -0
  53. data/vendor/assets/javascripts/brainstem/loading-mixin.coffee +13 -0
  54. data/vendor/assets/javascripts/brainstem/storage-manager.coffee +275 -0
  55. data/vendor/assets/javascripts/brainstem/utils.coffee +35 -0
  56. metadata +198 -0
metadata ADDED
@@ -0,0 +1,198 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: brainstem-js
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Mavenlink
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-04-29 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.2'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.2'
30
+ - !ruby/object:Gem::Dependency
31
+ name: coffee-script
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '2.2'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '2.2'
46
+ - !ruby/object:Gem::Dependency
47
+ name: jasmine-core
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 1.3.1
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 1.3.1
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake-pipeline-web-filters
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 0.6.0
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.6.0
78
+ description: The Brainstem API adapter library for Backbone.js
79
+ email:
80
+ - opensource@mavenlink.com
81
+ executables: []
82
+ extensions: []
83
+ extra_rdoc_files: []
84
+ files:
85
+ - .gitignore
86
+ - .pairs
87
+ - .ruby-gemset
88
+ - .ruby-version
89
+ - .tm_properties
90
+ - .travis.yml
91
+ - Assetfile
92
+ - Gemfile
93
+ - Gemfile.lock
94
+ - LICENSE.txt
95
+ - README.md
96
+ - Rakefile
97
+ - brainstemjs.gemspec
98
+ - lib/brainstem/js.rb
99
+ - lib/brainstem/js/engine.rb
100
+ - lib/brainstem/js/version.rb
101
+ - spec/brainstem-collection-spec.coffee
102
+ - spec/brainstem-model-spec.coffee
103
+ - spec/brainstem-sync-spec.coffee
104
+ - spec/brainstem-utils-spec.coffee
105
+ - spec/brianstem-expectation-spec.coffee
106
+ - spec/helpers/builders.coffee
107
+ - spec/helpers/jquery-matchers.js
108
+ - spec/helpers/models/post.coffee
109
+ - spec/helpers/models/project.coffee
110
+ - spec/helpers/models/task.coffee
111
+ - spec/helpers/models/time-entry.coffee
112
+ - spec/helpers/models/user.coffee
113
+ - spec/helpers/spec-helper.coffee
114
+ - spec/storage-manager-spec.coffee
115
+ - spec/support/.DS_Store
116
+ - spec/support/console-runner.js
117
+ - spec/support/headless.coffee
118
+ - spec/support/headless.html
119
+ - spec/support/runner.html
120
+ - spec/vendor/backbone-factory.js
121
+ - spec/vendor/backbone.js
122
+ - spec/vendor/inflection.js
123
+ - spec/vendor/jquery-1.7.js
124
+ - spec/vendor/jquery.cookie.js
125
+ - spec/vendor/minispade.js
126
+ - spec/vendor/sinon-1.3.4.js
127
+ - spec/vendor/underscore.js
128
+ - vendor/assets/.DS_Store
129
+ - vendor/assets/javascripts/.DS_Store
130
+ - vendor/assets/javascripts/brainstem/brainstem-collection.coffee
131
+ - vendor/assets/javascripts/brainstem/brainstem-expectation.coffee
132
+ - vendor/assets/javascripts/brainstem/brainstem-inflections.js
133
+ - vendor/assets/javascripts/brainstem/brainstem-model.coffee
134
+ - vendor/assets/javascripts/brainstem/brainstem-sync.coffee
135
+ - vendor/assets/javascripts/brainstem/index.js
136
+ - vendor/assets/javascripts/brainstem/iso8601.js
137
+ - vendor/assets/javascripts/brainstem/loading-mixin.coffee
138
+ - vendor/assets/javascripts/brainstem/storage-manager.coffee
139
+ - vendor/assets/javascripts/brainstem/utils.coffee
140
+ homepage: http://github.com/mavenlink/brainstem-js
141
+ licenses: []
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ! '>='
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ segments:
153
+ - 0
154
+ hash: -840829495700924104
155
+ required_rubygems_version: !ruby/object:Gem::Requirement
156
+ none: false
157
+ requirements:
158
+ - - ! '>='
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ segments:
162
+ - 0
163
+ hash: -840829495700924104
164
+ requirements: []
165
+ rubyforge_project:
166
+ rubygems_version: 1.8.25
167
+ signing_key:
168
+ specification_version: 3
169
+ summary: Easily connect Backbone.js with Brainstem APIs. Get relational models in
170
+ Backbone.
171
+ test_files:
172
+ - spec/brainstem-collection-spec.coffee
173
+ - spec/brainstem-model-spec.coffee
174
+ - spec/brainstem-sync-spec.coffee
175
+ - spec/brainstem-utils-spec.coffee
176
+ - spec/brianstem-expectation-spec.coffee
177
+ - spec/helpers/builders.coffee
178
+ - spec/helpers/jquery-matchers.js
179
+ - spec/helpers/models/post.coffee
180
+ - spec/helpers/models/project.coffee
181
+ - spec/helpers/models/task.coffee
182
+ - spec/helpers/models/time-entry.coffee
183
+ - spec/helpers/models/user.coffee
184
+ - spec/helpers/spec-helper.coffee
185
+ - spec/storage-manager-spec.coffee
186
+ - spec/support/.DS_Store
187
+ - spec/support/console-runner.js
188
+ - spec/support/headless.coffee
189
+ - spec/support/headless.html
190
+ - spec/support/runner.html
191
+ - spec/vendor/backbone-factory.js
192
+ - spec/vendor/backbone.js
193
+ - spec/vendor/inflection.js
194
+ - spec/vendor/jquery-1.7.js
195
+ - spec/vendor/jquery.cookie.js
196
+ - spec/vendor/minispade.js
197
+ - spec/vendor/sinon-1.3.4.js
198
+ - spec/vendor/underscore.js