panoptes-client 0.2.8 → 0.2.9

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: 3621f283592595fbf4099b4bfc445e5114b0e18e
4
- data.tar.gz: 3a54d9787e2b0db82594ccd408376696161a780c
3
+ metadata.gz: 96266ed38b7d4fe259e619442a846799aa288869
4
+ data.tar.gz: 37cd787d50f953f09859225fa8c4d266047bd112
5
5
  SHA512:
6
- metadata.gz: 516d1f3d47837241e73c0a30cc21ea3691c367b290a39284f088d98873d1c4aa8b2c63ba8b97ce2325dfc8befbedd170d4e473ca3497e2ca8cc0ec2dc8eeae43
7
- data.tar.gz: 5d3f8289862edb747d826bce689ad3f3eff82ab310c7e7ff29d13998bfc807671982ae68baf3f8658cf0a5b793614da7c8b98cb45cc791d941556a4462c5b194
6
+ metadata.gz: 6a0411f918d38ce50975a7cd1d969813186451df2b212df426d0ae2bf03cc65a4cf9b66d1d5e052e648c46810d5db518c5307c09be564862b8a8cad10952f357
7
+ data.tar.gz: 43113eb2812115dc0798a76c8e93c4a14e8205902a1a7d1c65bdbb4390c4497dd2aeb841c92c420dda1fb853d4de4175da388225f492d034e6981843ef238ae5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.2.9
2
+
3
+ * Be compatible with JRuby
4
+
1
5
  # 0.2.8
2
6
 
3
7
  * Merged Client and TalkClient: `client.discussions` is now just on Client. TalkClient is still present as an alias for Client
@@ -1,5 +1,5 @@
1
1
  module Panoptes
2
2
  class Client
3
- VERSION = "0.2.8".freeze
3
+ VERSION = "0.2.9".freeze
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@ module Panoptes
7
7
  # @see Panoptes::Endpoints::BaseEndpoint#initialize
8
8
  def initialize(auth: {}, url: nil, prefix: nil, &config)
9
9
  super auth: auth, url: url, prefix: prefix do |faraday|
10
- config&.call faraday
10
+ config.call(faraday) if config
11
11
  faraday.request :json
12
12
  faraday.response :json
13
13
  faraday.adapter Faraday.default_adapter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panoptes-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-25 00:00:00.000000000 Z
11
+ date: 2016-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.5.1
185
+ rubygems_version: 2.5.2
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: API wrapper for https://panoptes.zooniverse.org