dummy-application 1.1.0 → 1.1.1
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/README.md +1 -1
- data/bin/dummy +6 -0
- data/dummy-application.gemspec +1 -1
- data/lib/dummy/application.rb +15 -6
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa3019363ea8ff59839245a08c3ee52bc69b30ff
|
4
|
+
data.tar.gz: 17a4db25ca87fbe98bf160fc24a516753801fa00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6d13568ba45a38f364daa3fcd7d8f29f5e5227896e33074b91c89af1f26f2da98e1a2cec57033fcc18cb3428e30eb4c5708e80bfc5620e11fa1a9e84f020443
|
7
|
+
data.tar.gz: 89ce992ed2af9344d0f6802fc307626722de95cee3e513549fae380a0886d3ae6141d031e5ddd8cc6566b650e685a9595c0cc7867db237e606274d952febffa6
|
data/README.md
CHANGED
@@ -29,7 +29,7 @@ code for your specs place them in 'spec/dummy/app'.
|
|
29
29
|
|
30
30
|
## Contributing
|
31
31
|
|
32
|
-
1. Fork it ( https://github.com/
|
32
|
+
1. Fork it ( https://github.com/adamhunter/dummy-application/fork )
|
33
33
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
34
34
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
35
35
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/bin/dummy
ADDED
data/dummy-application.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "dummy-application"
|
7
|
-
spec.version = "1.1.
|
7
|
+
spec.version = "1.1.1"
|
8
8
|
spec.authors = ["Adam Hunter"]
|
9
9
|
spec.email = ["adamhunter@me.com"]
|
10
10
|
spec.summary = %q[Provide a base Rails application for usage in testing rubygems]
|
data/lib/dummy/application.rb
CHANGED
@@ -22,12 +22,21 @@ module Dummy
|
|
22
22
|
end
|
23
23
|
|
24
24
|
class Application < ::Rails::Application
|
25
|
-
config.root
|
26
|
-
config.
|
27
|
-
config.
|
28
|
-
config.
|
29
|
-
config.
|
30
|
-
config.
|
25
|
+
config.root = Dummy.rails_root
|
26
|
+
config.eager_load = Rails.env.production?
|
27
|
+
config.cache_classes = !Rails.env.development?
|
28
|
+
config.serve_static_assets = true
|
29
|
+
config.static_cache_control = "public, max-age=3600"
|
30
|
+
config.whiny_nils = true
|
31
|
+
config.consider_all_requests_local = true
|
32
|
+
config.action_controller.perform_caching = false
|
33
|
+
config.action_dispatch.show_exceptions = false
|
34
|
+
config.active_support.deprecation = :stderr
|
35
|
+
config.action_mailer.delivery_method = :test
|
36
|
+
config.action_controller.allow_forgery_protection = false
|
37
|
+
config.active_support.deprecation = :stderr
|
38
|
+
config.eager_load = false
|
39
|
+
config.secret_token = 'http://s3-ec.buzzfed.com/static/enhanced/webdr03/2013/5/25/8/anigif_enhanced-buzz-11857-1369483324-0.gif'
|
31
40
|
end
|
32
41
|
end
|
33
42
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dummy-application
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Hunter
|
@@ -69,7 +69,8 @@ dependencies:
|
|
69
69
|
description:
|
70
70
|
email:
|
71
71
|
- adamhunter@me.com
|
72
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- dummy
|
73
74
|
extensions: []
|
74
75
|
extra_rdoc_files: []
|
75
76
|
files:
|
@@ -79,6 +80,7 @@ files:
|
|
79
80
|
- LICENSE.txt
|
80
81
|
- README.md
|
81
82
|
- Rakefile
|
83
|
+
- bin/dummy
|
82
84
|
- dummy-application.gemspec
|
83
85
|
- lib/dummy/application.rb
|
84
86
|
- lib/dummy/application/tasks.rb
|