chamber 2.1.6 → 2.1.7

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: d71e9e2055b85de9d08846b981141cbebdd8434c
4
- data.tar.gz: 8fa25953552b4bb026d4ff4e033a85dc5589bf1c
3
+ metadata.gz: 5c5351b681145af16233e965d06b357a92868a41
4
+ data.tar.gz: d3a655ca148b0102c019ece5c03b107a9a0f903d
5
5
  SHA512:
6
- metadata.gz: ae0506e1b6dae00e4f4e82b788b4e7e4823e46718f4caa1b77e0e395f4aea166f5c090d870fe3d23630f8d476bff6f94d3fcbc85448436d217ec0bebce4e1bb0
7
- data.tar.gz: d44fa35f61da759ca279d30b2db92345f7b02bc03462b4ccbd72b403d917e7d9e78f3f752c5ead384051d7e2d9a502aa23e0755fd23c29c0e64d05a58831c7f3
6
+ metadata.gz: 01114076fdf30530573bfc622766dc54f730bcc732b677911468ce39c35f3ef3da535e4a8a38d2937def4009937e73183c77e8ed60ce4f5e28f1e1aa3278bf66
7
+ data.tar.gz: ce14b62ca0aa3ab6bcdacd7d95757ffbdd210ab5ce873c88f86214a2d5726c469d1e8b1e9bba555647d1a7f5d7eab765b3cb801e503cc1d0a1e44b387326bf92
@@ -12,6 +12,8 @@ module Binary
12
12
  class Runner < Thor
13
13
  include Thor::Actions
14
14
 
15
+ source_root ::File.expand_path('../../../../templates', __FILE__)
16
+
15
17
  class_option :rootpath,
16
18
  type: :string,
17
19
  aliases: '-r',
@@ -1,5 +1,4 @@
1
1
  require 'openssl'
2
- require 'fileutils'
3
2
  require 'chamber/commands/base'
4
3
 
5
4
  module Chamber
@@ -23,10 +22,7 @@ class Initialize < Chamber::Commands::Base
23
22
  shell.append_to_file gitignore_filepath, private_key_filepath.basename.to_s
24
23
  end
25
24
 
26
- unless settings_filepath.exist?
27
- puts "Creating #{settings_filepath} Settings Template"
28
- FileUtils.copy_file settings_template_filepath, settings_filepath
29
- end
25
+ shell.copy_file settings_template_filepath, settings_filepath
30
26
  end
31
27
 
32
28
  def self.call(options = {})
@@ -1,3 +1,3 @@
1
1
  module Chamber
2
- VERSION = '2.1.6'
2
+ VERSION = '2.1.7'
3
3
  end
@@ -0,0 +1,11 @@
1
+ development:
2
+ setting: development_value
3
+ _secure_setting: secure_development_value
4
+
5
+ test:
6
+ setting: test_value
7
+ _secure_setting: secure_test_value
8
+
9
+ production:
10
+ setting: production_value
11
+ _secure_setting: secure_production_value
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chamber
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - stevenhallen
@@ -133,6 +133,7 @@ files:
133
133
  - lib/chamber/system_environment.rb
134
134
  - lib/chamber/version.rb
135
135
  - lib/chamber.rb
136
+ - templates/settings.yml
136
137
  - README.md
137
138
  - LICENSE
138
139
  - spec/fixtures/settings.yml