acts_as_citable 3.0.0.pre.alpha → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/acts_as_citable/base.rb +16 -13
- data/lib/acts_as_citable/version.rb +1 -1
- data/test/acts_as_citable_test.rb +1 -75
- data/test/dummy/README.rdoc +15 -248
- data/test/dummy/Rakefile +1 -2
- data/test/dummy/app/assets/javascripts/application.js +3 -5
- data/test/dummy/app/assets/stylesheets/application.css +5 -3
- data/test/dummy/app/controllers/application_controller.rb +3 -1
- data/test/dummy/app/controllers/test_controller.rb +1 -1
- data/test/dummy/app/models/inherited_record.rb +2 -2
- data/test/dummy/app/models/record.rb +1 -1
- data/test/dummy/app/models/record_changed_field.rb +1 -1
- data/test/dummy/app/views/layouts/application.html.erb +2 -2
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +1 -1
- data/test/dummy/config/application.rb +1 -37
- data/test/dummy/config/boot.rb +4 -9
- data/test/dummy/config/database.yml +6 -3
- data/test/dummy/config/environment.rb +3 -3
- data/test/dummy/config/environments/development.rb +19 -19
- data/test/dummy/config/environments/production.rb +41 -30
- data/test/dummy/config/environments/test.rb +17 -15
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +6 -5
- data/test/dummy/config/initializers/mime_types.rb +0 -1
- data/test/dummy/config/initializers/session_store.rb +1 -6
- data/test/dummy/config/initializers/wrap_parameters.rb +6 -6
- data/test/dummy/config/locales/en.yml +20 -2
- data/test/dummy/config/routes.rb +2 -58
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130221210429_create_records.rb +3 -3
- data/test/dummy/db/schema.rb +8 -8
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +30 -3148
- data/test/dummy/log/test.log +755 -10228
- data/test/dummy/public/404.html +54 -13
- data/test/dummy/public/422.html +54 -13
- data/test/dummy/public/500.html +53 -12
- data/test/dummy/test/functional/test_controller_test.rb +4 -2
- data/test/dummy/test/unit/inherited_record_test.rb +83 -0
- data/test/dummy/test/unit/record_changed_field_test.rb +69 -3
- data/test/dummy/test/unit/record_test.rb +63 -0
- metadata +27 -15
- data/test/dummy/app/assets/javascripts/test.js +0 -2
- data/test/dummy/app/assets/stylesheets/test.css +0 -4
- data/test/dummy/app/helpers/test_helper.rb +0 -2
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/script/rails +0 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_citable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hab278
|
@@ -14,14 +14,20 @@ dependencies:
|
|
14
14
|
name: rails
|
15
15
|
version_requirements: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.0'
|
20
|
+
- - <
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '4.2'
|
20
23
|
requirement: !ruby/object:Gem::Requirement
|
21
24
|
requirements:
|
22
|
-
- -
|
25
|
+
- - '>='
|
23
26
|
- !ruby/object:Gem::Version
|
24
27
|
version: '4.0'
|
28
|
+
- - <
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '4.2'
|
25
31
|
prerelease: false
|
26
32
|
type: :runtime
|
27
33
|
- !ruby/object:Gem::Dependency
|
@@ -186,29 +192,32 @@ files:
|
|
186
192
|
- test/dummy/Rakefile
|
187
193
|
- test/dummy/README.rdoc
|
188
194
|
- test/dummy/app/assets/javascripts/application.js
|
189
|
-
- test/dummy/app/assets/javascripts/test.js
|
190
195
|
- test/dummy/app/assets/stylesheets/application.css
|
191
|
-
- test/dummy/app/assets/stylesheets/test.css
|
192
196
|
- test/dummy/app/controllers/application_controller.rb
|
193
197
|
- test/dummy/app/controllers/test_controller.rb
|
194
198
|
- test/dummy/app/helpers/application_helper.rb
|
195
|
-
- test/dummy/app/helpers/test_helper.rb
|
196
199
|
- test/dummy/app/models/inherited_record.rb
|
197
200
|
- test/dummy/app/models/record.rb
|
198
201
|
- test/dummy/app/models/record_changed_field.rb
|
199
202
|
- test/dummy/app/views/layouts/application.html.erb
|
203
|
+
- test/dummy/bin/bundle
|
204
|
+
- test/dummy/bin/rails
|
205
|
+
- test/dummy/bin/rake
|
200
206
|
- test/dummy/config/application.rb
|
201
207
|
- test/dummy/config/boot.rb
|
202
208
|
- test/dummy/config/database.yml
|
203
209
|
- test/dummy/config/environment.rb
|
204
210
|
- test/dummy/config/routes.rb
|
211
|
+
- test/dummy/config/secrets.yml
|
205
212
|
- test/dummy/config/environments/development.rb
|
206
213
|
- test/dummy/config/environments/production.rb
|
207
214
|
- test/dummy/config/environments/test.rb
|
215
|
+
- test/dummy/config/initializers/assets.rb
|
208
216
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
217
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
218
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
209
219
|
- test/dummy/config/initializers/inflections.rb
|
210
220
|
- test/dummy/config/initializers/mime_types.rb
|
211
|
-
- test/dummy/config/initializers/secret_token.rb
|
212
221
|
- test/dummy/config/initializers/session_store.rb
|
213
222
|
- test/dummy/config/initializers/wrap_parameters.rb
|
214
223
|
- test/dummy/config/locales/en.yml
|
@@ -223,10 +232,10 @@ files:
|
|
223
232
|
- test/dummy/public/422.html
|
224
233
|
- test/dummy/public/500.html
|
225
234
|
- test/dummy/public/favicon.ico
|
226
|
-
- test/dummy/script/rails
|
227
235
|
- test/dummy/test/fixtures/record_changed_fields.yml
|
228
236
|
- test/dummy/test/fixtures/records.yml
|
229
237
|
- test/dummy/test/functional/test_controller_test.rb
|
238
|
+
- test/dummy/test/unit/inherited_record_test.rb
|
230
239
|
- test/dummy/test/unit/record_changed_field_test.rb
|
231
240
|
- test/dummy/test/unit/record_test.rb
|
232
241
|
- test/dummy/test/unit/helpers/test_helper_test.rb
|
@@ -244,9 +253,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
244
253
|
version: '0'
|
245
254
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
246
255
|
requirements:
|
247
|
-
- - '
|
256
|
+
- - '>='
|
248
257
|
- !ruby/object:Gem::Version
|
249
|
-
version:
|
258
|
+
version: '0'
|
250
259
|
requirements: []
|
251
260
|
rubyforge_project:
|
252
261
|
rubygems_version: 2.1.9
|
@@ -260,29 +269,32 @@ test_files:
|
|
260
269
|
- test/dummy/Rakefile
|
261
270
|
- test/dummy/README.rdoc
|
262
271
|
- test/dummy/app/assets/javascripts/application.js
|
263
|
-
- test/dummy/app/assets/javascripts/test.js
|
264
272
|
- test/dummy/app/assets/stylesheets/application.css
|
265
|
-
- test/dummy/app/assets/stylesheets/test.css
|
266
273
|
- test/dummy/app/controllers/application_controller.rb
|
267
274
|
- test/dummy/app/controllers/test_controller.rb
|
268
275
|
- test/dummy/app/helpers/application_helper.rb
|
269
|
-
- test/dummy/app/helpers/test_helper.rb
|
270
276
|
- test/dummy/app/models/inherited_record.rb
|
271
277
|
- test/dummy/app/models/record.rb
|
272
278
|
- test/dummy/app/models/record_changed_field.rb
|
273
279
|
- test/dummy/app/views/layouts/application.html.erb
|
280
|
+
- test/dummy/bin/bundle
|
281
|
+
- test/dummy/bin/rails
|
282
|
+
- test/dummy/bin/rake
|
274
283
|
- test/dummy/config/application.rb
|
275
284
|
- test/dummy/config/boot.rb
|
276
285
|
- test/dummy/config/database.yml
|
277
286
|
- test/dummy/config/environment.rb
|
278
287
|
- test/dummy/config/routes.rb
|
288
|
+
- test/dummy/config/secrets.yml
|
279
289
|
- test/dummy/config/environments/development.rb
|
280
290
|
- test/dummy/config/environments/production.rb
|
281
291
|
- test/dummy/config/environments/test.rb
|
292
|
+
- test/dummy/config/initializers/assets.rb
|
282
293
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
294
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
295
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
283
296
|
- test/dummy/config/initializers/inflections.rb
|
284
297
|
- test/dummy/config/initializers/mime_types.rb
|
285
|
-
- test/dummy/config/initializers/secret_token.rb
|
286
298
|
- test/dummy/config/initializers/session_store.rb
|
287
299
|
- test/dummy/config/initializers/wrap_parameters.rb
|
288
300
|
- test/dummy/config/locales/en.yml
|
@@ -297,10 +309,10 @@ test_files:
|
|
297
309
|
- test/dummy/public/422.html
|
298
310
|
- test/dummy/public/500.html
|
299
311
|
- test/dummy/public/favicon.ico
|
300
|
-
- test/dummy/script/rails
|
301
312
|
- test/dummy/test/fixtures/record_changed_fields.yml
|
302
313
|
- test/dummy/test/fixtures/records.yml
|
303
314
|
- test/dummy/test/functional/test_controller_test.rb
|
315
|
+
- test/dummy/test/unit/inherited_record_test.rb
|
304
316
|
- test/dummy/test/unit/record_changed_field_test.rb
|
305
317
|
- test/dummy/test/unit/record_test.rb
|
306
318
|
- test/dummy/test/unit/helpers/test_helper_test.rb
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
# Make sure the secret is at least 30 characters and all random,
|
6
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
Dummy::Application.config.secret_token = '9889bdd8797da4817b05e60333949feef406fd012d4f289abb77f077f6cba303997f9557113815e9bd4872fa371bd8a8819b9ecac43da1133bc18dc21b2ce288'
|
data/test/dummy/script/rails
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|