Update_Site_Cookbooks 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,17 +19,12 @@ All the code is in one page:
19
19
  Installation
20
20
  ------------
21
21
 
22
- gem 'Update_Site_Cookbooks'
22
+ gem install Update_Site_Cookbooks
23
23
 
24
24
  Usage
25
25
  ------
26
26
 
27
- One way:
28
-
29
- git branch chef-vendor-openssh
30
- Update_Site_Cookbooks
31
-
32
- Another way:
27
+ On your command line:
33
28
 
34
29
  knife cookbook site install openssh
35
30
  knife cookbook site install nginx
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  s.add_development_dependency 'rake'
25
25
  s.add_development_dependency 'Bacon_Colored'
26
26
  s.add_development_dependency 'pry'
27
- s.add_development_dependency 'Exit_Zero'
27
+ s.add_development_dependency 'Exit_0'
28
28
 
29
29
  # s.rubyforge_project = "Update_Site_Cookbooks"
30
30
  # specify any dependencies here; for example:
@@ -3,11 +3,11 @@
3
3
  #
4
4
 
5
5
 
6
- require "Exit_Zero"
6
+ require "Exit_0"
7
7
 
8
8
  PREFIX = "chef-vendor-"
9
9
 
10
- Exit_Zero( %!
10
+ Exit_0( %!
11
11
  git branch
12
12
  !).out.strip.split("\n").each { |raw|
13
13
  line = raw.strip
@@ -16,7 +16,7 @@ Exit_Zero( %!
16
16
  next unless line[ %r!^#{PREFIX}! ]
17
17
  next if !ARGV.empty? && !ARGV.include?(name)
18
18
 
19
- Exit_Zero "knife cookbook site install #{name}"
19
+ Exit_0 "knife cookbook site install #{name}"
20
20
  }
21
21
 
22
22
 
@@ -1,3 +1,3 @@
1
1
  class Update_Site_Cookbooks
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -3,7 +3,7 @@ require File.expand_path('spec/helper')
3
3
  require 'Update_Site_Cookbooks'
4
4
  require 'Bacon_Colored'
5
5
  require 'pry'
6
- require 'Exit_Zero'
6
+ require 'Exit_0'
7
7
 
8
8
  TEMP = "/tmp/Update_Site_Cookbooks"
9
9
  `rm -rf #{TEMP}`
@@ -1,6 +1,6 @@
1
1
  def Multi_Exit str
2
2
  str.strip.split("\n").each { |line|
3
- Exit_Zero line
3
+ Exit_0 line
4
4
  }
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Update_Site_Cookbooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-13 00:00:00.000000000 Z
12
+ date: 2012-04-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bacon
@@ -76,7 +76,7 @@ dependencies:
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  - !ruby/object:Gem::Dependency
79
- name: Exit_Zero
79
+ name: Exit_0
80
80
  requirement: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  requirements: []
150
150
  rubyforge_project:
151
- rubygems_version: 1.8.19
151
+ rubygems_version: 1.8.23
152
152
  signing_key:
153
153
  specification_version: 3
154
154
  summary: Update opscode cookbooks you downloaded.