fastly 2.3.0 → 2.3.1

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
  SHA256:
3
- metadata.gz: 77c4d6df5e0621d48acdbecb30dd4245dbcacc9225ca5485a3da71871108a006
4
- data.tar.gz: 232962c9bb9513d029cb23ae84e066a64b1238d5fe03c3ef0612d9bf946ade1c
3
+ metadata.gz: 9ee6396bd0e7d921f65997b2e7ed8c76b2e3c88e625ed3c3d4031d63d7a84e4c
4
+ data.tar.gz: 23d32988518aa888155cd666723ae0cb8e3d755f485ee07ff6fdded248717e3d
5
5
  SHA512:
6
- metadata.gz: aa2ad393f31e11794e9e8bc900583793ef301c84bceb07d7eaa68440f4ebf880de0d748290e2bfc09a113e007294f0fbb44f164895f40e1ab7c0c43450da33a1
7
- data.tar.gz: 82ba77b6314b2ffdebbfde260a121664a4b2687e9ad2e2f7950fd267278f3037dc33a6358e5d5d8a6b0998d4f8a6e3ea59a12b8b1e91d23dd186be66a56df8be
6
+ metadata.gz: 3ac2c02f762d8d6bcbac8251e22952e8f676507a7738b9e3220d63c30d91d81c2d7ded9dd99d176d8e60c96cfe47d5816890e23b43dcf26e15d48a56de8b80b8
7
+ data.tar.gz: d12772e06afba3f1577b76fce4c4818b772ac4189a12b6fb831ac99540078a0b0709b777e62e70b6e42e4d863b463e44ebf096b1bc2b0f01693a4e5f07395ecf
@@ -1,23 +1,46 @@
1
1
  # Change Log
2
2
 
3
- ## [v2.2.0]((https://github.com/fastly/fastly-ruby/tree/v2.2.0) (2018-12-10)
3
+ ## [v2.3.0](https://github.com/fastly/fastly-ruby/tree/v2.3.0) (2019-04-26)
4
+ [Full Changelog](https://github.com/fastly/fastly-ruby/compare/v2.2.0...v2.3.0)
5
+
6
+ **Closed issues:**
7
+
8
+ - Ruby 2.5.0, fastly-1.15.0: Purge Errors [\#130](https://github.com/fastly/fastly-ruby/issues/130)
9
+
10
+ **Merged pull requests:**
11
+
12
+ - make concurrent-ruby optional [\#145](https://github.com/fastly/fastly-ruby/pull/145) ([thommahoney](https://github.com/thommahoney))
13
+ - Use concurrent-ruby to handle thread safety for http client. [\#144](https://github.com/fastly/fastly-ruby/pull/144) ([demersus](https://github.com/demersus))
14
+ - Fix bug auth [\#143](https://github.com/fastly/fastly-ruby/pull/143) ([ichiee](https://github.com/ichiee))
15
+ - update ruby versions to latest supported [\#142](https://github.com/fastly/fastly-ruby/pull/142) ([thommahoney](https://github.com/thommahoney))
16
+
17
+ ## [v2.2.0](https://github.com/fastly/fastly-ruby/tree/v2.2.0) (2018-12-11)
4
18
  [Full Changelog](https://github.com/fastly/fastly-ruby/compare/v2.1.0...v2.2.0)
5
19
 
6
- - Add BigQuery logging
20
+ **Closed issues:**
21
+
22
+ - purging https url doesn't work [\#100](https://github.com/fastly/fastly-ruby/issues/100)
23
+
24
+ **Merged pull requests:**
25
+
26
+ - ✨ Add BigQuery logging \[APPENG-2076\] [\#138](https://github.com/fastly/fastly-ruby/pull/138) ([jamesarosen](https://github.com/jamesarosen))
27
+ - Update Fastly docs url [\#136](https://github.com/fastly/fastly-ruby/pull/136) ([crazyshot](https://github.com/crazyshot))
28
+ - 🔖 v2.1.0 [\#135](https://github.com/fastly/fastly-ruby/pull/135) ([jamesarosen](https://github.com/jamesarosen))
7
29
 
8
30
  ## [v2.1.0](https://github.com/fastly/fastly-ruby/tree/v2.1.0) (2018-06-18)
9
31
  [Full Changelog](https://github.com/fastly/fastly-ruby/compare/v2.0.0...v2.1.0)
10
32
 
11
- ** Merged pull requests:**
33
+ **Merged pull requests:**
12
34
 
13
- - Fix tests in continuous integration [\#134](https://github.com/fastly/fastly-ruby/pull/134) ([jamesarosen](https://github.com/jamesarosen))
14
- - Add more user relationships to Fastly::Customer [\#133](https://github.com/fastly/fastly-ruby/pull/133) ([jamesarosen](https://github.com/jamesarosen))
35
+ - 👷➕🐛✅ fix tests in CI [\#134](https://github.com/fastly/fastly-ruby/pull/134) ([jamesarosen](https://github.com/jamesarosen))
36
+ - add more user relationships to Customer [\#133](https://github.com/fastly/fastly-ruby/pull/133) ([jamesarosen](https://github.com/jamesarosen))
15
37
 
16
38
  ## [v2.0.0](https://github.com/fastly/fastly-ruby/tree/v2.0.0) (2018-05-17)
17
39
  [Full Changelog](https://github.com/fastly/fastly-ruby/compare/v1.15.0...v2.0.0)
18
40
 
19
41
  **Merged pull requests:**
20
42
 
43
+ - Update Changelog and version for 2.0.0 [\#129](https://github.com/fastly/fastly-ruby/pull/129) ([leklund](https://github.com/leklund))
21
44
  - Update version and CHANGELOG for Release v1.15.0 [\#128](https://github.com/fastly/fastly-ruby/pull/128) ([leklund](https://github.com/leklund))
22
45
  - Update fastly/invoice for v2 invoice endpoints [\#126](https://github.com/fastly/fastly-ruby/pull/126) ([leklund](https://github.com/leklund))
23
46
 
@@ -1,4 +1,4 @@
1
1
  # The current version of the library
2
2
  class Fastly
3
- VERSION = "2.3.0"
3
+ VERSION = "2.3.1"
4
4
  end
@@ -33,14 +33,9 @@ class Fastly
33
33
  #
34
34
  # Get a hash of stats from different data centers.
35
35
  #
36
- # Type can be one of
37
- # * minutely
38
- # * hourly
39
- # * daily
40
- # * all
41
- def stats(type = :all, opts = {})
42
- fail Error, "Unknown stats type #{type}" unless [:minutely, :hourly, :daily, :all].include?(type.to_sym)
43
- fetcher.client.get("#{Service.get_path(id)}/stats/#{type}", opts)
36
+ # Type is always :all (argument is ignored)
37
+ def stats(_type = :all, opts = {})
38
+ fetcher.client.get("#{Service.get_path(id)}/stats/summary", opts)
44
39
  end
45
40
 
46
41
  # Return a Invoice object representing the invoice for this service
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fastly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-26 00:00:00.000000000 Z
11
+ date: 2019-07-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Client library for the Fastly acceleration system
14
14
  email:
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.0.1
109
+ rubygems_version: 3.0.3
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Client library for the Fastly acceleration system