easy-deployment 0.6.2 → 0.6.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e097e22365db6a37523b417d1df5740798c8da3
4
- data.tar.gz: 70a522d246755ae8a1591fe09016e03347ec983a
3
+ metadata.gz: fd90d481e090583b471f4fa937b0ff5d02f7ef79
4
+ data.tar.gz: d3ff2319b207c68be23988ad1be6e98ca17aa730
5
5
  SHA512:
6
- metadata.gz: 59b3756e98ff9240f4957030393eb504f467ae9088b7dadb22340c254f62a4ca4a6bf15e435176bd6ae71734723b0a79f521a1dd30c2c0ea29ec27e82b708304
7
- data.tar.gz: d7a1ce0608de54eb62188a203b66d8b8a002f3e4c89841a9944769da6ba5f92cc3ff02b7b2a2034011b9a8ea830d362fb82eee0aa1e703e4aaa8cfd943231a78
6
+ metadata.gz: d334718172b40231652761b808319ec88a2d440064bfb8dcaea828617529d792bc83623512e614b7a9cea3145973635c7d0f2ce99e55652202f033e47a112e50
7
+ data.tar.gz: edc3bb61773740d1f4d37e766cd8695d2ea14918dd8477c451b9a29940a12a629b6688ecab95669de5495be34dc9520da4cc492f84afc7d4c42c43e7761ac300
@@ -1,5 +1,11 @@
1
1
  # Changelog for easy-deployment
2
2
 
3
+ ## 0.6.3 (2015-11-13)
4
+
5
+ Bugfixes:
6
+
7
+ * Fix maintenance page location and typos in `README.md`
8
+
3
9
  ## 0.6.2 (2015-11-10)
4
10
 
5
11
  Enhancements:
data/README.md CHANGED
@@ -101,15 +101,15 @@ All these settings are configurable, to read more see the documentation for the
101
101
 
102
102
  ### Maintenance
103
103
 
104
- This includes a generator to create a maintenance mode configuration (generator is run by itself as `rails generate easy:maintenace`)
104
+ This includes a generator to create a maintenance mode configuration (generator is run by itself as `rails generate easy:maintenance`)
105
105
 
106
106
  This will generate:
107
107
 
108
- config/initializers/maintenace.rb
108
+ config/initializers/maintenance.rb
109
109
  public/maintenance.html
110
110
  public/maintenance.json
111
111
 
112
- Customise the site configuration within `config/initializers/maintenace.rb` to change the maintenance message, response status etc.
112
+ Customise the site configuration within `config/initializers/maintenance.rb` to change the maintenance message, response status etc.
113
113
  Customise the maintenance page within `public/maintenance.html`
114
114
  All these settings are configurable, to read more see the documentation for the turnout gem https://github.com/biola/turnout and setup your configuration to suit yourself.
115
115
 
@@ -1,5 +1,5 @@
1
1
  module Easy
2
2
  module Deployment
3
- VERSION = "0.6.2"
3
+ VERSION = "0.6.3"
4
4
  end
5
5
  end
@@ -16,7 +16,7 @@ module Easy
16
16
  run("bundle install")
17
17
 
18
18
  say("Maintenance configuration generated", :green)
19
- say(" - TODO: edit config/maintenance.rb setting default_maintenance_page, default_reason and other configuration options", :green)
19
+ say(" - TODO: edit config/initializers/maintenance.rb setting default_maintenance_page, default_reason and other configuration options", :green)
20
20
  say(" - TODO: edit public/maintenance.html to match site styles", :green)
21
21
 
22
22
  true
@@ -4,14 +4,14 @@
4
4
  # See: https://github.com/biola/turnout#configuration for details on customization
5
5
 
6
6
  # This is the rails root location, given this file is located at in Rails.root/config/maintenance.rb
7
- rails_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))
7
+ rails_root = File.expand_path(File.join(File.dirname(__FILE__), '../..'))
8
8
 
9
9
 
10
10
  Turnout.configure do |config|
11
11
  config.app_root = rails_root
12
- config.named_maintenance_file_paths = {default: config.app_root.join('tmp', 'maintenance.yml').to_s}
12
+ config.named_maintenance_file_paths = { default: config.app_root.join('tmp', 'maintenance.yml').to_s }
13
13
  config.default_maintenance_page = Turnout::MaintenancePage::HTML
14
- config.default_reason = "The site is temporarily down for maintenance.\nPlease check back soon."
14
+ config.default_reason = "This site is temporarily down for maintenance."
15
15
  config.default_allowed_paths = ['/admin','/assets']
16
16
  config.default_response_code = 503
17
17
  config.default_retry_after = 3600
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy-deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Olliver
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-11-10 00:00:00.000000000 Z
15
+ date: 2015-11-30 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails