wikidot-api 0.0.5 → 0.0.6

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3ecf28636b8a8e5907d5b6df0f475be264402fc7
4
+ data.tar.gz: d65ea96b5d64d434f237be3b95e8f06a9c7e9bff
5
+ SHA512:
6
+ metadata.gz: 06f90af54eae019908fad0a777883e6dad6a7b99cba2912347e9cb2ed7bb8ebe33cae43522d0faff74205c02205a1dfd5b248846457c256aa406c775a2219fcf
7
+ data.tar.gz: 705bca94f58f58ed2da0c6288f1c55094ab8fc07c580d983bb637176dc63c41c542b825cea0c65f467588ef7095bb6a4dcd2c4afc053608aa5c23d77174547e8
@@ -32,7 +32,11 @@ module WikidotAPI
32
32
  end
33
33
 
34
34
  def server
35
- @server ||= XMLRPC::Client.new2 endpoint_uri
35
+ @server ||= begin
36
+ client = XMLRPC::Client.new2 endpoint_uri
37
+ client.http_header_extra = {'accept-encoding' => 'identity'} if RUBY_VERSION == "2.0.0"
38
+ client
39
+ end
36
40
  end
37
41
 
38
42
  def query_options_string
@@ -1,3 +1,3 @@
1
1
  module WikidotAPI
2
- Version = '0.0.5'
2
+ Version = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,19 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wikidot-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Michał Frąckowiak
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-08-23 00:00:00.000000000 Z
11
+ date: 2013-06-06 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: ! 'Simple Ruby client library for Wikidot RPC API
15
-
16
- '
13
+ description: |
14
+ Simple Ruby client library for Wikidot RPC API
17
15
  email: michalf@wikidot.com
18
16
  executables: []
19
17
  extensions: []
@@ -28,27 +26,26 @@ files:
28
26
  - lib/wikidot_api.rb
29
27
  homepage: http://github.com/michalf/wikidot-api
30
28
  licenses: []
29
+ metadata: {}
31
30
  post_install_message:
32
31
  rdoc_options:
33
32
  - --charset=UTF-8
34
33
  require_paths:
35
34
  - lib
36
35
  required_ruby_version: !ruby/object:Gem::Requirement
37
- none: false
38
36
  requirements:
39
- - - ! '>='
37
+ - - '>='
40
38
  - !ruby/object:Gem::Version
41
39
  version: '0'
42
40
  required_rubygems_version: !ruby/object:Gem::Requirement
43
- none: false
44
41
  requirements:
45
- - - ! '>='
42
+ - - '>='
46
43
  - !ruby/object:Gem::Version
47
44
  version: '0'
48
45
  requirements: []
49
46
  rubyforge_project:
50
- rubygems_version: 1.8.17
47
+ rubygems_version: 2.0.0
51
48
  signing_key:
52
- specification_version: 3
49
+ specification_version: 4
53
50
  summary: Simple Ruby client library for Wikidot RPC API
54
51
  test_files: []