page_parts 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +12 -4
- data/lib/page_parts/{active_record_extension.rb → extension.rb} +1 -2
- data/{app/models → lib/page_parts/models/active_record}/page_part.rb +1 -1
- data/lib/page_parts/models/mongoid/page_part.rb +20 -0
- data/lib/page_parts/orm/active_record.rb +2 -0
- data/lib/page_parts/orm/mongoid.rb +2 -0
- data/lib/page_parts/version.rb +1 -1
- data/lib/page_parts.rb +3 -1
- data/test/dummy/app/models/category.rb +1 -1
- data/test/dummy/app/models/post.rb +1 -1
- data/test/dummy/config/database.yml +1 -23
- data/test/dummy/config/initializers/page_parts.rb +2 -0
- data/test/dummy/db/page_parts_test.db +0 -0
- data/test/dummy/log/test.log +67 -836
- metadata +106 -59
- data/test/dummy/log/development.log +0 -0
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: page_parts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,59 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: orm_adapter
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
14
30
|
- !ruby/object:Gem::Dependency
|
15
31
|
name: activerecord
|
16
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
17
33
|
none: false
|
18
34
|
requirements:
|
19
35
|
- - ! '>='
|
20
36
|
- !ruby/object:Gem::Version
|
21
37
|
version: 3.0.0
|
22
|
-
type: :
|
38
|
+
type: :development
|
23
39
|
prerelease: false
|
24
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 3.0.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: mongoid
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
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: '0'
|
25
62
|
- !ruby/object:Gem::Dependency
|
26
63
|
name: sqlite3
|
27
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
28
65
|
none: false
|
29
66
|
requirements:
|
30
67
|
- - ! '>='
|
@@ -32,7 +69,12 @@ dependencies:
|
|
32
69
|
version: '0'
|
33
70
|
type: :development
|
34
71
|
prerelease: false
|
35
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
36
78
|
description: Aimbulance CMS
|
37
79
|
email:
|
38
80
|
- galeta.igor@gmail.com
|
@@ -40,59 +82,63 @@ executables: []
|
|
40
82
|
extensions: []
|
41
83
|
extra_rdoc_files: []
|
42
84
|
files:
|
43
|
-
- app/models/page_part.rb
|
44
85
|
- db/migrate/20111226144515_create_page_parts.rb
|
45
86
|
- lib/page_parts.rb
|
46
87
|
- lib/tasks/page_parts_tasks.rake
|
47
|
-
- lib/page_parts/
|
88
|
+
- lib/page_parts/extension.rb
|
48
89
|
- lib/page_parts/version.rb
|
49
|
-
- lib/page_parts/
|
90
|
+
- lib/page_parts/engine.rb
|
91
|
+
- lib/page_parts/orm/active_record.rb
|
92
|
+
- lib/page_parts/orm/mongoid.rb
|
93
|
+
- lib/page_parts/models/active_record/page_part.rb
|
94
|
+
- lib/page_parts/models/mongoid/page_part.rb
|
50
95
|
- MIT-LICENSE
|
51
96
|
- Rakefile
|
52
97
|
- README.rdoc
|
53
|
-
- test/
|
54
|
-
- test/
|
55
|
-
- test/
|
98
|
+
- test/test_helper.rb
|
99
|
+
- test/page_parts_test.rb
|
100
|
+
- test/dummy/config.ru
|
101
|
+
- test/dummy/Rakefile
|
102
|
+
- test/dummy/test/unit/post_test.rb
|
103
|
+
- test/dummy/test/unit/category_test.rb
|
104
|
+
- test/dummy/test/fixtures/categories.yml
|
105
|
+
- test/dummy/test/fixtures/posts.yml
|
56
106
|
- test/dummy/public/500.html
|
57
|
-
- test/dummy/public/404.html
|
58
107
|
- test/dummy/public/favicon.ico
|
108
|
+
- test/dummy/public/404.html
|
59
109
|
- test/dummy/public/422.html
|
60
110
|
- test/dummy/app/views/layouts/application.html.erb
|
61
|
-
- test/dummy/app/helpers/application_helper.rb
|
62
111
|
- test/dummy/app/models/category.rb
|
63
112
|
- test/dummy/app/models/post.rb
|
64
113
|
- test/dummy/app/assets/stylesheets/application.css
|
65
114
|
- test/dummy/app/assets/javascripts/application.js
|
115
|
+
- test/dummy/app/helpers/application_helper.rb
|
66
116
|
- test/dummy/app/controllers/application_controller.rb
|
67
117
|
- test/dummy/log/test.log
|
68
|
-
- test/dummy/
|
69
|
-
- test/dummy/Rakefile
|
70
|
-
- test/dummy/test/unit/category_test.rb
|
71
|
-
- test/dummy/test/unit/post_test.rb
|
72
|
-
- test/dummy/test/fixtures/categories.yml
|
73
|
-
- test/dummy/test/fixtures/posts.yml
|
74
|
-
- test/dummy/script/rails
|
118
|
+
- test/dummy/config/database.yml
|
75
119
|
- test/dummy/config/routes.rb
|
120
|
+
- test/dummy/config/application.rb
|
121
|
+
- test/dummy/config/locales/en.yml
|
122
|
+
- test/dummy/config/environment.rb
|
123
|
+
- test/dummy/config/boot.rb
|
76
124
|
- test/dummy/config/environments/production.rb
|
77
125
|
- test/dummy/config/environments/test.rb
|
78
126
|
- test/dummy/config/environments/development.rb
|
79
|
-
- test/dummy/config/
|
80
|
-
- test/dummy/config/
|
81
|
-
- test/dummy/config/database.yml
|
82
|
-
- test/dummy/config/initializers/session_store.rb
|
127
|
+
- test/dummy/config/initializers/secret_token.rb
|
128
|
+
- test/dummy/config/initializers/page_parts.rb
|
83
129
|
- test/dummy/config/initializers/inflections.rb
|
84
|
-
- test/dummy/config/initializers/mime_types.rb
|
85
130
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
86
|
-
- test/dummy/config/initializers/secret_token.rb
|
87
131
|
- test/dummy/config/initializers/wrap_parameters.rb
|
88
|
-
- test/dummy/config/
|
89
|
-
- test/dummy/config/
|
132
|
+
- test/dummy/config/initializers/session_store.rb
|
133
|
+
- test/dummy/config/initializers/mime_types.rb
|
134
|
+
- test/dummy/db/test.sqlite3
|
90
135
|
- test/dummy/db/migrate/20120124093705_create_posts.rb
|
91
136
|
- test/dummy/db/migrate/20111226131910_create_categories.rb
|
92
|
-
- test/dummy/db/
|
93
|
-
- test/dummy/
|
94
|
-
- test/
|
95
|
-
- test/
|
137
|
+
- test/dummy/db/page_parts_test.db
|
138
|
+
- test/dummy/script/rails
|
139
|
+
- test/models/post_test.rb
|
140
|
+
- test/models/page_part_test.rb
|
141
|
+
- test/models/category_test.rb
|
96
142
|
homepage: https://github.com/galetahub/page_parts
|
97
143
|
licenses: []
|
98
144
|
post_install_message:
|
@@ -113,51 +159,52 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
159
|
version: '0'
|
114
160
|
requirements: []
|
115
161
|
rubyforge_project:
|
116
|
-
rubygems_version: 1.8.
|
162
|
+
rubygems_version: 1.8.23
|
117
163
|
signing_key:
|
118
164
|
specification_version: 3
|
119
165
|
summary: Easy way to setup and use different page parts.
|
120
166
|
test_files:
|
121
|
-
- test/
|
122
|
-
- test/
|
123
|
-
- test/
|
167
|
+
- test/test_helper.rb
|
168
|
+
- test/page_parts_test.rb
|
169
|
+
- test/dummy/config.ru
|
170
|
+
- test/dummy/Rakefile
|
171
|
+
- test/dummy/test/unit/post_test.rb
|
172
|
+
- test/dummy/test/unit/category_test.rb
|
173
|
+
- test/dummy/test/fixtures/categories.yml
|
174
|
+
- test/dummy/test/fixtures/posts.yml
|
124
175
|
- test/dummy/public/500.html
|
125
|
-
- test/dummy/public/404.html
|
126
176
|
- test/dummy/public/favicon.ico
|
177
|
+
- test/dummy/public/404.html
|
127
178
|
- test/dummy/public/422.html
|
128
179
|
- test/dummy/app/views/layouts/application.html.erb
|
129
|
-
- test/dummy/app/helpers/application_helper.rb
|
130
180
|
- test/dummy/app/models/category.rb
|
131
181
|
- test/dummy/app/models/post.rb
|
132
182
|
- test/dummy/app/assets/stylesheets/application.css
|
133
183
|
- test/dummy/app/assets/javascripts/application.js
|
184
|
+
- test/dummy/app/helpers/application_helper.rb
|
134
185
|
- test/dummy/app/controllers/application_controller.rb
|
135
186
|
- test/dummy/log/test.log
|
136
|
-
- test/dummy/
|
137
|
-
- test/dummy/Rakefile
|
138
|
-
- test/dummy/test/unit/category_test.rb
|
139
|
-
- test/dummy/test/unit/post_test.rb
|
140
|
-
- test/dummy/test/fixtures/categories.yml
|
141
|
-
- test/dummy/test/fixtures/posts.yml
|
142
|
-
- test/dummy/script/rails
|
187
|
+
- test/dummy/config/database.yml
|
143
188
|
- test/dummy/config/routes.rb
|
189
|
+
- test/dummy/config/application.rb
|
190
|
+
- test/dummy/config/locales/en.yml
|
191
|
+
- test/dummy/config/environment.rb
|
192
|
+
- test/dummy/config/boot.rb
|
144
193
|
- test/dummy/config/environments/production.rb
|
145
194
|
- test/dummy/config/environments/test.rb
|
146
195
|
- test/dummy/config/environments/development.rb
|
147
|
-
- test/dummy/config/
|
148
|
-
- test/dummy/config/
|
149
|
-
- test/dummy/config/database.yml
|
150
|
-
- test/dummy/config/initializers/session_store.rb
|
196
|
+
- test/dummy/config/initializers/secret_token.rb
|
197
|
+
- test/dummy/config/initializers/page_parts.rb
|
151
198
|
- test/dummy/config/initializers/inflections.rb
|
152
|
-
- test/dummy/config/initializers/mime_types.rb
|
153
199
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
154
|
-
- test/dummy/config/initializers/secret_token.rb
|
155
200
|
- test/dummy/config/initializers/wrap_parameters.rb
|
156
|
-
- test/dummy/config/
|
157
|
-
- test/dummy/config/
|
201
|
+
- test/dummy/config/initializers/session_store.rb
|
202
|
+
- test/dummy/config/initializers/mime_types.rb
|
203
|
+
- test/dummy/db/test.sqlite3
|
158
204
|
- test/dummy/db/migrate/20120124093705_create_posts.rb
|
159
205
|
- test/dummy/db/migrate/20111226131910_create_categories.rb
|
160
|
-
- test/dummy/db/
|
161
|
-
- test/dummy/
|
162
|
-
- test/
|
163
|
-
- test/
|
206
|
+
- test/dummy/db/page_parts_test.db
|
207
|
+
- test/dummy/script/rails
|
208
|
+
- test/models/post_test.rb
|
209
|
+
- test/models/page_part_test.rb
|
210
|
+
- test/models/category_test.rb
|
File without changes
|