jugyo-twitter_oauth 0.5.0.pre2 → 0.5.0.pre3

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: 2613a1a8e813111ff42327cf22471949e516fa9d
4
- data.tar.gz: d5cc2bd9e5bf09fbd87cec2d5a932ae8d8f24720
3
+ metadata.gz: 605db179a51454f8981ba851c45584ac036ef275
4
+ data.tar.gz: 2734b980d409216401c0ab1ddefa824207a9bc15
5
5
  SHA512:
6
- metadata.gz: 80fe3be97ea3a0ce64a5531e3e90bc1825fde379cfa4292d27412152b67d07e078480e760dfff7026e9b5c2118b7c60e4a724454e757fdbd8753c93162685ee2
7
- data.tar.gz: 4afbdf8f7bfff81e93bdeb86233fc435023cac8bb61b1bd51a05c2d4fa02a661d0a89fced06689e257db9f1418d84180484adb172b3c8ae2e21f17f4164386cc
6
+ metadata.gz: 42ad543adf24dad2d61f52f9a92b7e8636a9feef7ad7d74b66eb9c17ce1d7dc8ef491f3f77ca02d1e2b30b4963a1f9e94b0cfe6a63a41ff17f8d9b18ee6b4f9c
7
+ data.tar.gz: c06c6ca1ba2f94ad57fac18f5a24ab76c865e715c505c0929f0e30c2f75be60a1d2491cba913e00673a87ef230378975c669ba7e49c9a3a1af4a3453e0f4db62
@@ -26,6 +26,7 @@ module TwitterOAuth
26
26
  @secret = options[:secret]
27
27
  @proxy = options[:proxy]
28
28
  @debug = options[:debug]
29
+ @secure = options[:secure]
29
30
  @api_version = options[:api_version] || '1'
30
31
  @api_host = options[:api_host] || 'api.twitter.com'
31
32
  @search_host = options[:search_host] || 'search.twitter.com'
@@ -62,7 +63,7 @@ module TwitterOAuth
62
63
  private
63
64
 
64
65
  def consumer(options={})
65
- options[:secure] ||= false
66
+ options[:secure] ||= @secure
66
67
  protocol = options[:secure] ? 'https' : 'http'
67
68
  @consumer ||= OAuth::Consumer.new(
68
69
  @consumer_key,
@@ -1,3 +1,3 @@
1
1
  module TwitterOAuth
2
- VERSION = '0.5.0.pre2'
2
+ VERSION = '0.5.0.pre3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jugyo-twitter_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.pre2
4
+ version: 0.5.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Taylor