cfan122 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7952665fc6a379c6471861f7a785ce7b7a6d1ac0
4
- data.tar.gz: 3bb7568a433097cd66dd3731569cb19bd14d2b68
3
+ metadata.gz: 005fb2991ddffbebbb6397b2663a15a570551d07
4
+ data.tar.gz: 7b30d3471096b495505926ff6ed0a894d48c9d3f
5
5
  SHA512:
6
- metadata.gz: 6e13544b97204297ddee0de1419d553b06fce74e15a4decdacae2653ecc29879b9ad57d5afa7ef96c21e18ab416fca4fee1e4a8cfd79dc83296ff04d68e59a3a
7
- data.tar.gz: e86b660b0bbb05d821ae25e47a9d32c1ec96b414662eb4bdafc1544b232795e015777dd84f56d364568f218276553671d4970db7b3e3579aa66c09e57dda0381
6
+ metadata.gz: bf86b634b672c2a52c37fd9c529cf968b3c46c3afbb5498a1cd1ab7a11694b3188e39275ef88b937ccbc20a08a141093f0536ba5d1d02961f6fb98cdebc27d6e
7
+ data.tar.gz: dd579f64bc6b30c60e7da26996aff909aacbebf849b3ec1ddf858c5b4c9e3c6a6313b5701edf0a19ec938207d47e68d366196bfcf82cdc27b35013e628307590
@@ -5,7 +5,7 @@ module Cfan122
5
5
  class Config
6
6
  include Singleton
7
7
 
8
- attr_accessor :domain, :timeout, :username, :password, :debug
8
+ attr_accessor :domain, :timeout, :username, :password
9
9
 
10
10
  def initialize
11
11
  reset
@@ -15,7 +15,6 @@ module Cfan122
15
15
  @domain ||= 'http://www.122.gov.cn'
16
16
  @username = nil
17
17
  @password = nil
18
- @debug = false
19
18
  end
20
19
 
21
20
  end
@@ -7,7 +7,7 @@ module Cfan122
7
7
 
8
8
  included do
9
9
  include HTTParty
10
- debug_output $stdout
10
+ # debug_output $stdout
11
11
  headers({
12
12
  "Accept-Encoding" => 'gzip',
13
13
  "Accept" => 'application/json',
@@ -1,3 +1,3 @@
1
1
  module Cfan122
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfan122
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
  - cfanbase