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.
Files changed (6) hide show
  1. checksums.yaml +8 -8
  2. data/Gemfile.lock +1 -1
  3. data/Rakefile +35 -17
  4. data/VERSION +1 -1
  5. data/knife-chop.gemspec +3 -1
  6. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTI5MzRlZDU3YjcyNmE1ZWRkZjkxNGExNGRhZThkODEzNTJmYmQ3Yw==
4
+ N2U3MjAzMjZmNDNhM2ZlNWY5YmJmOTVhYjYzYzMzMGUxY2Y4MDE2NA==
5
5
  data.tar.gz: !binary |-
6
- ODlmMzZlZmRiYTE3OTFiMmFlY2I5NWYyYThhYjNjNDY3ODA4NDlhZQ==
6
+ OWM2ZjQ0YjhmZWVkNDBiOGJkY2M0YjZkYTk4MzVhMmU5MzNhYWZhOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGMxZmU5MzRlNjM0OTNiODIzZjY5ZjQ3ZTY4NmZlOGE5ZWYxY2E0NGRkZjQy
10
- MjNjZDVmYmI4OTc0MjA0MjM5OTAzZGVhYjQzOTRhNWM3OWZhNzdmZWI1YTFh
11
- MTZkNjUzZjAwNzg0NGNhZTUxYzAxZDNmZTQwNWNmNDVlOTM2MTE=
9
+ ZTI2MTM1ZjUwY2FjOGRiNWU3MWVlMWM1ZGJlYzVkZDA4YmQ0NjE1ZWVmYTQ5
10
+ YjU3ZjRjN2RiMjMxNWUyMjg0MGYwMDhjYWNiMzliNTcxMjk4ZDU2Mjc4YTI2
11
+ MDZiMjU3ZWZhZGNkMzZhYmI2NDZhNGZiNWEzZjY0MTMxNmMzNjA=
12
12
  data.tar.gz: !binary |-
13
- MGE1N2I0MjJiYzNjMDI1NmEzZjIwZTIyZWVlYTkzNjEwZDcwZmJhMTM3NmJl
14
- MTFmNDQ5ZjI3MDZkZWJmYTZlM2Y2NWM0YTNiNTZlMmQzZWY1MGE0NTc5NjYy
15
- ZDA3MGMxMmNhYmUxNjY1ZGI3ZDEzMWJlNjg0ODE1ZDY2NzY2MjA=
13
+ NWZkZTI4MWI4MmY5MTEyZWVlMjQ5NzBiZWFlNjYyNWYxZDViODM0OTQyMDAy
14
+ ODExNjJjZDQ0OTlhZWI3N2ZlNGUwNWZmYzg1NzQ5NTMyMzJlNWMyODQ2YTE5
15
+ NDkxMjZjODllY2RlZDA0N2EzMjNiNmZiMDA5NmY0ZWIxOTdhMDA=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- knife-chop (0.2.6)
4
+ knife-chop (0.2.7)
5
5
  awesome_print
6
6
  chef (~> 11.6.2)
7
7
  colorize
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
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
- gem.name = "knife-chop"
18
- gem.homepage = "http://github.com/dldinternet/knife-chop"
19
- gem.license = "MIT"
20
- gem.summary = %Q{Knife plugin to ease the upload and sync of Chef server assets}
21
- 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.}
22
- gem.email = "rubygems@dldinternet.com"
23
- gem.authors = ["Christo De Lange"]
24
- # dependencies defined in Gemfile
25
-
26
- gem.files.exclude '.document'
27
- gem.files.exclude '.rspec'
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
- Jeweler::RubygemsDotOrgTasks.new
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.6
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 = "0.2.6"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-chop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christo De Lange