TTTrans 0.2.1 → 0.2.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
  SHA256:
3
- metadata.gz: ada13248eb93c0fedfb1f5acb72a82b570fc6faf813d6d2e8522ae1335f15cdc
4
- data.tar.gz: 84d2ebe765f4af226317f2c22ecfe338b10e7bc8d67fde9985af8f9f37383a71
3
+ metadata.gz: cd875cf64e830b987af63dd436e0c92ca377bb548f7e93102ccb2b5f8fcb8b56
4
+ data.tar.gz: 19a4082dbda971e05e3b6057d83f4bd17bfd1207e033a19d63964c5454939a29
5
5
  SHA512:
6
- metadata.gz: 9645467bb659308a4b2e2339b7d865e6dbd6c30e73292cc78c95c19d4792acf2895a1bed9055a2725fd517d9bb6899591ffa0ce6335418f5a030d4cbd6a47576
7
- data.tar.gz: 8b7e359728e90c2bc3ea80e3a3d5d55165cefd6e54eb76cac694b845b1eb39ad7b1a1d4bdbc1d32d649f3f390a8fb36a8bd7804204bab4b82ad465362af26ac4
6
+ metadata.gz: e463fec650fc09fbe1ff7fe63956af83670d267f2336c5a492cedd2aa02bb2a3230d09be74d225b6f6bd5b00002c661c38f8ecc2d9b42fdacbb1adc8e196231b
7
+ data.tar.gz: 31d6e7315c19786c7b6d6e1569a79dca1054544d9ffc8890c95bc8c8ad478bed4c62c14d2108358b019438a0419fd5f7abbabf13da3492ab665d4829d05e9ef6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- TTTrans (0.2.0)
4
+ TTTrans (0.2.2)
5
5
  inifile (~> 3.0.0)
6
6
  oauth (~> 0.5.10)
7
7
 
data/exe/ttt CHANGED
@@ -26,9 +26,10 @@ end
26
26
  envs = %w[TexTra_API_KEY TexTra_API_SECRET TexTra_ID].map do |item|
27
27
  ENV[item]
28
28
  end
29
- api_key = envs[0] unless envs[0] == ""
30
- api_secret = envs[1] unless envs[1] == ""
31
- user_id = envs[2] unless envs[2] == ""
29
+
30
+ api_key = envs[0] unless [nil, ""].include?(envs[0])
31
+ api_secret = envs[1] unless [nil, ""].include?(envs[1])
32
+ user_id = envs[2] unless [nil, ""].include?(envs[2])
32
33
 
33
34
  if config_exists?(api_key, api_secret, user_id)
34
35
  warn(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TTTrans
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: TTTrans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MURATA Mitsuharu