opal-vienna 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +3 -0
  3. data/.travis.yml +8 -0
  4. data/Gemfile +7 -0
  5. data/README.md +294 -0
  6. data/Rakefile +7 -0
  7. data/config.ru +8 -0
  8. data/lib/opal-vienna.rb +1 -0
  9. data/lib/opal/vienna.rb +7 -0
  10. data/lib/opal/vienna/version.rb +5 -0
  11. data/opal-vienna.gemspec +26 -0
  12. data/opal/vienna.rb +5 -0
  13. data/opal/vienna/adapters/base.rb +45 -0
  14. data/opal/vienna/adapters/local.rb +50 -0
  15. data/opal/vienna/adapters/rest.rb +97 -0
  16. data/opal/vienna/eventable.rb +35 -0
  17. data/opal/vienna/history_router.rb +44 -0
  18. data/opal/vienna/model.rb +222 -0
  19. data/opal/vienna/observable.rb +90 -0
  20. data/opal/vienna/observable_array.rb +73 -0
  21. data/opal/vienna/output_buffer.rb +13 -0
  22. data/opal/vienna/record_array.rb +31 -0
  23. data/opal/vienna/router.rb +85 -0
  24. data/opal/vienna/template_view.rb +41 -0
  25. data/opal/vienna/view.rb +93 -0
  26. data/spec/eventable_spec.rb +94 -0
  27. data/spec/history_router_spec.rb +47 -0
  28. data/spec/model/accessing_attributes_spec.rb +29 -0
  29. data/spec/model/as_json_spec.rb +28 -0
  30. data/spec/model/attribute_spec.rb +22 -0
  31. data/spec/model/initialize_spec.rb +42 -0
  32. data/spec/model/load_spec.rb +17 -0
  33. data/spec/model/persistence_spec.rb +84 -0
  34. data/spec/model_spec.rb +84 -0
  35. data/spec/observable_array_spec.rb +130 -0
  36. data/spec/observable_spec.rb +116 -0
  37. data/spec/output_buffer_spec.rb +37 -0
  38. data/spec/record_array_spec.rb +50 -0
  39. data/spec/route_spec.rb +89 -0
  40. data/spec/router_spec.rb +103 -0
  41. data/spec/spec_helper.rb +53 -0
  42. data/spec/template_view_spec.rb +47 -0
  43. data/spec/vendor/jquery.js +2 -0
  44. data/spec/view_spec.rb +78 -0
  45. metadata +181 -0
metadata ADDED
@@ -0,0 +1,181 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opal-vienna
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.0
5
+ platform: ruby
6
+ authors:
7
+ - Adam Beynon
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: opal
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.5.0
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 0.5.0
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: opal-jquery
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: opal-activesupport
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: opal-rspec
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 0.2.1
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: 0.2.1
75
+ - !ruby/object:Gem::Dependency
76
+ name: rake
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ description: Client side MVC framework for Opal
90
+ email: adam@adambeynon.com
91
+ executables: []
92
+ extensions: []
93
+ extra_rdoc_files: []
94
+ files:
95
+ - ".gitignore"
96
+ - ".travis.yml"
97
+ - Gemfile
98
+ - README.md
99
+ - Rakefile
100
+ - config.ru
101
+ - lib/opal-vienna.rb
102
+ - lib/opal/vienna.rb
103
+ - lib/opal/vienna/version.rb
104
+ - opal-vienna.gemspec
105
+ - opal/vienna.rb
106
+ - opal/vienna/adapters/base.rb
107
+ - opal/vienna/adapters/local.rb
108
+ - opal/vienna/adapters/rest.rb
109
+ - opal/vienna/eventable.rb
110
+ - opal/vienna/history_router.rb
111
+ - opal/vienna/model.rb
112
+ - opal/vienna/observable.rb
113
+ - opal/vienna/observable_array.rb
114
+ - opal/vienna/output_buffer.rb
115
+ - opal/vienna/record_array.rb
116
+ - opal/vienna/router.rb
117
+ - opal/vienna/template_view.rb
118
+ - opal/vienna/view.rb
119
+ - spec/eventable_spec.rb
120
+ - spec/history_router_spec.rb
121
+ - spec/model/accessing_attributes_spec.rb
122
+ - spec/model/as_json_spec.rb
123
+ - spec/model/attribute_spec.rb
124
+ - spec/model/initialize_spec.rb
125
+ - spec/model/load_spec.rb
126
+ - spec/model/persistence_spec.rb
127
+ - spec/model_spec.rb
128
+ - spec/observable_array_spec.rb
129
+ - spec/observable_spec.rb
130
+ - spec/output_buffer_spec.rb
131
+ - spec/record_array_spec.rb
132
+ - spec/route_spec.rb
133
+ - spec/router_spec.rb
134
+ - spec/spec_helper.rb
135
+ - spec/template_view_spec.rb
136
+ - spec/vendor/jquery.js
137
+ - spec/view_spec.rb
138
+ homepage: http://opalrb.org
139
+ licenses:
140
+ - MIT
141
+ metadata: {}
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubyforge_project:
158
+ rubygems_version: 2.4.3
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: Client side MVC framework for Opal
162
+ test_files:
163
+ - spec/eventable_spec.rb
164
+ - spec/history_router_spec.rb
165
+ - spec/model/accessing_attributes_spec.rb
166
+ - spec/model/as_json_spec.rb
167
+ - spec/model/attribute_spec.rb
168
+ - spec/model/initialize_spec.rb
169
+ - spec/model/load_spec.rb
170
+ - spec/model/persistence_spec.rb
171
+ - spec/model_spec.rb
172
+ - spec/observable_array_spec.rb
173
+ - spec/observable_spec.rb
174
+ - spec/output_buffer_spec.rb
175
+ - spec/record_array_spec.rb
176
+ - spec/route_spec.rb
177
+ - spec/router_spec.rb
178
+ - spec/spec_helper.rb
179
+ - spec/template_view_spec.rb
180
+ - spec/vendor/jquery.js
181
+ - spec/view_spec.rb