stairs 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -4
- data/bin/stairs +4 -0
- data/lib/stairs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33b582fd2fb33082959934152985b5fde210cb23
|
4
|
+
data.tar.gz: 283a59e20d7e5eb6730553b305f1632a58723789
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79a9879b665d47712c18bd84622f896f99d3ac78ae247c0a7daf841463ec6e29dac0d523847c02593780e440a249cc36285af8eb8fd364aa7499eadfb2e0f58c
|
7
|
+
data.tar.gz: add58a9fd0211cc3ff9518805b6f474043848f37af26e793bbebb5c1021c2fe9a9fb1d8e3d7c3920f13005429c016b065296f672f786d95154bfe09154d18abf
|
data/README.md
CHANGED
@@ -140,11 +140,32 @@ setup :facebook, required: false
|
|
140
140
|
|
141
141
|
## Plugins for common setups
|
142
142
|
|
143
|
+
Some steps support options. Options are specified as a hash like so:
|
144
|
+
|
145
|
+
```ruby
|
146
|
+
setup :step_name, option_1: "value", option_2: "value"
|
147
|
+
```
|
148
|
+
|
143
149
|
### Built-in
|
144
150
|
|
145
|
-
|
146
|
-
|
147
|
-
|
151
|
+
#### `:secret_token`
|
152
|
+
|
153
|
+
Sets a secure random secret token. This will write the following ENV vars:
|
154
|
+
`SECRET_TOKEN`
|
155
|
+
|
156
|
+
#### `:postgresql`
|
157
|
+
|
158
|
+
Quickly setup database.yml for use with PostgreSQL, including sensible defaults.
|
159
|
+
|
160
|
+
#### `:facebook`
|
161
|
+
|
162
|
+
Tnteractive prompt for setting Facebook app credentials. This will write the
|
163
|
+
following ENV vars: `FACEBOOK_ID`, `FACEBOOK_SECRET`
|
164
|
+
|
165
|
+
##### Options
|
166
|
+
|
167
|
+
* `app_id`: ENV var name for Facebook App ID
|
168
|
+
* `app_secret`: ENV var name for Facebook App Secret
|
148
169
|
|
149
170
|
### Available as independent gems
|
150
171
|
|
@@ -200,7 +221,6 @@ Run rails s and sidekiq to get rolling!
|
|
200
221
|
|
201
222
|
[s3]: http://github.com/patbenatar/stairs-steps-s3
|
202
223
|
[balanced]: http://github.com/patbenatar/stairs-steps-balanced
|
203
|
-
[facebook]: http://github.com/patbenatar/stairs-steps-facebook
|
204
224
|
|
205
225
|
## Credits
|
206
226
|
|
data/bin/stairs
CHANGED
data/lib/stairs/version.rb
CHANGED