capistrano-env 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/Gemfile +0 -8
- data/README.md +29 -2
- data/capistrano-env.gemspec +10 -4
- data/gemfiles/cap2.gemfile +6 -0
- data/gemfiles/cap3.gemfile +6 -0
- data/lib/capistrano/env/config.rb +4 -5
- data/lib/capistrano/env/formatter.rb +11 -0
- data/lib/capistrano/env/{plugin.rb → v2/plugin.rb} +2 -0
- data/lib/capistrano/env/v2.rb +4 -0
- data/lib/capistrano/env/v3/tasks/env.rake +19 -0
- data/lib/capistrano/env/v3.rb +4 -0
- data/lib/capistrano/env/version.rb +1 -1
- data/lib/capistrano/env.rb +21 -11
- data/lib/capistrano-env.rb +1 -1
- data/spec/capistrano/env/config_spec.rb +7 -6
- data/spec/capistrano/env/formatter/dotenv_formatter_spec.rb +1 -1
- data/spec/capistrano/env/{plugin_spec.rb → v2/plugin_spec.rb} +5 -2
- data/spec/capistrano/env_spec.rb +10 -3
- data/spec/gem_helper.rb +3 -0
- metadata +94 -126
- data/lib/capistrano/env/formatter/ruby_formatter.rb +0 -15
- data/lib/capistrano/env/railtie.rb +0 -10
- data/spec/capistrano/env/formatter/ruby_formatter_spec.rb +0 -12
- data/spec/capistrano/env/railtie_spec.rb +0 -11
- data/spec/dummy/.gitignore +0 -16
- data/spec/dummy/Gemfile +0 -46
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/Rakefile +0 -6
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -17
- data/spec/dummy/app/assets/stylesheets/application.css +0 -13
- data/spec/dummy/app/controllers/application_controller.rb +0 -5
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/rails +0 -4
- data/spec/dummy/bin/rake +0 -4
- data/spec/dummy/capenv.rb +0 -3
- data/spec/dummy/config/application.rb +0 -21
- data/spec/dummy/config/boot.rb +0 -4
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -29
- data/spec/dummy/config/environments/production.rb +0 -80
- data/spec/dummy/config/environments/test.rb +0 -36
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/dummy/config/initializers/hoge.rb +0 -1
- data/spec/dummy/config/initializers/inflections.rb +0 -16
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -12
- data/spec/dummy/config/initializers/session_store.rb +0 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -23
- data/spec/dummy/config/routes.rb +0 -56
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/db/schema.rb +0 -16
- data/spec/dummy/db/seeds.rb +0 -7
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/lib/tasks/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +0 -58
- data/spec/dummy/public/422.html +0 -58
- data/spec/dummy/public/500.html +0 -57
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/robots.txt +0 -5
- data/spec/dummy/vendor/assets/javascripts/.keep +0 -0
- data/spec/dummy/vendor/assets/stylesheets/.keep +0 -0
- data/spec/rails_helper.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e80641440a240740aa442c7b08635229133b96e
|
4
|
+
data.tar.gz: 845db65140d86877fa247ffc14f44d18dbb74b6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f8997657b5ad98511c1b9828cd397dbb6e84321cf90883ed974a3045958ab1f45da0e89193f1c9a71844eade6d1fd65724f2053f6a2e3de9b11097ceb37c80e
|
7
|
+
data.tar.gz: 1c3b2f26217acc7cda4a1edc8644a69487ea0fec4c47c7fdab27ac08dffec50434ba3668cd9ee670699aa85f96023201e82397fe0b634265369f6450cc7d67d0
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -27,10 +27,15 @@ Or install it yourself as:
|
|
27
27
|
|
28
28
|
## Usage
|
29
29
|
|
30
|
+
### 1. set env names in deploy.rb
|
30
31
|
|
31
|
-
####
|
32
|
+
#### Capistrano 2.x
|
33
|
+
|
34
|
+
in `deploy.rb`
|
32
35
|
|
33
36
|
```ruby
|
37
|
+
require 'capistrano/env/v2'
|
38
|
+
|
34
39
|
capenv.use do |env|
|
35
40
|
env.add /^MYAPP_/
|
36
41
|
env.add /^MYAPP_/ do |key|
|
@@ -42,7 +47,29 @@ capenv.use do |env|
|
|
42
47
|
end
|
43
48
|
```
|
44
49
|
|
45
|
-
####
|
50
|
+
#### Capistrano 3.x
|
51
|
+
|
52
|
+
in `Capfile`
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
require 'capistrano/env/v3'
|
56
|
+
```
|
57
|
+
|
58
|
+
in `deploy.rb`
|
59
|
+
|
60
|
+
```ruby
|
61
|
+
Capistrano::Env.use do |env|
|
62
|
+
env.add /^MYAPP_/
|
63
|
+
env.add /^MYAPP_/ do |key|
|
64
|
+
key.gsub /^MYAPP_/, '' # replace keyname like MYAPP_DATABASE_URL => DATABASE_URL
|
65
|
+
end
|
66
|
+
env.add 'UNICORN_PROCESSES'
|
67
|
+
env.add 'HOGE', 'hage'
|
68
|
+
env.formatter = :dotenv #=> default is :ruby, but it is deprecated now.
|
69
|
+
end
|
70
|
+
```
|
71
|
+
|
72
|
+
### 2. deploy
|
46
73
|
|
47
74
|
```
|
48
75
|
bundle exec cap production deploy
|
data/capistrano-env.gemspec
CHANGED
@@ -17,14 +17,20 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
|
-
spec.post_install_message = 'formatter :ruby is
|
21
|
-
|
20
|
+
spec.post_install_message = 'formatter :ruby is removed! use :dotenv instead of :ruby.'
|
21
|
+
|
22
|
+
spec.add_dependency 'capistrano'
|
23
|
+
spec.add_dependency 'sshkit'
|
22
24
|
|
23
25
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
24
26
|
spec.add_development_dependency 'rake'
|
25
27
|
spec.add_development_dependency 'rspec'
|
26
|
-
spec.add_development_dependency 'rspec-rails'
|
27
28
|
spec.add_development_dependency 'rubocop'
|
28
29
|
spec.add_development_dependency 'sqlite3'
|
29
|
-
spec.add_development_dependency '
|
30
|
+
spec.add_development_dependency 'guard'
|
31
|
+
spec.add_development_dependency 'guard-rspec'
|
32
|
+
spec.add_development_dependency 'guard-rubocop'
|
33
|
+
spec.add_development_dependency 'pry'
|
34
|
+
spec.add_development_dependency 'pry-doc'
|
35
|
+
spec.add_development_dependency 'coveralls'
|
30
36
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'capistrano/env/formatter'
|
2
|
+
|
1
3
|
module Capistrano
|
2
4
|
module Env
|
3
5
|
class Config
|
@@ -9,14 +11,11 @@ module Capistrano
|
|
9
11
|
end
|
10
12
|
|
11
13
|
def formatter
|
12
|
-
self.formatter = :
|
14
|
+
self.formatter = :dotenv unless @formatter
|
13
15
|
@formatter
|
14
16
|
end
|
15
17
|
|
16
|
-
|
17
|
-
warn 'formatter :ruby is deprecated! use :dotenv with dotenv(-rails).gem' if value == :ruby
|
18
|
-
@formatter = value
|
19
|
-
end
|
18
|
+
attr_writer :formatter
|
20
19
|
|
21
20
|
def add(name_or_regexp, val = nil, &block)
|
22
21
|
if val && name_or_regexp.is_a?(String)
|
@@ -0,0 +1,19 @@
|
|
1
|
+
namespace :capenv do
|
2
|
+
desc 'copy .env to release_path'
|
3
|
+
task :copy do
|
4
|
+
on roles(:all) do
|
5
|
+
upload! StringIO.new(Capistrano::Env.to_s), "#{release_path}/#{Capistrano::Env.filename}"
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
task :set_envs do
|
10
|
+
set :default_environment, Capistrano::Env.envs
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
stages.each do |stage|
|
15
|
+
after stage, 'capenv:set_envs'
|
16
|
+
end
|
17
|
+
|
18
|
+
after 'deploy:updating', 'capenv:copy'
|
19
|
+
before 'deploy:restart', 'capenv:copy'
|
data/lib/capistrano/env.rb
CHANGED
@@ -1,17 +1,27 @@
|
|
1
|
-
require 'capistrano/env/
|
1
|
+
require 'capistrano/env/config'
|
2
2
|
|
3
3
|
module Capistrano
|
4
4
|
module Env
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
def self.use(&block)
|
6
|
+
block.call(config)
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.envs
|
10
|
+
config.envs
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.to_s
|
14
|
+
config.capenv_content
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.filename
|
18
|
+
config.capenv_file
|
19
|
+
end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
def self.config
|
24
|
+
@config ||= Capistrano::Env::Config.new
|
11
25
|
end
|
12
26
|
end
|
13
27
|
end
|
14
|
-
|
15
|
-
require 'capistrano/env/plugin'
|
16
|
-
require 'capistrano/env/config'
|
17
|
-
require 'capistrano/env/railtie' if defined? Rails
|
data/lib/capistrano-env.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require 'capistrano/env'
|
1
|
+
require 'capistrano/env/v2' if defined?(Capistrano) && Capistrano.respond_to?(:plugin) # capistrano-2.x
|
@@ -1,24 +1,25 @@
|
|
1
|
-
require '
|
1
|
+
require 'gem_helper'
|
2
|
+
require 'capistrano/env/config'
|
2
3
|
|
3
4
|
describe Capistrano::Env::Config do
|
4
5
|
let(:config) { described_class.new }
|
5
6
|
describe '#formatter' do
|
6
|
-
it { expect(config.formatter).to eq :
|
7
|
+
it { expect(config.formatter).to eq :dotenv }
|
7
8
|
end
|
8
9
|
|
9
10
|
describe '#formatter class' do
|
10
|
-
it { expect(config.formatter_class).to eq Capistrano::Env::Formatter::
|
11
|
+
it { expect(config.formatter_class).to eq Capistrano::Env::Formatter::DotenvFormatter }
|
11
12
|
end
|
12
13
|
|
13
14
|
describe '#capenv_file' do
|
14
|
-
it { expect(config.capenv_file).to eq '
|
15
|
+
it { expect(config.capenv_file).to eq '.env' }
|
15
16
|
end
|
16
17
|
|
17
18
|
describe '#capenv_content' do
|
18
19
|
it do
|
19
|
-
require 'capistrano/env/formatter/
|
20
|
+
require 'capistrano/env/formatter/dotenv_formatter'
|
20
21
|
allow(config).to receive(:envs).and_return('a' => 'b')
|
21
|
-
expect(Capistrano::Env::Formatter::
|
22
|
+
expect(Capistrano::Env::Formatter::DotenvFormatter).to receive(:format).with('a' => 'b').and_return 'hello'
|
22
23
|
expect(config.capenv_content).to eq 'hello'
|
23
24
|
end
|
24
25
|
end
|
@@ -1,7 +1,10 @@
|
|
1
|
-
require '
|
2
|
-
require 'capistrano'
|
1
|
+
require 'gem_helper'
|
2
|
+
require 'capistrano/env/v2'
|
3
3
|
|
4
4
|
describe Capistrano::Env::Plugin do
|
5
|
+
before do
|
6
|
+
skip 'capistrano-3.x not support it' unless Capistrano.respond_to?(:plugin)
|
7
|
+
end
|
5
8
|
let(:capistrano) { Capistrano::Configuration.new }
|
6
9
|
|
7
10
|
describe '#capenv' do
|
data/spec/capistrano/env_spec.rb
CHANGED
@@ -1,7 +1,14 @@
|
|
1
|
-
require '
|
1
|
+
require 'gem_helper'
|
2
|
+
require 'capistrano/env'
|
2
3
|
|
3
4
|
describe Capistrano::Env do
|
4
|
-
|
5
|
-
|
5
|
+
before do
|
6
|
+
Capistrano::Env.use do |env|
|
7
|
+
env.add 'HELLO', 'WORLD'
|
8
|
+
end
|
6
9
|
end
|
10
|
+
|
11
|
+
it { expect(Capistrano::Env.to_s.chomp).to eq 'HELLO="WORLD"' }
|
12
|
+
it { expect(Capistrano::Env.envs).to eq 'HELLO' => 'WORLD' }
|
13
|
+
it { expect(Capistrano::Env.filename).to eq '.env' }
|
7
14
|
end
|
data/spec/gem_helper.rb
ADDED
metadata
CHANGED
@@ -1,35 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-env
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- masarakki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: capistrano
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '5.0'
|
19
|
+
version: '0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
30
|
-
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sshkit
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
31
39
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
40
|
+
version: '0'
|
33
41
|
- !ruby/object:Gem::Dependency
|
34
42
|
name: bundler
|
35
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,7 +81,7 @@ dependencies:
|
|
73
81
|
- !ruby/object:Gem::Version
|
74
82
|
version: '0'
|
75
83
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
84
|
+
name: rubocop
|
77
85
|
requirement: !ruby/object:Gem::Requirement
|
78
86
|
requirements:
|
79
87
|
- - ">="
|
@@ -87,7 +95,7 @@ dependencies:
|
|
87
95
|
- !ruby/object:Gem::Version
|
88
96
|
version: '0'
|
89
97
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
98
|
+
name: sqlite3
|
91
99
|
requirement: !ruby/object:Gem::Requirement
|
92
100
|
requirements:
|
93
101
|
- - ">="
|
@@ -101,7 +109,7 @@ dependencies:
|
|
101
109
|
- !ruby/object:Gem::Version
|
102
110
|
version: '0'
|
103
111
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
112
|
+
name: guard
|
105
113
|
requirement: !ruby/object:Gem::Requirement
|
106
114
|
requirements:
|
107
115
|
- - ">="
|
@@ -115,19 +123,75 @@ dependencies:
|
|
115
123
|
- !ruby/object:Gem::Version
|
116
124
|
version: '0'
|
117
125
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
126
|
+
name: guard-rspec
|
119
127
|
requirement: !ruby/object:Gem::Requirement
|
120
128
|
requirements:
|
121
|
-
- - "
|
129
|
+
- - ">="
|
122
130
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
131
|
+
version: '0'
|
124
132
|
type: :development
|
125
133
|
prerelease: false
|
126
134
|
version_requirements: !ruby/object:Gem::Requirement
|
127
135
|
requirements:
|
128
|
-
- - "
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: guard-rubocop
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
129
151
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry-doc
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: coveralls
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
131
195
|
description: capistrano with environments
|
132
196
|
email:
|
133
197
|
- masaki@hisme.net
|
@@ -145,75 +209,29 @@ files:
|
|
145
209
|
- README.md
|
146
210
|
- Rakefile
|
147
211
|
- capistrano-env.gemspec
|
212
|
+
- gemfiles/cap2.gemfile
|
213
|
+
- gemfiles/cap3.gemfile
|
148
214
|
- lib/capistrano-env.rb
|
149
215
|
- lib/capistrano/env.rb
|
150
216
|
- lib/capistrano/env/config.rb
|
217
|
+
- lib/capistrano/env/formatter.rb
|
151
218
|
- lib/capistrano/env/formatter/dotenv_formatter.rb
|
152
|
-
- lib/capistrano/env/
|
153
|
-
- lib/capistrano/env/plugin.rb
|
154
|
-
- lib/capistrano/env/
|
219
|
+
- lib/capistrano/env/v2.rb
|
220
|
+
- lib/capistrano/env/v2/plugin.rb
|
221
|
+
- lib/capistrano/env/v3.rb
|
222
|
+
- lib/capistrano/env/v3/tasks/env.rake
|
155
223
|
- lib/capistrano/env/version.rb
|
156
224
|
- spec/capistrano/env/config_spec.rb
|
157
225
|
- spec/capistrano/env/formatter/dotenv_formatter_spec.rb
|
158
|
-
- spec/capistrano/env/
|
159
|
-
- spec/capistrano/env/plugin_spec.rb
|
160
|
-
- spec/capistrano/env/railtie_spec.rb
|
226
|
+
- spec/capistrano/env/v2/plugin_spec.rb
|
161
227
|
- spec/capistrano/env_spec.rb
|
162
|
-
- spec/
|
163
|
-
- spec/dummy/Gemfile
|
164
|
-
- spec/dummy/README.rdoc
|
165
|
-
- spec/dummy/Rakefile
|
166
|
-
- spec/dummy/app/assets/images/.keep
|
167
|
-
- spec/dummy/app/assets/javascripts/application.js
|
168
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
169
|
-
- spec/dummy/app/controllers/application_controller.rb
|
170
|
-
- spec/dummy/app/controllers/concerns/.keep
|
171
|
-
- spec/dummy/app/helpers/application_helper.rb
|
172
|
-
- spec/dummy/app/mailers/.keep
|
173
|
-
- spec/dummy/app/models/.keep
|
174
|
-
- spec/dummy/app/models/concerns/.keep
|
175
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
176
|
-
- spec/dummy/bin/bundle
|
177
|
-
- spec/dummy/bin/rails
|
178
|
-
- spec/dummy/bin/rake
|
179
|
-
- spec/dummy/capenv.rb
|
180
|
-
- spec/dummy/config.ru
|
181
|
-
- spec/dummy/config/application.rb
|
182
|
-
- spec/dummy/config/boot.rb
|
183
|
-
- spec/dummy/config/database.yml
|
184
|
-
- spec/dummy/config/environment.rb
|
185
|
-
- spec/dummy/config/environments/development.rb
|
186
|
-
- spec/dummy/config/environments/production.rb
|
187
|
-
- spec/dummy/config/environments/test.rb
|
188
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
189
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
190
|
-
- spec/dummy/config/initializers/hoge.rb
|
191
|
-
- spec/dummy/config/initializers/inflections.rb
|
192
|
-
- spec/dummy/config/initializers/mime_types.rb
|
193
|
-
- spec/dummy/config/initializers/secret_token.rb
|
194
|
-
- spec/dummy/config/initializers/session_store.rb
|
195
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
196
|
-
- spec/dummy/config/locales/en.yml
|
197
|
-
- spec/dummy/config/routes.rb
|
198
|
-
- spec/dummy/db/schema.rb
|
199
|
-
- spec/dummy/db/seeds.rb
|
200
|
-
- spec/dummy/lib/assets/.keep
|
201
|
-
- spec/dummy/lib/tasks/.keep
|
202
|
-
- spec/dummy/log/.keep
|
203
|
-
- spec/dummy/public/404.html
|
204
|
-
- spec/dummy/public/422.html
|
205
|
-
- spec/dummy/public/500.html
|
206
|
-
- spec/dummy/public/favicon.ico
|
207
|
-
- spec/dummy/public/robots.txt
|
208
|
-
- spec/dummy/vendor/assets/javascripts/.keep
|
209
|
-
- spec/dummy/vendor/assets/stylesheets/.keep
|
210
|
-
- spec/rails_helper.rb
|
228
|
+
- spec/gem_helper.rb
|
211
229
|
- spec/spec_helper.rb
|
212
230
|
homepage: https://github.com/masarakki/capistrano-env
|
213
231
|
licenses:
|
214
232
|
- MIT
|
215
233
|
metadata: {}
|
216
|
-
post_install_message: formatter :ruby is
|
234
|
+
post_install_message: formatter :ruby is removed! use :dotenv instead of :ruby.
|
217
235
|
rdoc_options: []
|
218
236
|
require_paths:
|
219
237
|
- lib
|
@@ -236,57 +254,7 @@ summary: capistrano with environments
|
|
236
254
|
test_files:
|
237
255
|
- spec/capistrano/env/config_spec.rb
|
238
256
|
- spec/capistrano/env/formatter/dotenv_formatter_spec.rb
|
239
|
-
- spec/capistrano/env/
|
240
|
-
- spec/capistrano/env/plugin_spec.rb
|
241
|
-
- spec/capistrano/env/railtie_spec.rb
|
257
|
+
- spec/capistrano/env/v2/plugin_spec.rb
|
242
258
|
- spec/capistrano/env_spec.rb
|
243
|
-
- spec/
|
244
|
-
- spec/dummy/Gemfile
|
245
|
-
- spec/dummy/README.rdoc
|
246
|
-
- spec/dummy/Rakefile
|
247
|
-
- spec/dummy/app/assets/images/.keep
|
248
|
-
- spec/dummy/app/assets/javascripts/application.js
|
249
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
250
|
-
- spec/dummy/app/controllers/application_controller.rb
|
251
|
-
- spec/dummy/app/controllers/concerns/.keep
|
252
|
-
- spec/dummy/app/helpers/application_helper.rb
|
253
|
-
- spec/dummy/app/mailers/.keep
|
254
|
-
- spec/dummy/app/models/.keep
|
255
|
-
- spec/dummy/app/models/concerns/.keep
|
256
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
257
|
-
- spec/dummy/bin/bundle
|
258
|
-
- spec/dummy/bin/rails
|
259
|
-
- spec/dummy/bin/rake
|
260
|
-
- spec/dummy/capenv.rb
|
261
|
-
- spec/dummy/config.ru
|
262
|
-
- spec/dummy/config/application.rb
|
263
|
-
- spec/dummy/config/boot.rb
|
264
|
-
- spec/dummy/config/database.yml
|
265
|
-
- spec/dummy/config/environment.rb
|
266
|
-
- spec/dummy/config/environments/development.rb
|
267
|
-
- spec/dummy/config/environments/production.rb
|
268
|
-
- spec/dummy/config/environments/test.rb
|
269
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
270
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
271
|
-
- spec/dummy/config/initializers/hoge.rb
|
272
|
-
- spec/dummy/config/initializers/inflections.rb
|
273
|
-
- spec/dummy/config/initializers/mime_types.rb
|
274
|
-
- spec/dummy/config/initializers/secret_token.rb
|
275
|
-
- spec/dummy/config/initializers/session_store.rb
|
276
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
277
|
-
- spec/dummy/config/locales/en.yml
|
278
|
-
- spec/dummy/config/routes.rb
|
279
|
-
- spec/dummy/db/schema.rb
|
280
|
-
- spec/dummy/db/seeds.rb
|
281
|
-
- spec/dummy/lib/assets/.keep
|
282
|
-
- spec/dummy/lib/tasks/.keep
|
283
|
-
- spec/dummy/log/.keep
|
284
|
-
- spec/dummy/public/404.html
|
285
|
-
- spec/dummy/public/422.html
|
286
|
-
- spec/dummy/public/500.html
|
287
|
-
- spec/dummy/public/favicon.ico
|
288
|
-
- spec/dummy/public/robots.txt
|
289
|
-
- spec/dummy/vendor/assets/javascripts/.keep
|
290
|
-
- spec/dummy/vendor/assets/stylesheets/.keep
|
291
|
-
- spec/rails_helper.rb
|
259
|
+
- spec/gem_helper.rb
|
292
260
|
- spec/spec_helper.rb
|