knife-skeleton 0.3.0 → 0.4.0

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: 7e38c8fc5c6113d220180199fa12ad52f0452df8
4
- data.tar.gz: 86fe00f3afd711cb4c9503d31a051f0db739325d
3
+ metadata.gz: 4c817e50a4d2db63164e7a679cf8f3de302b5744
4
+ data.tar.gz: 295ca6f41ee96c5d73ba6ed39c29254e281fb4d5
5
5
  SHA512:
6
- metadata.gz: f5dbd18a218c3296a41455abcfd1d1001acb482ce683b087626ae86229265c1896ed9ed1c9b43c1813966a856a73fe792b4673a419284837bcf02c8a02fea48a
7
- data.tar.gz: 8bfcbeee06106d91094ec8ed972f628cf7b888d844a54118e8f33d6ec9fcb609091dc8e2e6b947fd3edbae9ae6c2d12bddbfbef80f1ad88537a6c76e7e368fc1
6
+ metadata.gz: ce5d3a7a180209f73a147b4cb8ec347405a26c06a51e767716de81c8fab5ba4d87b1b472ad2dfbb4eecf50037c1de106b2df83607e09b18af2dab4f006ff4234
7
+ data.tar.gz: e2ea039cad2475e452e4fce80585cf4fb225294c6ac19f36b5b3e2c0ad0ae2cf3baddbbbc292b310c9930bb72a6126774162fefb396a133a7e0ab1a90838935e
data/files/Berksfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://supermarket.getchef.com'
1
+ source 'https://supermarket.chef.io'
2
2
 
3
3
  metadata
4
4
 
data/files/chefignore ADDED
@@ -0,0 +1,89 @@
1
+ # Put files/directories that should be ignored in this file when uploading
2
+ # or sharing to the community site.
3
+ # Lines that start with '# ' are comments.
4
+
5
+ # OS generated files #
6
+ ######################
7
+ .DS_Store
8
+ Icon?
9
+ nohup.out
10
+ ehthumbs.db
11
+ Thumbs.db
12
+
13
+ # SASS #
14
+ ########
15
+ .sass-cache
16
+
17
+ # EDITORS #
18
+ ###########
19
+ \#*
20
+ .#*
21
+ *~
22
+ *.sw[a-z]
23
+ *.bak
24
+ REVISION
25
+ TAGS*
26
+ tmtags
27
+ *_flymake.*
28
+ *_flymake
29
+ *.tmproj
30
+ .project
31
+ .settings
32
+ mkmf.log
33
+
34
+ ## COMPILED ##
35
+ ##############
36
+ a.out
37
+ *.o
38
+ *.pyc
39
+ *.so
40
+ *.com
41
+ *.class
42
+ *.dll
43
+ *.exe
44
+ */rdoc/
45
+
46
+ # Testing #
47
+ ###########
48
+ .watchr
49
+ .rspec
50
+ spec/*
51
+ spec/fixtures/*
52
+ test/*
53
+ features/*
54
+ Guardfile
55
+ Procfile
56
+ .rubocop.yml
57
+ Rakefile
58
+ .kitchen
59
+ .kitchen.*
60
+ dockerfiles
61
+
62
+ # SCM #
63
+ #######
64
+ .git
65
+ */.git
66
+ .gitignore
67
+ .gitmodules
68
+ .gitconfig
69
+ .gitattributes
70
+ .svn
71
+ */.bzr/*
72
+ */.hg/*
73
+ */.svn/*
74
+
75
+ # Berkshelf #
76
+ #############
77
+ Berksfile
78
+ Berksfile.lock
79
+ cookbooks/*
80
+ tmp
81
+
82
+ # Vagrant #
83
+ ###########
84
+ .vagrant
85
+ Vagrantfile
86
+
87
+ # Travis #
88
+ ##########
89
+ .travis.yml
@@ -196,6 +196,7 @@ eos
196
196
  .gitignore
197
197
  .rubocop.yml
198
198
  .travis.yml
199
+ .chefignore
199
200
  Rakefile
200
201
  ).each do |file_name|
201
202
  copy_file(cookbook_path, cookbook_name, file_name)
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Knife skeleton version
3
3
  module KnifeSkeleton
4
- VERSION = '0.3.0'
4
+ VERSION = '0.4.0'
5
5
  MAJOR, MINOR, TINY = VERSION.split('.')
6
6
  end
@@ -168,6 +168,7 @@ describe Chef::Knife::CookbookCreate do
168
168
  @knife.ui.should_receive(:msg).with("** Create 'Gemfile'")
169
169
  @knife.ui.should_receive(:msg).with("** Create '.gitignore'")
170
170
  @knife.ui.should_receive(:msg).with("** Create '.travis.yml'")
171
+ @knife.ui.should_receive(:msg).with("** Create '.chefignore'")
171
172
  @knife.ui.should_receive(:msg).with("** Create '.rubocop.yml'")
172
173
  @knife.ui.should_receive(:msg).with("** Create '.kitchen.yml'")
173
174
  @knife.ui.should_receive(:msg).with("** Create 'Rakefile'")
@@ -191,6 +192,7 @@ describe Chef::Knife::CookbookCreate do
191
192
  @knife.ui.should_receive(:warn).with("'.rubocop.yml' already exists")
192
193
  @knife.ui.should_receive(:warn).with("'.kitchen.yml' already exists")
193
194
  @knife.ui.should_receive(:warn).with("'.travis.yml' already exists")
195
+ @knife.ui.should_receive(:warn).with("'.chefignore' already exists")
194
196
  @knife.ui.should_receive(:warn).with("'Rakefile' already exists")
195
197
  @knife.ui.should_receive(:warn).with("'metadata.rb' already exists")
196
198
  @knife.ui.should_receive(:warn).with("'CHANGELOG.md' already exists")
@@ -230,6 +232,7 @@ describe Chef::Knife::CookbookCreate do
230
232
  .gitignore
231
233
  .rubocop.yml
232
234
  .travis.yml
235
+ .chefignore
233
236
  .kitchen.yml
234
237
  Rakefile
235
238
  CHANGELOG.md
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-skeleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre Rambaud
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-11 00:00:00.000000000 Z
12
+ date: 2015-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -128,6 +128,7 @@ files:
128
128
  - files/Berksfile
129
129
  - files/Gemfile
130
130
  - files/Rakefile
131
+ - files/chefignore
131
132
  - files/gitignore
132
133
  - files/licenses/apachev2
133
134
  - files/licenses/gplv2
@@ -184,4 +185,3 @@ test_files:
184
185
  - spec/chef/knife/knife_cookbook_create_extension_spec.rb
185
186
  - spec/knife_skeleton/template_spec.rb
186
187
  - spec/spec_helper.rb
187
- has_rdoc: