stairs 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stairs/steps/facebook.rb +12 -2
- data/lib/stairs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14d977e07291f0a8476d22451cd1855c86b0c16a
|
4
|
+
data.tar.gz: d3f3a5361958cab856dc009dd853cc266fb3fbee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3916c63010aac63cee506da23393c36dae632ec722fa8dc430ba32df5eef14b71da1b70e3ab1022e08b5df3d9062f2871af71dd7d1b87db2bd7fab80f698a2a
|
7
|
+
data.tar.gz: b4426ff951d58d03806047cf89bbf24fb42dd7ca5f66b78c2b79a5881128a30f4b2886b714b4acf496f2f9442ae0a68211404241166fc88fc787be7dd59faca6
|
@@ -5,8 +5,18 @@ module Stairs
|
|
5
5
|
description "Configure credentials for Facebook app"
|
6
6
|
|
7
7
|
def run
|
8
|
-
env
|
9
|
-
env
|
8
|
+
env id_name, provide("Facebook App ID")
|
9
|
+
env secret_name, provide("Facebook App Secret")
|
10
|
+
end
|
11
|
+
|
12
|
+
private
|
13
|
+
|
14
|
+
def id_name
|
15
|
+
options[:app_id] || "FACEBOOK_ID"
|
16
|
+
end
|
17
|
+
|
18
|
+
def secret_name
|
19
|
+
options[:app_secret] || "FACEBOOK_SECRET"
|
10
20
|
end
|
11
21
|
end
|
12
22
|
end
|
data/lib/stairs/version.rb
CHANGED
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.5.
|
4
|
+
version: 0.5.1
|
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-
|
11
|
+
date: 2013-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|