poise-git 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.kitchen.yml +3 -0
  4. data/.travis.yml +54 -0
  5. data/.yardopts +7 -0
  6. data/CHANGELOG.md +5 -0
  7. data/Gemfile +36 -0
  8. data/LICENSE +201 -0
  9. data/README.md +151 -0
  10. data/Rakefile +17 -0
  11. data/chef/attributes/default.rb +26 -0
  12. data/chef/recipes/default.rb +22 -0
  13. data/lib/poise_git.rb +24 -0
  14. data/lib/poise_git/cheftie.rb +18 -0
  15. data/lib/poise_git/git_client_providers.rb +36 -0
  16. data/lib/poise_git/git_client_providers/base.rb +93 -0
  17. data/lib/poise_git/git_client_providers/dummy.rb +79 -0
  18. data/lib/poise_git/git_client_providers/system.rb +73 -0
  19. data/lib/poise_git/git_command_mixin.rb +37 -0
  20. data/lib/poise_git/resources.rb +27 -0
  21. data/lib/poise_git/resources/poise_git.rb +252 -0
  22. data/lib/poise_git/resources/poise_git_client.rb +82 -0
  23. data/lib/poise_git/safe_string.rb +25 -0
  24. data/lib/poise_git/version.rb +20 -0
  25. data/poise-git.gemspec +42 -0
  26. data/test/cookbook/metadata.rb +18 -0
  27. data/test/cookbook/recipes/default.rb +96 -0
  28. data/test/gemfiles/chef-12.1.gemfile +23 -0
  29. data/test/gemfiles/chef-12.10.gemfile +23 -0
  30. data/test/gemfiles/chef-12.11.gemfile +23 -0
  31. data/test/gemfiles/chef-12.12.gemfile +22 -0
  32. data/test/gemfiles/chef-12.13.gemfile +22 -0
  33. data/test/gemfiles/chef-12.14.gemfile +19 -0
  34. data/test/gemfiles/chef-12.15.gemfile +19 -0
  35. data/test/gemfiles/chef-12.16.gemfile +19 -0
  36. data/test/gemfiles/chef-12.17.gemfile +19 -0
  37. data/test/gemfiles/chef-12.18.gemfile +19 -0
  38. data/test/gemfiles/chef-12.19.gemfile +19 -0
  39. data/test/gemfiles/chef-12.2.gemfile +23 -0
  40. data/test/gemfiles/chef-12.3.gemfile +23 -0
  41. data/test/gemfiles/chef-12.4.gemfile +24 -0
  42. data/test/gemfiles/chef-12.5.gemfile +23 -0
  43. data/test/gemfiles/chef-12.6.gemfile +23 -0
  44. data/test/gemfiles/chef-12.7.gemfile +23 -0
  45. data/test/gemfiles/chef-12.8.gemfile +23 -0
  46. data/test/gemfiles/chef-12.9.gemfile +23 -0
  47. data/test/gemfiles/chef-12.gemfile +19 -0
  48. data/test/gemfiles/master.gemfile +25 -0
  49. data/test/integration/default/serverspec/default_spec.rb +49 -0
  50. data/test/spec/git_client_providers/dummy_spec.rb +76 -0
  51. data/test/spec/git_client_providers/system_spec.rb +64 -0
  52. data/test/spec/recipe_spec.rb +35 -0
  53. data/test/spec/resources/poise_git_client.rb +64 -0
  54. data/test/spec/resources/poise_git_spec.rb +153 -0
  55. data/test/spec/spec_helper.rb +19 -0
  56. metadata +208 -0
@@ -0,0 +1,19 @@
1
+ #
2
+ # Copyright 2017, Noah Kantrowitz
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+
17
+ require 'poise_boiler/spec_helper'
18
+ require 'poise_git'
19
+ require 'poise_git/cheftie'
metadata ADDED
@@ -0,0 +1,208 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: poise-git
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Noah Kantrowitz
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-03-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: chef
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '12.1'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '14'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '12.1'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '14'
33
+ - !ruby/object:Gem::Dependency
34
+ name: halite
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.1'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.1'
47
+ - !ruby/object:Gem::Dependency
48
+ name: poise
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.6'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '2.6'
61
+ - !ruby/object:Gem::Dependency
62
+ name: poise-languages
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '2.1'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '2.1'
75
+ - !ruby/object:Gem::Dependency
76
+ name: poise-boiler
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '1.6'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '1.6'
89
+ description: A Chef cookbook for installing and using Git.
90
+ email:
91
+ - noah@coderanger.net
92
+ executables: []
93
+ extensions: []
94
+ extra_rdoc_files: []
95
+ files:
96
+ - ".gitignore"
97
+ - ".kitchen.yml"
98
+ - ".travis.yml"
99
+ - ".yardopts"
100
+ - CHANGELOG.md
101
+ - Gemfile
102
+ - LICENSE
103
+ - README.md
104
+ - Rakefile
105
+ - chef/attributes/default.rb
106
+ - chef/recipes/default.rb
107
+ - lib/poise_git.rb
108
+ - lib/poise_git/cheftie.rb
109
+ - lib/poise_git/git_client_providers.rb
110
+ - lib/poise_git/git_client_providers/base.rb
111
+ - lib/poise_git/git_client_providers/dummy.rb
112
+ - lib/poise_git/git_client_providers/system.rb
113
+ - lib/poise_git/git_command_mixin.rb
114
+ - lib/poise_git/resources.rb
115
+ - lib/poise_git/resources/poise_git.rb
116
+ - lib/poise_git/resources/poise_git_client.rb
117
+ - lib/poise_git/safe_string.rb
118
+ - lib/poise_git/version.rb
119
+ - poise-git.gemspec
120
+ - test/cookbook/metadata.rb
121
+ - test/cookbook/recipes/default.rb
122
+ - test/docker/docker.ca
123
+ - test/docker/docker.pem
124
+ - test/gemfiles/chef-12.1.gemfile
125
+ - test/gemfiles/chef-12.10.gemfile
126
+ - test/gemfiles/chef-12.11.gemfile
127
+ - test/gemfiles/chef-12.12.gemfile
128
+ - test/gemfiles/chef-12.13.gemfile
129
+ - test/gemfiles/chef-12.14.gemfile
130
+ - test/gemfiles/chef-12.15.gemfile
131
+ - test/gemfiles/chef-12.16.gemfile
132
+ - test/gemfiles/chef-12.17.gemfile
133
+ - test/gemfiles/chef-12.18.gemfile
134
+ - test/gemfiles/chef-12.19.gemfile
135
+ - test/gemfiles/chef-12.2.gemfile
136
+ - test/gemfiles/chef-12.3.gemfile
137
+ - test/gemfiles/chef-12.4.gemfile
138
+ - test/gemfiles/chef-12.5.gemfile
139
+ - test/gemfiles/chef-12.6.gemfile
140
+ - test/gemfiles/chef-12.7.gemfile
141
+ - test/gemfiles/chef-12.8.gemfile
142
+ - test/gemfiles/chef-12.9.gemfile
143
+ - test/gemfiles/chef-12.gemfile
144
+ - test/gemfiles/master.gemfile
145
+ - test/integration/default/serverspec/default_spec.rb
146
+ - test/spec/git_client_providers/dummy_spec.rb
147
+ - test/spec/git_client_providers/system_spec.rb
148
+ - test/spec/recipe_spec.rb
149
+ - test/spec/resources/poise_git_client.rb
150
+ - test/spec/resources/poise_git_spec.rb
151
+ - test/spec/spec_helper.rb
152
+ homepage: https://github.com/poise/poise-git
153
+ licenses:
154
+ - Apache 2.0
155
+ metadata: {}
156
+ post_install_message:
157
+ rdoc_options: []
158
+ require_paths:
159
+ - lib
160
+ required_ruby_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ requirements: []
171
+ rubyforge_project:
172
+ rubygems_version: 2.6.4
173
+ signing_key:
174
+ specification_version: 4
175
+ summary: A Chef cookbook for installing and using Git.
176
+ test_files:
177
+ - test/cookbook/metadata.rb
178
+ - test/cookbook/recipes/default.rb
179
+ - test/docker/docker.ca
180
+ - test/docker/docker.pem
181
+ - test/gemfiles/chef-12.1.gemfile
182
+ - test/gemfiles/chef-12.10.gemfile
183
+ - test/gemfiles/chef-12.11.gemfile
184
+ - test/gemfiles/chef-12.12.gemfile
185
+ - test/gemfiles/chef-12.13.gemfile
186
+ - test/gemfiles/chef-12.14.gemfile
187
+ - test/gemfiles/chef-12.15.gemfile
188
+ - test/gemfiles/chef-12.16.gemfile
189
+ - test/gemfiles/chef-12.17.gemfile
190
+ - test/gemfiles/chef-12.18.gemfile
191
+ - test/gemfiles/chef-12.19.gemfile
192
+ - test/gemfiles/chef-12.2.gemfile
193
+ - test/gemfiles/chef-12.3.gemfile
194
+ - test/gemfiles/chef-12.4.gemfile
195
+ - test/gemfiles/chef-12.5.gemfile
196
+ - test/gemfiles/chef-12.6.gemfile
197
+ - test/gemfiles/chef-12.7.gemfile
198
+ - test/gemfiles/chef-12.8.gemfile
199
+ - test/gemfiles/chef-12.9.gemfile
200
+ - test/gemfiles/chef-12.gemfile
201
+ - test/gemfiles/master.gemfile
202
+ - test/integration/default/serverspec/default_spec.rb
203
+ - test/spec/git_client_providers/dummy_spec.rb
204
+ - test/spec/git_client_providers/system_spec.rb
205
+ - test/spec/recipe_spec.rb
206
+ - test/spec/resources/poise_git_client.rb
207
+ - test/spec/resources/poise_git_spec.rb
208
+ - test/spec/spec_helper.rb