active-component 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +32 -0
  4. data/lib/active_component/base.rb +55 -0
  5. data/lib/active_component/context.rb +39 -0
  6. data/lib/active_component/railtie.rb +13 -0
  7. data/lib/active_component/renderable.rb +20 -0
  8. data/lib/active_component/version.rb +3 -0
  9. data/lib/active_component.rb +7 -0
  10. data/lib/generators/component_generator.rb +11 -0
  11. data/lib/generators/templates/application_component.rb +5 -0
  12. data/lib/generators/templates/component.rb +6 -0
  13. data/lib/tasks/active_component_tasks.rake +4 -0
  14. data/test/active_component/base_test.rb +30 -0
  15. data/test/active_component/context_test.rb +10 -0
  16. data/test/active_component/railtie_test.rb +9 -0
  17. data/test/active_component/renderable_test.rb +9 -0
  18. data/test/active_component_test.rb +9 -0
  19. data/test/dummy/README.rdoc +28 -0
  20. data/test/dummy/Rakefile +6 -0
  21. data/test/dummy/app/assets/javascripts/application.js +13 -0
  22. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  23. data/test/dummy/app/components/application_component.rb +5 -0
  24. data/test/dummy/app/components/dummy_component.rb +6 -0
  25. data/test/dummy/app/components/message_component.rb +10 -0
  26. data/test/dummy/app/controllers/application_controller.rb +5 -0
  27. data/test/dummy/app/helpers/application_helper.rb +2 -0
  28. data/test/dummy/app/templates/dummy_component.mustache +0 -0
  29. data/test/dummy/app/templates/message_component.mustache +1 -0
  30. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  31. data/test/dummy/bin/bundle +3 -0
  32. data/test/dummy/bin/rails +4 -0
  33. data/test/dummy/bin/rake +4 -0
  34. data/test/dummy/config/application.rb +23 -0
  35. data/test/dummy/config/boot.rb +5 -0
  36. data/test/dummy/config/database.yml +25 -0
  37. data/test/dummy/config/environment.rb +5 -0
  38. data/test/dummy/config/environments/development.rb +29 -0
  39. data/test/dummy/config/environments/production.rb +80 -0
  40. data/test/dummy/config/environments/test.rb +36 -0
  41. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  42. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  43. data/test/dummy/config/initializers/inflections.rb +16 -0
  44. data/test/dummy/config/initializers/mime_types.rb +5 -0
  45. data/test/dummy/config/initializers/secret_token.rb +12 -0
  46. data/test/dummy/config/initializers/session_store.rb +3 -0
  47. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  48. data/test/dummy/config/locales/en.yml +23 -0
  49. data/test/dummy/config/routes.rb +3 -0
  50. data/test/dummy/config.ru +4 -0
  51. data/test/dummy/db/development.sqlite3 +0 -0
  52. data/test/dummy/db/test.sqlite3 +0 -0
  53. data/test/dummy/log/development.log +726 -0
  54. data/test/dummy/log/test.log +360 -0
  55. data/test/dummy/public/404.html +58 -0
  56. data/test/dummy/public/422.html +58 -0
  57. data/test/dummy/public/500.html +57 -0
  58. data/test/dummy/public/favicon.ico +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/1c9faaf28d05409b88ad3113374d613c +0 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/2822de3b22c28bd5e718c9bf500457b2 +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/40fc2f3d2a468a00e463f1d313cb1683 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4 +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/edbef6e0d0a4742346cf479f2c522eb0 +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  71. data/test/generators/component_generator_test.rb +0 -0
  72. data/test/support/foo.rb +3 -0
  73. data/test/support/foo_controller.rb +4 -0
  74. data/test/test_helper.rb +17 -0
  75. metadata +251 -0
metadata ADDED
@@ -0,0 +1,251 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: active-component
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Antonio Chavez
8
+ - Jesus Romero
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-10-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ~>
19
+ - !ruby/object:Gem::Version
20
+ version: 4.0.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ version: 4.0.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: mustache
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '>='
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: sqlite3
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '>='
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: faker
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: pry
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ description: Description of ActiveComponent.
85
+ email:
86
+ - cavjzz@gmail.com
87
+ - elherzt@gmail.com
88
+ executables: []
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - lib/active_component/base.rb
93
+ - lib/active_component/context.rb
94
+ - lib/active_component/railtie.rb
95
+ - lib/active_component/renderable.rb
96
+ - lib/active_component/version.rb
97
+ - lib/active_component.rb
98
+ - lib/generators/component_generator.rb
99
+ - lib/generators/templates/application_component.rb
100
+ - lib/generators/templates/component.rb
101
+ - lib/tasks/active_component_tasks.rake
102
+ - MIT-LICENSE
103
+ - Rakefile
104
+ - test/active_component/base_test.rb
105
+ - test/active_component/context_test.rb
106
+ - test/active_component/railtie_test.rb
107
+ - test/active_component/renderable_test.rb
108
+ - test/active_component_test.rb
109
+ - test/dummy/app/assets/javascripts/application.js
110
+ - test/dummy/app/assets/stylesheets/application.css
111
+ - test/dummy/app/components/application_component.rb
112
+ - test/dummy/app/components/dummy_component.rb
113
+ - test/dummy/app/components/message_component.rb
114
+ - test/dummy/app/controllers/application_controller.rb
115
+ - test/dummy/app/helpers/application_helper.rb
116
+ - test/dummy/app/templates/dummy_component.mustache
117
+ - test/dummy/app/templates/message_component.mustache
118
+ - test/dummy/app/views/layouts/application.html.erb
119
+ - test/dummy/bin/bundle
120
+ - test/dummy/bin/rails
121
+ - test/dummy/bin/rake
122
+ - test/dummy/config/application.rb
123
+ - test/dummy/config/boot.rb
124
+ - test/dummy/config/database.yml
125
+ - test/dummy/config/environment.rb
126
+ - test/dummy/config/environments/development.rb
127
+ - test/dummy/config/environments/production.rb
128
+ - test/dummy/config/environments/test.rb
129
+ - test/dummy/config/initializers/backtrace_silencers.rb
130
+ - test/dummy/config/initializers/filter_parameter_logging.rb
131
+ - test/dummy/config/initializers/inflections.rb
132
+ - test/dummy/config/initializers/mime_types.rb
133
+ - test/dummy/config/initializers/secret_token.rb
134
+ - test/dummy/config/initializers/session_store.rb
135
+ - test/dummy/config/initializers/wrap_parameters.rb
136
+ - test/dummy/config/locales/en.yml
137
+ - test/dummy/config/routes.rb
138
+ - test/dummy/config.ru
139
+ - test/dummy/db/development.sqlite3
140
+ - test/dummy/db/test.sqlite3
141
+ - test/dummy/log/development.log
142
+ - test/dummy/log/test.log
143
+ - test/dummy/public/404.html
144
+ - test/dummy/public/422.html
145
+ - test/dummy/public/500.html
146
+ - test/dummy/public/favicon.ico
147
+ - test/dummy/Rakefile
148
+ - test/dummy/README.rdoc
149
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
150
+ - test/dummy/tmp/cache/assets/development/sprockets/1c9faaf28d05409b88ad3113374d613c
151
+ - test/dummy/tmp/cache/assets/development/sprockets/2822de3b22c28bd5e718c9bf500457b2
152
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
153
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
154
+ - test/dummy/tmp/cache/assets/development/sprockets/40fc2f3d2a468a00e463f1d313cb1683
155
+ - test/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4
156
+ - test/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e
157
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
158
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
159
+ - test/dummy/tmp/cache/assets/development/sprockets/edbef6e0d0a4742346cf479f2c522eb0
160
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
161
+ - test/generators/component_generator_test.rb
162
+ - test/support/foo.rb
163
+ - test/support/foo_controller.rb
164
+ - test/test_helper.rb
165
+ homepage: http://rubygems.org/gems/active-component
166
+ licenses:
167
+ - MIT
168
+ metadata: {}
169
+ post_install_message:
170
+ rdoc_options: []
171
+ require_paths:
172
+ - lib
173
+ required_ruby_version: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - '>='
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ required_rubygems_version: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - '>='
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ requirements: []
184
+ rubyforge_project:
185
+ rubygems_version: 2.0.3
186
+ signing_key:
187
+ specification_version: 4
188
+ summary: View component gem for Rails applications
189
+ test_files:
190
+ - test/active_component/base_test.rb
191
+ - test/active_component/context_test.rb
192
+ - test/active_component/railtie_test.rb
193
+ - test/active_component/renderable_test.rb
194
+ - test/active_component_test.rb
195
+ - test/dummy/app/assets/javascripts/application.js
196
+ - test/dummy/app/assets/stylesheets/application.css
197
+ - test/dummy/app/components/application_component.rb
198
+ - test/dummy/app/components/dummy_component.rb
199
+ - test/dummy/app/components/message_component.rb
200
+ - test/dummy/app/controllers/application_controller.rb
201
+ - test/dummy/app/helpers/application_helper.rb
202
+ - test/dummy/app/templates/dummy_component.mustache
203
+ - test/dummy/app/templates/message_component.mustache
204
+ - test/dummy/app/views/layouts/application.html.erb
205
+ - test/dummy/bin/bundle
206
+ - test/dummy/bin/rails
207
+ - test/dummy/bin/rake
208
+ - test/dummy/config/application.rb
209
+ - test/dummy/config/boot.rb
210
+ - test/dummy/config/database.yml
211
+ - test/dummy/config/environment.rb
212
+ - test/dummy/config/environments/development.rb
213
+ - test/dummy/config/environments/production.rb
214
+ - test/dummy/config/environments/test.rb
215
+ - test/dummy/config/initializers/backtrace_silencers.rb
216
+ - test/dummy/config/initializers/filter_parameter_logging.rb
217
+ - test/dummy/config/initializers/inflections.rb
218
+ - test/dummy/config/initializers/mime_types.rb
219
+ - test/dummy/config/initializers/secret_token.rb
220
+ - test/dummy/config/initializers/session_store.rb
221
+ - test/dummy/config/initializers/wrap_parameters.rb
222
+ - test/dummy/config/locales/en.yml
223
+ - test/dummy/config/routes.rb
224
+ - test/dummy/config.ru
225
+ - test/dummy/db/development.sqlite3
226
+ - test/dummy/db/test.sqlite3
227
+ - test/dummy/log/development.log
228
+ - test/dummy/log/test.log
229
+ - test/dummy/public/404.html
230
+ - test/dummy/public/422.html
231
+ - test/dummy/public/500.html
232
+ - test/dummy/public/favicon.ico
233
+ - test/dummy/Rakefile
234
+ - test/dummy/README.rdoc
235
+ - test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
236
+ - test/dummy/tmp/cache/assets/development/sprockets/1c9faaf28d05409b88ad3113374d613c
237
+ - test/dummy/tmp/cache/assets/development/sprockets/2822de3b22c28bd5e718c9bf500457b2
238
+ - test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
239
+ - test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
240
+ - test/dummy/tmp/cache/assets/development/sprockets/40fc2f3d2a468a00e463f1d313cb1683
241
+ - test/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4
242
+ - test/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e
243
+ - test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
244
+ - test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
245
+ - test/dummy/tmp/cache/assets/development/sprockets/edbef6e0d0a4742346cf479f2c522eb0
246
+ - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
247
+ - test/generators/component_generator_test.rb
248
+ - test/support/foo.rb
249
+ - test/support/foo_controller.rb
250
+ - test/test_helper.rb
251
+ has_rdoc: