ipecache 0.0.12 → 0.0.13

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: 773200b12ae0343b65d2a65c39eab74626449f59
4
- data.tar.gz: 36d5094174abfd8d5d93f71395a341f933fd01f6
3
+ metadata.gz: 25243ad5e2db233e3986d5ae63738afc3248f316
4
+ data.tar.gz: e68f7b2d3de72aa5e4cf5fc5f2c419cd8aeb97be
5
5
  SHA512:
6
- metadata.gz: c21e8f7f4b3ca6baa5a0add9fb71e6825da1b58185cf59aa543008f30e08a2a035792f6be5b7f4cb8413c4f1e283f111aa845163239c3560a704cc7c51600bb9
7
- data.tar.gz: 7a4847e31b811d89fb79cdfed6a3c3a96598a23678d59df346608dce98976bceab3a7e181941233e21e679cde78915d359f0252c04038ae2adbc22f9799469b9
6
+ metadata.gz: e5348b8aab09ba442b86aee4c24fd183d11b18c15effc1824560d3ec1fe841fd2cc8a8bd889923d2bf7451a050aa3eaf5baf80f1836aab78532bae24301cc931
7
+ data.tar.gz: d233f6f6ebe878a78777bd28fb35e724ca90a702669660d40777f453ee11a0fa8b1879c314570e9483cbf726f81a9d794e3e0ce81d3b3bb4ee12a0e58bbd118b
@@ -1,3 +1,9 @@
1
+ ## 0.0.13 (May 11th, 2017)
2
+
3
+ Features:
4
+
5
+ - Stop using deprecated Chef::REST, switch to ServerAPI (Thanks to @lozzd https://github.com/jonlives/ipecache/pull/15)
6
+
1
7
  ## 0.0.12 (April 20th, 2016)
2
8
 
3
9
  Features:
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'ipecache'
5
- gem.version = '0.0.12'
5
+ gem.version = '0.0.13'
6
6
  gem.authors = ["Jon Cowie"]
7
7
  gem.email = 'jonlives@gmail.com'
8
8
  gem.homepage = 'https://github.com/jonlives/ipecache'
@@ -18,7 +18,7 @@ module Ipecache
18
18
  exit 1
19
19
  elsif File.exists?(knife_file)
20
20
  Chef::Config.from_file(knife_file)
21
- rest_api = Chef::REST.new(Chef::Config[:chef_server_url])
21
+ rest_api = Chef::ServerAPI.new(Chef::Config[:chef_server_url])
22
22
  else
23
23
  plugin_puts "Knife config file #{knife_file} doesn't exist."
24
24
  exit 1
@@ -39,7 +39,7 @@ module Ipecache
39
39
 
40
40
  urls.each do |u|
41
41
  url = u.chomp
42
- plugin_puts ("Purging #{url}")
42
+ plugin_puts "Purging #{url}"
43
43
  nodes_ats_fqdns.each do |ats|
44
44
  hostname = URI.parse(url).host
45
45
  path = URI.parse(url).path
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ipecache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Cowie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-20 00:00:00.000000000 Z
11
+ date: 2017-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: app_conf
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.0.14
157
+ rubygems_version: 2.0.14.1
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: An extensible tool for purging urls from caches and CDNs