koala 3.7.0 → 3.8.0

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
  SHA256:
3
- metadata.gz: cacc94480f8090c1c5380856b9315897e46b23b907efd411ab937d0c090d15ab
4
- data.tar.gz: da676d048bd4d57e41eccef84cd72f7793ecad5e591728bac7ba45c51e01bb93
3
+ metadata.gz: 7def64234f69cecf21daeb0c68586e30bf910897b7098afb12ab5f8e4d282400
4
+ data.tar.gz: fa72dede2aa3d5e1514e65b19bed263eb83494135b128c47e2125d842ed9f53c
5
5
  SHA512:
6
- metadata.gz: 709df731e154734f941caba0b9df74aa3c0201f1e769bed433947e4dc54e6c3c27396560dfcaedd6eccaaa5d2d3a02f01b7d09e934ad70e97d7f37f766794efd
7
- data.tar.gz: 9d15308a886501cedd51422a76a5e38e72b453ecfe0a067337b773b790c4a483cfc9c164c0299b62ca3f0cda0833201409b8e4dbdfbb934906df00888ef73516
6
+ metadata.gz: c9efc998919b1a31fc4692c35662408f02af1b22d431ddbaa6afc59c28a5aecfc328a90417d7a076d84ae3ddfdbf2882a47bebfa05607c5f8932995787193f8c
7
+ data.tar.gz: 1d8257c635cb709bf4fb99b1405605bfc3b3ad07e92e763d1d8d950b0ecd041979983326a3b1dbc6ec02f533869add21b568c500b250e0e26ccda2ee42b4b7a5
@@ -24,9 +24,5 @@ jobs:
24
24
  - name: Install dependencies
25
25
  run: bundle install --jobs 4 --retry 3
26
26
 
27
- - name: Specs & Coverage
28
- uses: paambaati/codeclimate-action@v6
29
- env:
30
- CC_TEST_REPORTER_ID: 7af99d9225b4c14640f9ec3cb2e24d2f7103ac49417b0bd989188fb6c25f2909
31
- with:
32
- coverageCommand: bundle exec rspec
27
+ - name: Run specs
28
+ run: bundle exec rspec
data/changelog.md CHANGED
@@ -15,6 +15,17 @@ Testing improvements:
15
15
 
16
16
  Others:
17
17
 
18
+ v3.8.0 (2026-10-25)
19
+ ==========
20
+
21
+ Updated features:
22
+
23
+ * Support json 3 by no longer passing the removed `quirks_mode` option to `JSON.parse` (json >= 2.0 is now required)
24
+
25
+ Testing improvements:
26
+
27
+ * Remove obsolete Code Climate coverage reporting from CI
28
+
18
29
  v3.7.0 (2025-08-27)
19
30
  ==========
20
31
 
data/koala.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
26
26
  gem.add_runtime_dependency("faraday")
27
27
  gem.add_runtime_dependency("faraday-multipart")
28
28
  gem.add_runtime_dependency("addressable")
29
- gem.add_runtime_dependency("json", ">= 1.8")
29
+ gem.add_runtime_dependency("json", ">= 2.0")
30
30
  gem.add_runtime_dependency("rexml")
31
31
  gem.add_runtime_dependency("base64")
32
32
  gem.add_runtime_dependency("ostruct")
@@ -11,9 +11,7 @@ module Koala
11
11
  end
12
12
 
13
13
  def data
14
- # quirks_mode is needed because Facebook sometimes returns a raw true or false value --
15
- # in Ruby 2.4 we can drop that.
16
- @data ||= JSON.parse(body, quirks_mode: true) unless body.empty?
14
+ @data ||= JSON.parse(body) unless body.empty?
17
15
  end
18
16
  end
19
17
  end
data/lib/koala/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Koala
2
- VERSION = "3.7.0"
2
+ VERSION = "3.8.0"
3
3
  end
data/readme.md CHANGED
@@ -1,4 +1,4 @@
1
- Koala [![Version](https://img.shields.io/gem/v/koala.svg)](https://rubygems.org/gems/koala) [![Build Status](https://img.shields.io/travis/arsduo/koala.svg)](http://travis-ci.org/arsduo/koala) [![Code Climate](https://img.shields.io/codeclimate/coverage-letter/arsduo/koala.svg)](https://codeclimate.com/github/arsduo/koala) [![Code Coverage](https://img.shields.io/codeclimate/coverage/arsduo/koala.svg)](https://codeclimate.com/github/arsduo/koala)
1
+ Koala [![Version](https://img.shields.io/gem/v/koala.svg)](https://rubygems.org/gems/koala) [![Build Status](https://img.shields.io/travis/arsduo/koala.svg)](http://travis-ci.org/arsduo/koala)
2
2
  ====
3
3
  [Koala](http://github.com/arsduo/koala) is a Facebook library for Ruby, supporting the Graph API (including the batch requests and photo uploads), the Marketing API, the Atlas API, realtime updates, test users, and OAuth validation. We wrote Koala with four goals:
4
4
 
@@ -226,7 +226,6 @@ module KoalaTest
226
226
  VCR.configure do |c|
227
227
  c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
228
228
  c.hook_into :webmock # or :fakeweb
229
- c.ignore_hosts 'codeclimate.com' # Allow test coverage to be reported
230
229
  end
231
230
  end
232
231
 
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: koala
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Koppel
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-10-25 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: faraday
@@ -57,14 +58,14 @@ dependencies:
57
58
  requirements:
58
59
  - - ">="
59
60
  - !ruby/object:Gem::Version
60
- version: '1.8'
61
+ version: '2.0'
61
62
  type: :runtime
62
63
  prerelease: false
63
64
  version_requirements: !ruby/object:Gem::Requirement
64
65
  requirements:
65
66
  - - ">="
66
67
  - !ruby/object:Gem::Version
67
- version: '1.8'
68
+ version: '2.0'
68
69
  - !ruby/object:Gem::Dependency
69
70
  name: rexml
70
71
  requirement: !ruby/object:Gem::Requirement
@@ -130,8 +131,8 @@ email: alex@alexkoppel.com
130
131
  executables: []
131
132
  extensions: []
132
133
  extra_rdoc_files:
133
- - changelog.md
134
134
  - readme.md
135
+ - changelog.md
135
136
  files:
136
137
  - ".github/workflows/test.yml"
137
138
  - ".gitignore"
@@ -199,6 +200,7 @@ homepage: http://github.com/arsduo/koala
199
200
  licenses:
200
201
  - MIT
201
202
  metadata: {}
203
+ post_install_message:
202
204
  rdoc_options:
203
205
  - "--line-numbers"
204
206
  - "--inline-source"
@@ -217,7 +219,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
219
  - !ruby/object:Gem::Version
218
220
  version: '0'
219
221
  requirements: []
220
- rubygems_version: 3.8.0.dev
222
+ rubygems_version: 3.4.19
223
+ signing_key:
221
224
  specification_version: 4
222
225
  summary: A lightweight, flexible library for Facebook with support for the Graph API,
223
226
  the REST API, realtime updates, and OAuth authentication.