administer 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/README.rdoc +7 -0
  2. data/app/controllers/administer/models_controller.rb +11 -0
  3. data/app/helpers/administer/dashboard_helper.rb +5 -0
  4. data/app/views/administer/dashboard/index.html.haml +5 -0
  5. data/app/views/administer/models/index.html.haml +0 -0
  6. data/config/routes.rb +6 -1
  7. data/lib/administer/engine.rb +0 -2
  8. data/lib/administer/model.rb +22 -0
  9. data/lib/administer.rb +2 -3
  10. data/spec/rails_root/app/controllers/application_controller.rb +3 -0
  11. data/spec/rails_root/app/controllers/posts_controller.rb +83 -0
  12. data/spec/rails_root/app/helpers/application_helper.rb +2 -0
  13. data/spec/rails_root/app/helpers/posts_helper.rb +2 -0
  14. data/spec/rails_root/app/models/post.rb +2 -0
  15. data/spec/rails_root/autotest/discover.rb +2 -0
  16. data/spec/rails_root/config/application.rb +48 -0
  17. data/spec/rails_root/config/boot.rb +13 -0
  18. data/spec/rails_root/config/environment.rb +5 -0
  19. data/spec/rails_root/config/environments/development.rb +26 -0
  20. data/spec/rails_root/config/environments/production.rb +49 -0
  21. data/spec/rails_root/config/environments/test.rb +35 -0
  22. data/spec/rails_root/config/initializers/backtrace_silencers.rb +7 -0
  23. data/spec/rails_root/config/initializers/inflections.rb +10 -0
  24. data/spec/rails_root/config/initializers/mime_types.rb +5 -0
  25. data/spec/rails_root/config/initializers/secret_token.rb +7 -0
  26. data/spec/rails_root/config/initializers/session_store.rb +8 -0
  27. data/spec/rails_root/config/routes.rb +62 -0
  28. data/spec/rails_root/db/migrate/20101113123123_create_posts.rb +14 -0
  29. data/spec/rails_root/db/seeds.rb +7 -0
  30. data/spec/rails_root/features/step_definitions/post_steps.rb +10 -0
  31. data/spec/rails_root/features/step_definitions/web_steps.rb +230 -0
  32. data/spec/rails_root/features/support/env.rb +64 -0
  33. data/spec/rails_root/features/support/paths.rb +37 -0
  34. data/spec/rails_root/spec/controllers/administer/models_controller_spec.rb +13 -0
  35. data/spec/rails_root/spec/controllers/posts_controller_spec.rb +121 -0
  36. data/spec/rails_root/spec/factories/posts.rb +4 -0
  37. data/spec/rails_root/spec/models/administer/model_spec.rb +15 -0
  38. data/spec/rails_root/spec/routing/posts_routing_spec.rb +35 -0
  39. data/spec/rails_root/spec/spec_helper.rb +27 -0
  40. data/spec/rails_root/spec/views/posts/edit.html.haml_spec.rb +21 -0
  41. data/spec/rails_root/spec/views/posts/new.html.haml_spec.rb +20 -0
  42. data/spec/rails_root/spec/views/posts/show.html.haml_spec.rb +18 -0
  43. data/spec/rails_root/test/integration/post_test.rb +10 -0
  44. data/spec/rails_root/test/performance/browsing_test.rb +9 -0
  45. data/spec/rails_root/test/test_helper.rb +13 -0
  46. metadata +81 -6
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Piotr Jakubowski
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-29 00:00:00 +01:00
19
+ date: 2010-12-06 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies: []
22
22
 
@@ -32,11 +32,51 @@ extra_rdoc_files:
32
32
  - README.rdoc
33
33
  files:
34
34
  - app/controllers/administer/dashboard_controller.rb
35
+ - app/controllers/administer/models_controller.rb
36
+ - app/helpers/administer/dashboard_helper.rb
35
37
  - app/views/administer/dashboard/index.html.haml
38
+ - app/views/administer/models/index.html.haml
36
39
  - config/routes.rb
37
40
  - lib/administer.rb
38
41
  - lib/administer/engine.rb
42
+ - lib/administer/model.rb
39
43
  - README.rdoc
44
+ - spec/rails_root/app/controllers/application_controller.rb
45
+ - spec/rails_root/app/controllers/posts_controller.rb
46
+ - spec/rails_root/app/helpers/application_helper.rb
47
+ - spec/rails_root/app/helpers/posts_helper.rb
48
+ - spec/rails_root/app/models/post.rb
49
+ - spec/rails_root/autotest/discover.rb
50
+ - spec/rails_root/config/application.rb
51
+ - spec/rails_root/config/boot.rb
52
+ - spec/rails_root/config/environment.rb
53
+ - spec/rails_root/config/environments/development.rb
54
+ - spec/rails_root/config/environments/production.rb
55
+ - spec/rails_root/config/environments/test.rb
56
+ - spec/rails_root/config/initializers/backtrace_silencers.rb
57
+ - spec/rails_root/config/initializers/inflections.rb
58
+ - spec/rails_root/config/initializers/mime_types.rb
59
+ - spec/rails_root/config/initializers/secret_token.rb
60
+ - spec/rails_root/config/initializers/session_store.rb
61
+ - spec/rails_root/config/routes.rb
62
+ - spec/rails_root/db/migrate/20101113123123_create_posts.rb
63
+ - spec/rails_root/db/seeds.rb
64
+ - spec/rails_root/features/step_definitions/post_steps.rb
65
+ - spec/rails_root/features/step_definitions/web_steps.rb
66
+ - spec/rails_root/features/support/env.rb
67
+ - spec/rails_root/features/support/paths.rb
68
+ - spec/rails_root/spec/controllers/administer/models_controller_spec.rb
69
+ - spec/rails_root/spec/controllers/posts_controller_spec.rb
70
+ - spec/rails_root/spec/factories/posts.rb
71
+ - spec/rails_root/spec/models/administer/model_spec.rb
72
+ - spec/rails_root/spec/routing/posts_routing_spec.rb
73
+ - spec/rails_root/spec/spec_helper.rb
74
+ - spec/rails_root/spec/views/posts/edit.html.haml_spec.rb
75
+ - spec/rails_root/spec/views/posts/new.html.haml_spec.rb
76
+ - spec/rails_root/spec/views/posts/show.html.haml_spec.rb
77
+ - spec/rails_root/test/integration/post_test.rb
78
+ - spec/rails_root/test/performance/browsing_test.rb
79
+ - spec/rails_root/test/test_helper.rb
40
80
  has_rdoc: true
41
81
  homepage: http://github.com/piotrj/administer
42
82
  licenses: []
@@ -71,5 +111,40 @@ rubygems_version: 1.3.7
71
111
  signing_key:
72
112
  specification_version: 3
73
113
  summary: Automatic admin interface generation
74
- test_files: []
75
-
114
+ test_files:
115
+ - spec/rails_root/app/controllers/application_controller.rb
116
+ - spec/rails_root/app/controllers/posts_controller.rb
117
+ - spec/rails_root/app/helpers/application_helper.rb
118
+ - spec/rails_root/app/helpers/posts_helper.rb
119
+ - spec/rails_root/app/models/post.rb
120
+ - spec/rails_root/autotest/discover.rb
121
+ - spec/rails_root/config/application.rb
122
+ - spec/rails_root/config/boot.rb
123
+ - spec/rails_root/config/environment.rb
124
+ - spec/rails_root/config/environments/development.rb
125
+ - spec/rails_root/config/environments/production.rb
126
+ - spec/rails_root/config/environments/test.rb
127
+ - spec/rails_root/config/initializers/backtrace_silencers.rb
128
+ - spec/rails_root/config/initializers/inflections.rb
129
+ - spec/rails_root/config/initializers/mime_types.rb
130
+ - spec/rails_root/config/initializers/secret_token.rb
131
+ - spec/rails_root/config/initializers/session_store.rb
132
+ - spec/rails_root/config/routes.rb
133
+ - spec/rails_root/db/migrate/20101113123123_create_posts.rb
134
+ - spec/rails_root/db/seeds.rb
135
+ - spec/rails_root/features/step_definitions/post_steps.rb
136
+ - spec/rails_root/features/step_definitions/web_steps.rb
137
+ - spec/rails_root/features/support/env.rb
138
+ - spec/rails_root/features/support/paths.rb
139
+ - spec/rails_root/spec/controllers/administer/models_controller_spec.rb
140
+ - spec/rails_root/spec/controllers/posts_controller_spec.rb
141
+ - spec/rails_root/spec/factories/posts.rb
142
+ - spec/rails_root/spec/models/administer/model_spec.rb
143
+ - spec/rails_root/spec/routing/posts_routing_spec.rb
144
+ - spec/rails_root/spec/spec_helper.rb
145
+ - spec/rails_root/spec/views/posts/edit.html.haml_spec.rb
146
+ - spec/rails_root/spec/views/posts/new.html.haml_spec.rb
147
+ - spec/rails_root/spec/views/posts/show.html.haml_spec.rb
148
+ - spec/rails_root/test/integration/post_test.rb
149
+ - spec/rails_root/test/performance/browsing_test.rb
150
+ - spec/rails_root/test/test_helper.rb