apotomo 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/apotomo.rb +7 -3
  2. data/lib/apotomo/version.rb +1 -1
  3. metadata +95 -95
data/lib/apotomo.rb CHANGED
@@ -44,13 +44,17 @@ module Apotomo
44
44
  end
45
45
  end
46
46
 
47
- class Engine < Rails::Engine
48
- end
49
-
47
+ # Piotr Sarnacki: Railtie :P
50
48
  class Railtie < Rails::Railtie
51
49
  rake_tasks do
52
50
  load "tasks.rake"
53
51
  end
52
+
53
+ # As we are a Railtie only, the routes won't be loaded automatically. Beside that, we want our
54
+ # route to be the very first (otherwise #resources might supersede it).
55
+ initializer :prepend_apotomo_routes, :after => :add_routing_paths do |app|
56
+ app.routes_reloader.paths.unshift(File.dirname(__FILE__) + "/../config/routes.rb")
57
+ end
54
58
  end
55
59
  end
56
60
 
@@ -1,3 +1,3 @@
1
1
  module Apotomo
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nick Sutterer
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-17 00:00:00 +01:00
17
+ date: 2010-11-21 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -119,71 +119,71 @@ files:
119
119
  - lib/generators/apotomo/templates/widget_test.rb
120
120
  - lib/generators/apotomo/widget_generator.rb
121
121
  - lib/tasks.rake
122
- - test/fixtures/mouse/make_me_squeak.html.erb
123
- - test/fixtures/mouse/content.html.erb
124
- - test/fixtures/mouse/educate.html.erb
125
122
  - test/fixtures/mouse/feed.html.erb
126
- - test/fixtures/mouse/snuggle.html.erb
127
123
  - test/fixtures/mouse/eating.html.erb
124
+ - test/fixtures/mouse/make_me_squeak.html.erb
128
125
  - test/fixtures/mouse/posing.html.erb
126
+ - test/fixtures/mouse/educate.html.erb
127
+ - test/fixtures/mouse/snuggle.html.erb
128
+ - test/fixtures/mouse/content.html.erb
129
129
  - test/fixtures/application_widget_tree.rb
130
+ - test/rails/view_methods_test.rb
131
+ - test/rails/controller_methods_test.rb
132
+ - test/rails/view_helper_test.rb
133
+ - test/rails/widget_generator_test.rb
134
+ - test/rails/rails_integration_test.rb
130
135
  - test/test_helper.rb
131
- - test/dummy/Rakefile
132
- - test/dummy/app/controllers/application_controller.rb
133
- - test/dummy/app/helpers/application_helper.rb
134
- - test/dummy/app/views/layouts/application.html.erb
135
- - test/dummy/public/404.html
136
- - test/dummy/public/javascripts/prototype.js
137
- - test/dummy/public/javascripts/controls.js
138
- - test/dummy/public/javascripts/effects.js
139
- - test/dummy/public/javascripts/dragdrop.js
140
- - test/dummy/public/javascripts/application.js
141
- - test/dummy/public/javascripts/rails.js
142
- - test/dummy/public/422.html
143
- - test/dummy/public/favicon.ico
144
- - test/dummy/public/500.html
145
- - test/dummy/config.ru
146
- - test/dummy/config/environments/test.rb
147
- - test/dummy/config/environments/production.rb
148
- - test/dummy/config/environments/development.rb
149
- - test/dummy/config/database.yml
150
- - test/dummy/config/boot.rb
151
- - test/dummy/config/locales/en.yml
152
- - test/dummy/config/environment.rb
153
- - test/dummy/config/initializers/secret_token.rb
154
- - test/dummy/config/initializers/backtrace_silencers.rb
136
+ - test/support/test_case_methods.rb
137
+ - test/dummy/config/application.rb
155
138
  - test/dummy/config/initializers/session_store.rb
156
139
  - test/dummy/config/initializers/mime_types.rb
140
+ - test/dummy/config/initializers/secret_token.rb
157
141
  - test/dummy/config/initializers/inflections.rb
158
- - test/dummy/config/application.rb
142
+ - test/dummy/config/initializers/backtrace_silencers.rb
143
+ - test/dummy/config/locales/en.yml
159
144
  - test/dummy/config/routes.rb
160
- - test/dummy/db/test.sqlite3
145
+ - test/dummy/config/boot.rb
146
+ - test/dummy/config/environment.rb
147
+ - test/dummy/config/environments/production.rb
148
+ - test/dummy/config/environments/test.rb
149
+ - test/dummy/config/environments/development.rb
150
+ - test/dummy/config/database.yml
161
151
  - test/dummy/script/rails
162
- - test/support/test_case_methods.rb
163
- - test/rails/rails_integration_test.rb
164
- - test/rails/view_methods_test.rb
165
- - test/rails/controller_methods_test.rb
166
- - test/rails/view_helper_test.rb
167
- - test/rails/widget_generator_test.rb
168
- - test/unit/onfire_integration_test.rb
152
+ - test/dummy/config.ru
153
+ - test/dummy/db/test.sqlite3
154
+ - test/dummy/Rakefile
155
+ - test/dummy/public/422.html
156
+ - test/dummy/public/favicon.ico
157
+ - test/dummy/public/500.html
158
+ - test/dummy/public/404.html
159
+ - test/dummy/public/javascripts/controls.js
160
+ - test/dummy/public/javascripts/application.js
161
+ - test/dummy/public/javascripts/rails.js
162
+ - test/dummy/public/javascripts/dragdrop.js
163
+ - test/dummy/public/javascripts/prototype.js
164
+ - test/dummy/public/javascripts/effects.js
165
+ - test/dummy/app/controllers/application_controller.rb
166
+ - test/dummy/app/views/layouts/application.html.erb
167
+ - test/dummy/app/helpers/application_helper.rb
168
+ - test/unit/event_handler_test.rb
169
+ - test/unit/widget_shortcuts_test.rb
170
+ - test/unit/stateful_widget_test.rb
171
+ - test/unit/test_addressing.rb
169
172
  - test/unit/invoke_test.rb
170
- - test/unit/request_processor_test.rb
173
+ - test/unit/container_test.rb
174
+ - test/unit/test_tab_panel.rb
175
+ - test/unit/test_jump_to_state.rb
171
176
  - test/unit/render_test.rb
172
177
  - test/unit/test_case_test.rb
173
178
  - test/unit/apotomo_test.rb
179
+ - test/unit/request_processor_test.rb
174
180
  - test/unit/javascript_generator_test.rb
175
- - test/unit/stateful_widget_test.rb
176
- - test/unit/event_methods_test.rb
181
+ - test/unit/onfire_integration_test.rb
177
182
  - test/unit/persistence_test.rb
178
- - test/unit/event_handler_test.rb
179
183
  - test/unit/transition_test.rb
180
184
  - test/unit/event_test.rb
185
+ - test/unit/event_methods_test.rb
181
186
  - test/unit/widget_test.rb
182
- - test/unit/widget_shortcuts_test.rb
183
- - test/unit/test_tab_panel.rb
184
- - test/unit/test_addressing.rb
185
- - test/unit/container_test.rb
186
- - test/unit/test_jump_to_state.rb
187
187
  has_rdoc: true
188
188
  homepage: http://apotomo.de
189
189
  licenses: []
@@ -217,68 +217,68 @@ signing_key:
217
217
  specification_version: 3
218
218
  summary: Web components for Rails.
219
219
  test_files:
220
- - test/fixtures/mouse/make_me_squeak.html.erb
221
- - test/fixtures/mouse/content.html.erb
222
- - test/fixtures/mouse/educate.html.erb
223
220
  - test/fixtures/mouse/feed.html.erb
224
- - test/fixtures/mouse/snuggle.html.erb
225
221
  - test/fixtures/mouse/eating.html.erb
222
+ - test/fixtures/mouse/make_me_squeak.html.erb
226
223
  - test/fixtures/mouse/posing.html.erb
224
+ - test/fixtures/mouse/educate.html.erb
225
+ - test/fixtures/mouse/snuggle.html.erb
226
+ - test/fixtures/mouse/content.html.erb
227
227
  - test/fixtures/application_widget_tree.rb
228
+ - test/rails/view_methods_test.rb
229
+ - test/rails/controller_methods_test.rb
230
+ - test/rails/view_helper_test.rb
231
+ - test/rails/widget_generator_test.rb
232
+ - test/rails/rails_integration_test.rb
228
233
  - test/test_helper.rb
229
- - test/dummy/Rakefile
230
- - test/dummy/app/controllers/application_controller.rb
231
- - test/dummy/app/helpers/application_helper.rb
232
- - test/dummy/app/views/layouts/application.html.erb
233
- - test/dummy/public/404.html
234
- - test/dummy/public/javascripts/prototype.js
235
- - test/dummy/public/javascripts/controls.js
236
- - test/dummy/public/javascripts/effects.js
237
- - test/dummy/public/javascripts/dragdrop.js
238
- - test/dummy/public/javascripts/application.js
239
- - test/dummy/public/javascripts/rails.js
240
- - test/dummy/public/422.html
241
- - test/dummy/public/favicon.ico
242
- - test/dummy/public/500.html
243
- - test/dummy/config.ru
244
- - test/dummy/config/environments/test.rb
245
- - test/dummy/config/environments/production.rb
246
- - test/dummy/config/environments/development.rb
247
- - test/dummy/config/database.yml
248
- - test/dummy/config/boot.rb
249
- - test/dummy/config/locales/en.yml
250
- - test/dummy/config/environment.rb
251
- - test/dummy/config/initializers/secret_token.rb
252
- - test/dummy/config/initializers/backtrace_silencers.rb
234
+ - test/support/test_case_methods.rb
235
+ - test/dummy/config/application.rb
253
236
  - test/dummy/config/initializers/session_store.rb
254
237
  - test/dummy/config/initializers/mime_types.rb
238
+ - test/dummy/config/initializers/secret_token.rb
255
239
  - test/dummy/config/initializers/inflections.rb
256
- - test/dummy/config/application.rb
240
+ - test/dummy/config/initializers/backtrace_silencers.rb
241
+ - test/dummy/config/locales/en.yml
257
242
  - test/dummy/config/routes.rb
258
- - test/dummy/db/test.sqlite3
243
+ - test/dummy/config/boot.rb
244
+ - test/dummy/config/environment.rb
245
+ - test/dummy/config/environments/production.rb
246
+ - test/dummy/config/environments/test.rb
247
+ - test/dummy/config/environments/development.rb
248
+ - test/dummy/config/database.yml
259
249
  - test/dummy/script/rails
260
- - test/support/test_case_methods.rb
261
- - test/rails/rails_integration_test.rb
262
- - test/rails/view_methods_test.rb
263
- - test/rails/controller_methods_test.rb
264
- - test/rails/view_helper_test.rb
265
- - test/rails/widget_generator_test.rb
266
- - test/unit/onfire_integration_test.rb
250
+ - test/dummy/config.ru
251
+ - test/dummy/db/test.sqlite3
252
+ - test/dummy/Rakefile
253
+ - test/dummy/public/422.html
254
+ - test/dummy/public/favicon.ico
255
+ - test/dummy/public/500.html
256
+ - test/dummy/public/404.html
257
+ - test/dummy/public/javascripts/controls.js
258
+ - test/dummy/public/javascripts/application.js
259
+ - test/dummy/public/javascripts/rails.js
260
+ - test/dummy/public/javascripts/dragdrop.js
261
+ - test/dummy/public/javascripts/prototype.js
262
+ - test/dummy/public/javascripts/effects.js
263
+ - test/dummy/app/controllers/application_controller.rb
264
+ - test/dummy/app/views/layouts/application.html.erb
265
+ - test/dummy/app/helpers/application_helper.rb
266
+ - test/unit/event_handler_test.rb
267
+ - test/unit/widget_shortcuts_test.rb
268
+ - test/unit/stateful_widget_test.rb
269
+ - test/unit/test_addressing.rb
267
270
  - test/unit/invoke_test.rb
268
- - test/unit/request_processor_test.rb
271
+ - test/unit/container_test.rb
272
+ - test/unit/test_tab_panel.rb
273
+ - test/unit/test_jump_to_state.rb
269
274
  - test/unit/render_test.rb
270
275
  - test/unit/test_case_test.rb
271
276
  - test/unit/apotomo_test.rb
277
+ - test/unit/request_processor_test.rb
272
278
  - test/unit/javascript_generator_test.rb
273
- - test/unit/stateful_widget_test.rb
274
- - test/unit/event_methods_test.rb
279
+ - test/unit/onfire_integration_test.rb
275
280
  - test/unit/persistence_test.rb
276
- - test/unit/event_handler_test.rb
277
281
  - test/unit/transition_test.rb
278
282
  - test/unit/event_test.rb
283
+ - test/unit/event_methods_test.rb
279
284
  - test/unit/widget_test.rb
280
- - test/unit/widget_shortcuts_test.rb
281
- - test/unit/test_tab_panel.rb
282
- - test/unit/test_addressing.rb
283
- - test/unit/container_test.rb
284
- - test/unit/test_jump_to_state.rb