ridley 5.1.0 → 5.1.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
  SHA1:
3
- metadata.gz: 24d4f9c89fbf8813303727731e85b9c25497479d
4
- data.tar.gz: 3b6bf4313cc4c8b7094eeda749ea91352f6b3eb0
3
+ metadata.gz: 70e56ad1675bb2f33708c992f83692102399fd80
4
+ data.tar.gz: cea4cb6e53e26463924614a6609a3d964fa62cb0
5
5
  SHA512:
6
- metadata.gz: ba84a9f86d11775566759e0ae5a4ac8e55416b5935b17847429e4d6e3ea0c38bc6df1857a43a5858cfcb550e9fe6e020db510cc2bff32a786513ac8e0665dccc
7
- data.tar.gz: 016af58b7cdcd52f23ab22700d9caee6418a25f657955f56aa4423120d51901ff7b82d53e7eceb454ae0bbe1625c18cb1968405c976840666bd8f4a3f8b786d1
6
+ metadata.gz: c39a8f169544ebe02728b5db13dfdc30a8926cb182429ba55e5a0c0aad82d0dbe45ea5daceec00845044ee842a30776f845bfe468268dadd3d25a75160e7091b
7
+ data.tar.gz: d046d010f1dbfad2f286f26df5639f3a70b31d1450c7538d3b7ce7cbfb02788b5acd52fc5cbbea69ea8d6db9a2dcb40cdb4e9e177c4f8550b44d3ffb4f245796
@@ -0,0 +1,5 @@
1
+ * text=auto
2
+ *.h text eol=lf
3
+ *.erb text eol=lf
4
+ *.txt text eol=lf
5
+ *.json text eol=lf
@@ -0,0 +1,36 @@
1
+ version: "master-{build}"
2
+
3
+ os: Windows Server 2012 R2
4
+ platform:
5
+ - x64
6
+
7
+ environment:
8
+ matrix:
9
+ - ruby_version: "23-x64"
10
+ - ruby_version: "23"
11
+
12
+ clone_depth: 1
13
+ skip_tags: true
14
+ skip_branch_with_pr: true
15
+ branches:
16
+ only:
17
+ - master
18
+
19
+ install:
20
+ - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
21
+ - ruby --version
22
+ - gem update --system || gem update --system || gem update --system
23
+ - gem install bundler --quiet --no-ri --no-rdoc || gem install bundler --quiet --no-ri --no-rdoc || gem install bundler --quiet --no-ri --no-rdoc
24
+ - update_rubygems
25
+ - gem --version
26
+ - bundler --version
27
+ - SET BUNDLE_IGNORE_CONFIG=true
28
+ - SET CI=true
29
+ - SET BUNDLE_WITHOUT=development:guard:maintenance:tools:integration:changelog:docgen:travis:style:omnibus_package:aix:bsd:linux:mac_os_x:solaris
30
+
31
+ build_script:
32
+ - bundle install || bundle install || bundle install
33
+
34
+ test_script:
35
+ - SET SPEC_OPTS=--format progress
36
+ - bundle exec thor spec:all
@@ -119,7 +119,7 @@ module Ridley::Chef
119
119
  # path to the compiled metadata
120
120
  def compile_metadata(out = self.path)
121
121
  filepath = File.join(out, Metadata::COMPILED_FILE_NAME)
122
- File.open(filepath, "w+") do |f|
122
+ File.open(filepath, "wb+") do |f|
123
123
  f.write(metadata.to_json)
124
124
  end
125
125
 
@@ -14,7 +14,7 @@ module Ridley
14
14
  #
15
15
  # @return [Logger]
16
16
  def set_logger(obj)
17
- @logger = (obj.nil? ? Logger.new('/dev/null') : obj)
17
+ @logger = (obj.nil? ? Logger.new(File::NULL) : obj)
18
18
  end
19
19
  alias_method :logger=, :set_logger
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module Ridley
2
- VERSION = "5.1.0"
2
+ VERSION = "5.1.1"
3
3
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_dependency 'celluloid-io', '~> 0.16.1'
28
28
  s.add_dependency 'chef-config', '>= 12.5.0'
29
29
  s.add_dependency 'erubis'
30
- s.add_dependency 'faraday', '~> 0.9.0'
30
+ s.add_dependency 'faraday', '~> 0.9'
31
31
  s.add_dependency 'hashie', '>= 2.0.2', '< 4.0.0'
32
32
  s.add_dependency 'httpclient', '~> 2.7'
33
33
  s.add_dependency 'json', '>= 1.7.7'
@@ -11,7 +11,7 @@ describe Ridley::Connection do
11
11
 
12
12
  context " when proxy environment variables are set" do
13
13
  subject do
14
- described_class.new('http://0.0.0.0:8889', client_name, client_key)
14
+ described_class.new('http://127.0.0.1:8889', client_name, client_key)
15
15
  end
16
16
 
17
17
  it "fails with http_proxy set without no_proxy" do
@@ -24,7 +24,7 @@ describe Ridley::Connection do
24
24
  it "works with http_proxy and no_proxy set" do
25
25
  stub_const('ENV', ENV.to_hash.merge(
26
26
  'http_proxy' => 'http://i.am.an.http.proxy',
27
- 'no_proxy' => '0.0.0.0:8889')
27
+ 'no_proxy' => '127.0.0.1:8889')
28
28
  )
29
29
  expect(subject.get('/nodes').status).to eq(200)
30
30
  end
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe Ridley::Logging::Logger do
4
- subject { described_class.new("/dev/null") }
4
+ subject { described_class.new(File::NULL) }
5
5
  let(:message) { "my message" }
6
6
  let(:filtered_param) { "message" }
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridley
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-09-13 00:00:00.000000000 Z
12
+ date: 2017-05-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: addressable
@@ -157,14 +157,14 @@ dependencies:
157
157
  requirements:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: 0.9.0
160
+ version: '0.9'
161
161
  type: :runtime
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: 0.9.0
167
+ version: '0.9'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: hashie
170
170
  requirement: !ruby/object:Gem::Requirement
@@ -277,6 +277,7 @@ executables: []
277
277
  extensions: []
278
278
  extra_rdoc_files: []
279
279
  files:
280
+ - ".gitattributes"
280
281
  - ".gitignore"
281
282
  - ".travis.yml"
282
283
  - CHANGELOG.md
@@ -286,6 +287,7 @@ files:
286
287
  - README.md
287
288
  - Rakefile
288
289
  - Thorfile
290
+ - appveyor.yml
289
291
  - lib/ridley.rb
290
292
  - lib/ridley/chef.rb
291
293
  - lib/ridley/chef/chefignore.rb
@@ -429,7 +431,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
429
431
  version: '0'
430
432
  requirements: []
431
433
  rubyforge_project:
432
- rubygems_version: 2.6.6
434
+ rubygems_version: 2.6.12
433
435
  signing_key:
434
436
  specification_version: 4
435
437
  summary: A reliable Chef API client with a clean syntax