dummy-application 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b04cc7ae4171155fa4b70b88dcfe9687148c73c3
4
- data.tar.gz: 6b9a4a3edd975244fcc8cabe4ec31c16c4de11b7
3
+ metadata.gz: fa3019363ea8ff59839245a08c3ee52bc69b30ff
4
+ data.tar.gz: 17a4db25ca87fbe98bf160fc24a516753801fa00
5
5
  SHA512:
6
- metadata.gz: f2346302362d549af952416a92fda6fbeddfd8e03f6a322663c06b46184241892a91f9fdba62ebd0d2a40d4eb518559734862de88b0dbd01ce97a3d0f09deaff
7
- data.tar.gz: ab0ebf097ef1db1203d191c8356d4831468744f5c3310a8159283561a8a49686efcce2b5e08d8593c3e7d6877b0db94ea10b129a4f46e6a0d3c81db247f8be7b
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/[my-github-username]/dummy-application/fork )
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`)
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ APP_PATH = 'dummy/application'
3
+ require 'rails/all'
4
+ require 'dummy/application'
5
+ require 'rails/commands'
6
+
@@ -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.0"
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]
@@ -22,12 +22,21 @@ module Dummy
22
22
  end
23
23
 
24
24
  class Application < ::Rails::Application
25
- config.root = Dummy.rails_root
26
- config.logger = Logger.new("/dev/null")
27
- config.eager_load = Rails.env.production?
28
- config.cache_classes = !Rails.env.development?
29
- config.active_support.deprecation = :stderr
30
- config.secret_token = 'http://s3-ec.buzzfed.com/static/enhanced/webdr03/2013/5/25/8/anigif_enhanced-buzz-11857-1369483324-0.gif'
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.0
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