librarian-chef 0.0.1.beta.2 → 0.0.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.
data/.gitignore CHANGED
@@ -1,9 +1,9 @@
1
- *.gem
2
- .bundle
3
- Gemfile.lock
4
- pkg/*
5
- tmp
6
- vendor
1
+ /*.gem
2
+ /.bundle
3
+ /Gemfile.lock
4
+ /pkg/*
5
+ /tmp
6
+ /vendor
7
7
 
8
- bin
9
- !bin/librarian-chef
8
+ /bin/*
9
+ !/bin/librarian-chef
@@ -0,0 +1,5 @@
1
+ # Change Log
2
+
3
+ ## 0.0.1
4
+
5
+ * Extract the chef adapter to its own gem.
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ lib = File.expand_path('../../lib', __FILE__)
4
+ $:.unshift(lib) unless $:.include?(lib)
5
+
6
+ require 'librarian/chef/cli'
7
+ Librarian::Chef::Cli.bin!
@@ -44,13 +44,13 @@ module Librarian
44
44
 
45
45
  private
46
46
 
47
- if IO.respond_to?(:binread)
47
+ if File.respond_to?(:binread)
48
48
  def binread(path)
49
- path.binread
49
+ File.binread(path)
50
50
  end
51
51
  else
52
52
  def binread(path)
53
- path.read
53
+ File.read(path)
54
54
  end
55
55
  end
56
56
 
@@ -1,5 +1,5 @@
1
1
  module Librarian
2
2
  module Chef
3
- VERSION = "0.0.1.beta.2"
3
+ VERSION = "0.0.1"
4
4
  end
5
5
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency "librarian", ">= 0.1.0.beta.1"
20
+ gem.add_dependency "librarian", "~> 0.1.0"
21
21
  gem.add_dependency "chef", ">= 0.10"
22
22
  gem.add_dependency "archive-tar-minitar", ">= 0.5.2"
23
23
 
metadata CHANGED
@@ -1,32 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librarian-chef
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: 6
5
- version: 0.0.1.beta.2
4
+ prerelease:
5
+ version: 0.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jay Feldblum
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-19 00:00:00.000000000 Z
12
+ date: 2013-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime
16
16
  version_requirements: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.1.0.beta.1
21
+ version: 0.1.0
22
22
  name: librarian
23
23
  prerelease: false
24
24
  requirement: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ! '>='
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.1.0.beta.1
29
+ version: 0.1.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  type: :runtime
32
32
  version_requirements: !ruby/object:Gem::Requirement
@@ -118,6 +118,7 @@ files:
118
118
  - .gitignore
119
119
  - .rspec
120
120
  - .travis.yml
121
+ - CHANGELOG.md
121
122
  - Gemfile
122
123
  - LICENSE.txt
123
124
  - README.md
@@ -157,14 +158,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
158
  - !ruby/object:Gem::Version
158
159
  segments:
159
160
  - 0
160
- hash: -678491194487026303
161
+ hash: 4422248623382062472
161
162
  version: '0'
162
163
  required_rubygems_version: !ruby/object:Gem::Requirement
163
164
  none: false
164
165
  requirements:
165
- - - ! '>'
166
+ - - ! '>='
166
167
  - !ruby/object:Gem::Version
167
- version: 1.3.1
168
+ segments:
169
+ - 0
170
+ hash: 4422248623382062472
171
+ version: '0'
168
172
  requirements: []
169
173
  rubyforge_project:
170
174
  rubygems_version: 1.8.25