mina-skype 0.1.1 → 0.1.2

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: cb9f03c9c6e1da8140c32c950ba4af63dd275020
4
- data.tar.gz: 89e9461b2f207e61f20e0bc89876ae92937f8640
3
+ metadata.gz: fa78b1d2fa2cd7a27d282a9ecd0083e483e5a815
4
+ data.tar.gz: b26cb247c52ad7353c4fa351429d51d104eeae32
5
5
  SHA512:
6
- metadata.gz: b92d30877913b2eac6e3ad525b314d0414a1aff16edfb81371e02899081084b35dc40e9956add3999451ccb7eb146aa41d323976b1879bb152430e2eca7b69ca
7
- data.tar.gz: 72cc5aa5f16c9d28d4d94859b30bf79db037e466f7805a3e65339709a5f1f2ecfa41fb2d4d8321c16e7c9dff46935e6543fe22cccdf7b9875fa4830de28153ea
6
+ metadata.gz: cceabda3d43d46b4a40da8069ea5eff136b19cf30751bfd30fa236c2fa70075f1fa0d6ca1d43e8a45e2a91302c402c69d9dd291147239288173d67832b85bb03
7
+ data.tar.gz: e11b5606e4c37e4dd956b4994efcca754feae884eef726407b5ad9a000e39d80fd4f648fe5ebd106d4a23055a3e4be092649df2b423e2e33ab8627e02dd2c910
@@ -1,11 +1,11 @@
1
1
  # Required
2
- set_default :skype_app_id, -> { ENV['SKYPE_APP_ID'] }
3
- set_default :skype_app_secret, -> { ENV['SKYPE_APP_SECRET'] }
4
- set_default :skype_conversation_id, -> { ENV['SKYPE_CONVERSATION_ID'] }
2
+ set :skype_app_id, -> { ENV['SKYPE_APP_ID'] } unless set?(:skype_app_id)
3
+ set :skype_app_secret, -> { ENV['SKYPE_APP_SECRET'] } unless set?(:skype_app_secret)
4
+ set :skype_conversation_id, -> { ENV['SKYPE_CONVERSATION_ID'] } unless set?(:skype_conversation_id)
5
5
 
6
6
  # Optional
7
- set_default :skype_application, -> { ENV['SKYPE_APPLICATION'] || application }
7
+ set :skype_application, -> { ENV['SKYPE_APPLICATION'] || application } unless set?(:skype_application)
8
8
 
9
9
  # Git
10
- set_default :deployer, -> { ENV['GIT_AUTHOR_NAME'] || %x[git config user.name].chomp }
11
- set_default :deployed_revision, -> { ENV['GIT_COMMIT'] || %x[git rev-parse #{branch}].strip }
10
+ set :deployer, -> { ENV['GIT_AUTHOR_NAME'] || %x[git config user.name].chomp } unless set?(:deployer)
11
+ set :deployed_revision, -> { ENV['GIT_COMMIT'] || %x[git rev-parse #{branch} unless set?()].strip } unless set?(:deployed_revision)
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Skype
3
- VERSION = "0.1.1"
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-skype
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Star Chow