fastly 1.6.0 → 1.6.1

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: 10d1ee5f00e5a54a06df32a4dbc1e41ce8f8cdb0
4
- data.tar.gz: 3f71dd70500900ccc6f9441f527942460e65c370
3
+ metadata.gz: d69da680f547ebe68df65f4db6905661e72c7ee4
4
+ data.tar.gz: d6d8a88750d2e60542ea233f7ee49f1a4e489a68
5
5
  SHA512:
6
- metadata.gz: 0ac1c20ca21c3105213e374d01544053cacccbb5d5f2e04bc39705b005c8f21fd1093c1534db32c043bf7ada317d1315e135be0651316260626bd84f16a66f53
7
- data.tar.gz: 70ad854b592e01a1d068cc622c44d351269638de477652cfec6b25d955a2a535cc67c192c340953c04a0fe573a990c29d495781a19facce49edf5b7880574e53
6
+ metadata.gz: 540d77b92fd5f5b21b973798e7c4916c710520635a41a2857062b29221eafb53a8379a3cdd9de40deadf4c448eaa070e30c4fc6c7ecd68c34b9fb7292aef6ebc
7
+ data.tar.gz: ee06bc2486afa8cf08e29451268aa8b5a395a6ee213c4f65569514960531bea0e2fb75e22a65d51ff4f14b350245ba93f4e1df5e5353622abbf9aeb5e9205a50
data/.gitignore CHANGED
@@ -6,3 +6,4 @@ run_test.sh
6
6
  doc/*
7
7
  .*.sw?
8
8
  .env
9
+ gemfiles/*.lock
@@ -1,9 +1,15 @@
1
1
  language: ruby
2
2
  script: 'bundle exec rake test:unit'
3
3
  sudo: false
4
- rvm:
5
- - 1.9.3
6
- - 2.0.0
7
- - 2.1.9
8
- - 2.2.5
9
- - 2.3.1
4
+ matrix:
5
+ include:
6
+ - rvm: 1.9
7
+ gemfile: gemfiles/ruby_1.9.gemfile
8
+ - rvm: 2.0.0
9
+ gemfile: gemfiles/HEAD.gemfile
10
+ - rvm: 2.1.9
11
+ gemfile: gemfiles/HEAD.gemfile
12
+ - rvm: 2.2.5
13
+ gemfile: gemfiles/HEAD.gemfile
14
+ - rvm: 2.3.1
15
+ gemfile: gemfiles/HEAD.gemfile
@@ -0,0 +1,7 @@
1
+ appraise "ruby-1.9" do
2
+ gem "rubocop", "~> 0.41.0"
3
+ end
4
+
5
+ appraise "HEAD" do
6
+ gem "rubocop", "~> 0.42"
7
+ end
@@ -2,10 +2,37 @@
2
2
 
3
3
  ## [Unreleased](https://github.com/fastly/fastly-ruby/tree/HEAD)
4
4
 
5
- [Full Changelog](https://github.com/fastly/fastly-ruby/compare/v1.4.2...HEAD)
5
+ [Full Changelog](https://github.com/fastly/fastly-ruby/compare/v1.6.0...HEAD)
6
6
 
7
7
  **Merged pull requests:**
8
8
 
9
+ - fix: use Appraisal to fix dependency conflicts [\#97](https://github.com/fastly/fastly-ruby/pull/97) ([lanej](https://github.com/lanej))
10
+ - Add `format\_version` to S3Logging and Syslog resources [\#96](https://github.com/fastly/fastly-ruby/pull/96) ([schisamo](https://github.com/schisamo))
11
+
12
+ ## [v1.6.0](https://github.com/fastly/fastly-ruby/tree/v1.6.0) (2016-07-14)
13
+ [Full Changelog](https://github.com/fastly/fastly-ruby/compare/v1.5.0...v1.6.0)
14
+
15
+ **Merged pull requests:**
16
+
17
+ - Always add api key to requests if provided [\#93](https://github.com/fastly/fastly-ruby/pull/93) ([blithe](https://github.com/blithe))
18
+ - Fix header regex test [\#92](https://github.com/fastly/fastly-ruby/pull/92) ([blithe](https://github.com/blithe))
19
+ - Remove Origin model [\#91](https://github.com/fastly/fastly-ruby/pull/91) ([blithe](https://github.com/blithe))
20
+
21
+ ## [v1.5.0](https://github.com/fastly/fastly-ruby/tree/v1.5.0) (2016-07-08)
22
+ [Full Changelog](https://github.com/fastly/fastly-ruby/compare/v1.4.2...v1.5.0)
23
+
24
+ **Closed issues:**
25
+
26
+ - Support Edge Dictionaries [\#66](https://github.com/fastly/fastly-ruby/issues/66)
27
+ - version.locked? method returns incorrect value of true for unlocked version [\#47](https://github.com/fastly/fastly-ruby/issues/47)
28
+
29
+ **Merged pull requests:**
30
+
31
+ - build for all recent ruby patch-levels [\#90](https://github.com/fastly/fastly-ruby/pull/90) ([thommahoney](https://github.com/thommahoney))
32
+ - add Fastly::Dictionary\#item [\#89](https://github.com/fastly/fastly-ruby/pull/89) ([lanej](https://github.com/lanej))
33
+ - fix initialize [\#88](https://github.com/fastly/fastly-ruby/pull/88) ([lanej](https://github.com/lanej))
34
+ - Raised ArgumentError if api\_key or user/pass are not passed in. [\#87](https://github.com/fastly/fastly-ruby/pull/87) ([andriantoniades](https://github.com/andriantoniades))
35
+ - Add support for dictionary items [\#86](https://github.com/fastly/fastly-ruby/pull/86) ([icco](https://github.com/icco))
9
36
  - Reintroduced :locked so the version.locked? check works [\#83](https://github.com/fastly/fastly-ruby/pull/83) ([eddieroger](https://github.com/eddieroger))
10
37
 
11
38
  ## [v1.4.2](https://github.com/fastly/fastly-ruby/tree/v1.4.2) (2016-05-23)
data/Gemfile CHANGED
@@ -3,10 +3,10 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
+ gem 'appraisal', '~> 2.1'
6
7
  gem 'rake', '~> 10.3.2'
7
8
  gem 'rdoc', '~> 4.1.1'
8
9
  gem 'minitest', '~> 5.3.4'
9
10
  gem 'pry'
10
- gem 'rubocop'
11
11
  gem 'webmock'
12
12
  end
@@ -0,0 +1,16 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rubocop", "~> 0.42"
6
+
7
+ group :development, :test do
8
+ gem "appraisal", "~> 2.1"
9
+ gem "rake", "~> 10.3.2"
10
+ gem "rdoc", "~> 4.1.1"
11
+ gem "minitest", "~> 5.3.4"
12
+ gem "pry"
13
+ gem "webmock"
14
+ end
15
+
16
+ gemspec :path => "../"
@@ -0,0 +1,16 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rubocop", "~> 0.41.0"
6
+
7
+ group :development, :test do
8
+ gem "appraisal", "~> 2.1"
9
+ gem "rake", "~> 10.3.2"
10
+ gem "rdoc", "~> 4.1.1"
11
+ gem "minitest", "~> 5.3.4"
12
+ gem "pry"
13
+ gem "webmock"
14
+ end
15
+
16
+ gemspec :path => "../"
@@ -1,4 +1,4 @@
1
1
  # The current version of the library
2
2
  class Fastly
3
- VERSION = "1.6.0"
3
+ VERSION = "1.6.1"
4
4
  end
@@ -1,7 +1,7 @@
1
1
  class Fastly
2
2
  # An s3 endpoint to stream logs to
3
3
  class S3Logging < BelongsToServiceAndVersion
4
- attr_accessor :service_id, :name, :bucket_name, :access_key, :secret_key, :path, :period, :gzip_level, :format, :response_condition, :timestamp_format, :domain, :redundancy
4
+ attr_accessor :service_id, :name, :bucket_name, :access_key, :secret_key, :path, :period, :gzip_level, :format, :format_version, :response_condition, :timestamp_format, :domain, :redundancy
5
5
 
6
6
  ##
7
7
  # :attr: service_id
@@ -54,6 +54,13 @@ class Fastly
54
54
  #
55
55
  # Apache style log formatting
56
56
 
57
+ ##
58
+ # :attr: format_version
59
+ #
60
+ # The version of the custom logging format used for the configured endpoint.
61
+ # Can be either 1 (the default, version 1 log format) or 2 (the version 2
62
+ # log format).
63
+
57
64
  ##
58
65
  # :attr: response_condition
59
66
  #
@@ -1,7 +1,7 @@
1
1
  class Fastly
2
2
  # An endpoint to stream syslogs to
3
3
  class Syslog < BelongsToServiceAndVersion
4
- attr_accessor :service_id, :name, :comment, :ipv4, :ipv6, :hostname, :port, :token, :format, :response_conditions, :use_tls, :tls_hostname, :tls_ca_cert
4
+ attr_accessor :service_id, :name, :comment, :ipv4, :ipv6, :hostname, :port, :token, :format, :format_version, :response_conditions, :use_tls, :tls_hostname, :tls_ca_cert
5
5
 
6
6
  ##
7
7
  # :attr: service_id
@@ -63,6 +63,13 @@ class Fastly
63
63
  #
64
64
  # Format to log like in apache format
65
65
 
66
+ ##
67
+ # :attr: format_version
68
+ #
69
+ # The version of the custom logging format used for the configured endpoint.
70
+ # Can be either 1 (the default, version 1 log format) or 2 (the version 2
71
+ # log format).
72
+
66
73
  ##
67
74
  # :attr: response_condition
68
75
  #
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: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fastly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 00:00:00.000000000 Z
11
+ date: 2016-09-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Client library for the Fastly acceleration system
14
14
  email:
@@ -24,6 +24,7 @@ files:
24
24
  - ".gitignore"
25
25
  - ".rubocop.yml"
26
26
  - ".travis.yml"
27
+ - Appraisals
27
28
  - CHANGELOG.md
28
29
  - Gemfile
29
30
  - HISTORY.md
@@ -33,6 +34,8 @@ files:
33
34
  - bin/fastly_create_domain
34
35
  - bin/fastly_upload_vcl
35
36
  - fastly.gemspec
37
+ - gemfiles/HEAD.gemfile
38
+ - gemfiles/ruby_1.9.gemfile
36
39
  - lib/fastly.rb
37
40
  - lib/fastly/backend.rb
38
41
  - lib/fastly/base.rb
@@ -109,4 +112,3 @@ test_files:
109
112
  - test/missing_api_key_test.rb
110
113
  - test/stats_test.rb
111
114
  - test/test_helper.rb
112
- has_rdoc: