stairs 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/.rubocop.yml +38 -0
- data/.travis.yml +4 -0
- data/Guardfile +10 -0
- data/README.md +39 -9
- data/Rakefile +5 -0
- data/lib/stairs/configuration.rb +1 -1
- data/lib/stairs/env_adapters/dotenv.rb +2 -2
- data/lib/stairs/env_adapters/rbenv.rb +2 -2
- data/lib/stairs/env_adapters/rvm.rb +2 -2
- data/lib/stairs/env_adapters.rb +2 -2
- data/lib/stairs/interactive_configuration.rb +25 -7
- data/lib/stairs/railtie.rb +7 -0
- data/lib/stairs/script.rb +3 -3
- data/lib/stairs/step.rb +49 -23
- data/lib/stairs/steps/secret_token.rb +1 -1
- data/lib/stairs/steps.rb +1 -1
- data/lib/stairs/tasks.rb +1 -1
- data/lib/stairs/util/cli.rb +50 -0
- data/lib/stairs/util/{file_utils.rb → file_mutation.rb} +10 -5
- data/lib/stairs/util.rb +3 -2
- data/lib/stairs/version.rb +1 -1
- data/lib/stairs.rb +3 -1
- data/spec/lib/configuration_spec.rb +12 -0
- data/spec/lib/stairs/env_adapters/dotenv_spec.rb +38 -0
- data/spec/lib/stairs/env_adapters/rbenv_spec.rb +40 -0
- data/spec/lib/stairs/env_adapters/rvm_spec.rb +40 -0
- data/spec/lib/stairs/env_adapters_spec.rb +28 -0
- data/spec/lib/stairs/interactive_configuration_spec.rb +36 -0
- data/spec/lib/stairs/script_spec.rb +29 -0
- data/spec/lib/stairs/step_spec.rb +293 -0
- data/spec/lib/stairs/steps/secret_token_spec.rb +13 -0
- data/spec/lib/stairs/util/cli_spec.rb +57 -0
- data/spec/lib/stairs/util/file_mutation_spec.rb +98 -0
- data/spec/spec_helper.rb +17 -0
- data/spec/support/mock_stdout.rb +52 -0
- data/stairs.gemspec +8 -1
- metadata +138 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stairs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- patbenatar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -39,19 +39,117 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: pry
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - ~>
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :
|
61
|
+
version: 2.14.1
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.14.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard-rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 4.0.3
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 4.0.3
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rb-fsevent
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.9.3
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.9.3
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: awesome_print
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.2.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.2.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: fakefs
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.4.3
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.4.3
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ~>
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.14.1
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ~>
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.14.1
|
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: 1.0.0
|
146
|
+
type: :development
|
49
147
|
prerelease: false
|
50
148
|
version_requirements: !ruby/object:Gem::Requirement
|
51
149
|
requirements:
|
52
150
|
- - ~>
|
53
151
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
152
|
+
version: 1.0.0
|
55
153
|
- !ruby/object:Gem::Dependency
|
56
154
|
name: activesupport
|
57
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,7 +187,11 @@ extensions: []
|
|
89
187
|
extra_rdoc_files: []
|
90
188
|
files:
|
91
189
|
- .gitignore
|
190
|
+
- .rspec
|
191
|
+
- .rubocop.yml
|
192
|
+
- .travis.yml
|
92
193
|
- Gemfile
|
194
|
+
- Guardfile
|
93
195
|
- LICENSE.txt
|
94
196
|
- README.md
|
95
197
|
- Rakefile
|
@@ -100,14 +202,29 @@ files:
|
|
100
202
|
- lib/stairs/env_adapters/rbenv.rb
|
101
203
|
- lib/stairs/env_adapters/rvm.rb
|
102
204
|
- lib/stairs/interactive_configuration.rb
|
205
|
+
- lib/stairs/railtie.rb
|
103
206
|
- lib/stairs/script.rb
|
104
207
|
- lib/stairs/step.rb
|
105
208
|
- lib/stairs/steps.rb
|
106
209
|
- lib/stairs/steps/secret_token.rb
|
107
210
|
- lib/stairs/tasks.rb
|
108
211
|
- lib/stairs/util.rb
|
109
|
-
- lib/stairs/util/
|
212
|
+
- lib/stairs/util/cli.rb
|
213
|
+
- lib/stairs/util/file_mutation.rb
|
110
214
|
- lib/stairs/version.rb
|
215
|
+
- spec/lib/configuration_spec.rb
|
216
|
+
- spec/lib/stairs/env_adapters/dotenv_spec.rb
|
217
|
+
- spec/lib/stairs/env_adapters/rbenv_spec.rb
|
218
|
+
- spec/lib/stairs/env_adapters/rvm_spec.rb
|
219
|
+
- spec/lib/stairs/env_adapters_spec.rb
|
220
|
+
- spec/lib/stairs/interactive_configuration_spec.rb
|
221
|
+
- spec/lib/stairs/script_spec.rb
|
222
|
+
- spec/lib/stairs/step_spec.rb
|
223
|
+
- spec/lib/stairs/steps/secret_token_spec.rb
|
224
|
+
- spec/lib/stairs/util/cli_spec.rb
|
225
|
+
- spec/lib/stairs/util/file_mutation_spec.rb
|
226
|
+
- spec/spec_helper.rb
|
227
|
+
- spec/support/mock_stdout.rb
|
111
228
|
- stairs.gemspec
|
112
229
|
homepage: http://github.com/patbenatar/stairs
|
113
230
|
licenses:
|
@@ -134,4 +251,17 @@ signing_key:
|
|
134
251
|
specification_version: 4
|
135
252
|
summary: A DSL and collection of plugins for easy setup of projects on new development
|
136
253
|
environments.
|
137
|
-
test_files:
|
254
|
+
test_files:
|
255
|
+
- spec/lib/configuration_spec.rb
|
256
|
+
- spec/lib/stairs/env_adapters/dotenv_spec.rb
|
257
|
+
- spec/lib/stairs/env_adapters/rbenv_spec.rb
|
258
|
+
- spec/lib/stairs/env_adapters/rvm_spec.rb
|
259
|
+
- spec/lib/stairs/env_adapters_spec.rb
|
260
|
+
- spec/lib/stairs/interactive_configuration_spec.rb
|
261
|
+
- spec/lib/stairs/script_spec.rb
|
262
|
+
- spec/lib/stairs/step_spec.rb
|
263
|
+
- spec/lib/stairs/steps/secret_token_spec.rb
|
264
|
+
- spec/lib/stairs/util/cli_spec.rb
|
265
|
+
- spec/lib/stairs/util/file_mutation_spec.rb
|
266
|
+
- spec/spec_helper.rb
|
267
|
+
- spec/support/mock_stdout.rb
|