knife-chop 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/Rakefile +35 -17
- data/VERSION +1 -1
- data/knife-chop.gemspec +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2U3MjAzMjZmNDNhM2ZlNWY5YmJmOTVhYjYzYzMzMGUxY2Y4MDE2NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWM2ZjQ0YjhmZWVkNDBiOGJkY2M0YjZkYTk4MzVhMmU5MzNhYWZhOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTI2MTM1ZjUwY2FjOGRiNWU3MWVlMWM1ZGJlYzVkZDA4YmQ0NjE1ZWVmYTQ5
|
10
|
+
YjU3ZjRjN2RiMjMxNWUyMjg0MGYwMDhjYWNiMzliNTcxMjk4ZDU2Mjc4YTI2
|
11
|
+
MDZiMjU3ZWZhZGNkMzZhYmI2NDZhNGZiNWEzZjY0MTMxNmMzNjA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWZkZTI4MWI4MmY5MTEyZWVlMjQ5NzBiZWFlNjYyNWYxZDViODM0OTQyMDAy
|
14
|
+
ODExNjJjZDQ0OTlhZWI3N2ZlNGUwNWZmYzg1NzQ5NTMyMzJlNWMyODQ2YTE5
|
15
|
+
NDkxMjZjODllY2RlZDA0N2EzMjNiNmZiMDA5NmY0ZWIxOTdhMDA=
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
|
+
require 'rubygems/package_task'
|
4
5
|
require 'bundler'
|
5
6
|
begin
|
6
7
|
Bundler.setup(:default, :development)
|
@@ -11,24 +12,40 @@ rescue Bundler::BundlerError => e
|
|
11
12
|
end
|
12
13
|
require 'rake'
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
gem.files.exclude '.ruby-*'
|
29
|
-
gem.files.exclude '.idea/**'
|
15
|
+
|
16
|
+
Dir[File.expand_path("../*gemspec", __FILE__)].reverse.each do |gemspec_path|
|
17
|
+
gemspec = eval(IO.read(gemspec_path))
|
18
|
+
Gem::PackageTask.new(gemspec).define
|
19
|
+
end
|
20
|
+
|
21
|
+
require File.dirname(__FILE__) + '/lib/chef/knife/chop/version'
|
22
|
+
desc "Build it, tag it and ship it"
|
23
|
+
task :ship => :gem do
|
24
|
+
sh("git tag #{::Knife::Chop::VERSION}")
|
25
|
+
sh("git push origin --tags")
|
26
|
+
Dir[File.expand_path("../pkg/*.gem", __FILE__)].reverse.each do |built_gem|
|
27
|
+
sh("gem push #{built_gem}")
|
28
|
+
end
|
30
29
|
end
|
31
|
-
|
30
|
+
|
31
|
+
#require 'jeweler'
|
32
|
+
#Jeweler::Tasks.new do |gem|
|
33
|
+
# # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
34
|
+
# gem.name = "knife-chop"
|
35
|
+
# gem.homepage = "http://github.com/dldinternet/knife-chop"
|
36
|
+
# gem.license = "MIT"
|
37
|
+
# gem.summary = %Q{Knife plugin to ease the upload and sync of Chef server assets}
|
38
|
+
# gem.description = %Q{Knife plugin to assist with the upload and sync of Chef server assets like roles, environments and cookbooks allowing for multiple parts to be uploaded at once to multiple environments. Resources can be matched with regular expressions.}
|
39
|
+
# gem.email = "rubygems@dldinternet.com"
|
40
|
+
# gem.authors = ["Christo De Lange"]
|
41
|
+
# # dependencies defined in Gemfile
|
42
|
+
#
|
43
|
+
# gem.files.exclude '.document'
|
44
|
+
# gem.files.exclude '.rspec'
|
45
|
+
# gem.files.exclude '.ruby-*'
|
46
|
+
# gem.files.exclude '.idea/**'
|
47
|
+
#end
|
48
|
+
#Jeweler::RubygemsDotOrgTasks.new
|
32
49
|
|
33
50
|
require 'rspec/core'
|
34
51
|
require 'rspec/core/rake_task'
|
@@ -52,3 +69,4 @@ Rake::RDocTask.new do |rdoc|
|
|
52
69
|
rdoc.rdoc_files.include('README*')
|
53
70
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
54
71
|
end
|
72
|
+
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.7
|
data/knife-chop.gemspec
CHANGED
@@ -4,9 +4,10 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
# stub: knife-chop 0.2.4 ruby lib
|
6
6
|
|
7
|
+
require File.dirname(__FILE__) + '/lib/chef/knife/chop/version'
|
7
8
|
Gem::Specification.new do |s|
|
8
9
|
s.name = "knife-chop"
|
9
|
-
s.version =
|
10
|
+
s.version = ::Knife::Chop::VERSION
|
10
11
|
|
11
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
13
|
s.authors = ["Christo De Lange"]
|
@@ -78,6 +79,7 @@ Gem::Specification.new do |s|
|
|
78
79
|
s.require_paths = ["lib"]
|
79
80
|
s.rubygems_version = "2.1.5"
|
80
81
|
s.summary = "Knife plugin to ease the upload and sync of Chef server assets"
|
82
|
+
s.executables = %w( chop )
|
81
83
|
|
82
84
|
if s.respond_to? :specification_version then
|
83
85
|
s.specification_version = 4
|