chloride 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: e24a2f7403f140127b82edf1f43edd11ba20ab57
4
- data.tar.gz: 646409f9f55efbcd716d5edc14a7ff75c7240450
3
+ metadata.gz: c1181d4142e358912ac450151220fa38f98e8209
4
+ data.tar.gz: '0631800634b665a76253c160657b41a52d5eae1c'
5
5
  SHA512:
6
- metadata.gz: 28e0249d6903a4b9722f3d29f99e3e46c15efa13ed1adac113749a6de581f9d3ada1d0bfe35c7fdec76bcefcd2d93447b0797c606fde8810b4730f8804033d98
7
- data.tar.gz: 55f7169cd62cbde0153bb53f9047c7755eba4c6cfaefdba107f3e87fb41c76842952db5288b9287b8ca718f70ea1877945bce2f6551e46ca4695e614ad921a4f
6
+ metadata.gz: 23185798705bf52d602ec467b5873f3629e6b4660136739a834cfcbdb5e9d808e3edf709afb984fbecda3b81d4e6be36cf8aec5126a05df81ebb0661fc638011
7
+ data.tar.gz: 0aaf74f2c0cc3e4f71c97bdeb1b9e4be990153d74658d5a9cae2bd9e46bec444d89ea272a24907ebb40093b9fcbd3602cba3688d76695e9158d3a10734fdc439
@@ -0,0 +1 @@
1
+ # Add gem-release config here
data/.gitignore CHANGED
@@ -45,6 +45,7 @@ build-iPhoneSimulator/
45
45
  # Gemfile.lock
46
46
  # .ruby-version
47
47
  # .ruby-gemset
48
+ Gemfile.lock
48
49
 
49
50
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
51
  .rvmrc
@@ -383,4 +383,9 @@ Style/IfUnlessModifier:
383
383
  Enabled: false
384
384
 
385
385
  Metrics/LineLength:
386
- Enabled: false
386
+ Enabled: false
387
+
388
+ # We're ok with using variable names (` Exception => err`)
389
+ # for exceptions, not just `Exception => e`
390
+ Naming/RescuedExceptionsVariableName:
391
+ Enabled: false
data/README.md CHANGED
@@ -39,6 +39,20 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
39
39
 
40
40
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
41
41
 
42
+ ## Release
43
+
44
+ We use [gem-release](https://github.com/svenfuchs/gem-release) to make the gem release process easier.
45
+ ```
46
+ # with any of these commands, provide --pretend to see what would happen
47
+ # First we bump the lib/chloride/version.rb file
48
+ bundle exec gem bump -v 1.1.1 # Bump to the given, specific version number
49
+ bundle exec gem bump -v major # Bump to the next major level (e.g. 0.0.1 to 1.0.0)
50
+ bundle exec gem bump -v minor # Bump to the next minor level (e.g. 0.0.1 to 0.1.0)
51
+ bundle exec gem bump -v patch # Bump to the next patch level (e.g. 0.0.1 to 0.0.2)
52
+ # Finally, we tag and release
53
+ bundle exec gem release -t -p # Tag (-t), and push (-p) the gem
54
+ ```
55
+
42
56
  ## Contributing
43
57
 
44
58
  [Bug reports](https://github.com/puppetlabs/chloride/issues) and [pull requests](https://github.com/puppetlabs/chloride/pulls) are welcome on GitHub at https://github.com/puppetlabs/chloride. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -22,12 +22,13 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.required_ruby_version = '~> 2.4'
24
24
 
25
- spec.add_development_dependency 'bundler', '~> 1'
25
+ spec.add_development_dependency 'bundler'
26
26
  spec.add_development_dependency 'pry'
27
27
  spec.add_development_dependency 'rake', '~> 11'
28
28
  spec.add_development_dependency 'rspec', '~> 3'
29
29
  spec.add_development_dependency 'rubocop'
30
30
  spec.add_development_dependency 'simplecov'
31
- spec.add_dependency 'net-scp', '~> 1'
32
- spec.add_dependency 'net-ssh', '~> 4'
31
+ spec.add_development_dependency 'gem-release'
32
+ spec.add_dependency 'net-scp'
33
+ spec.add_dependency 'net-ssh'
33
34
  end
@@ -1,3 +1,3 @@
1
1
  module Chloride
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chloride
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
  - Brandon High
@@ -10,22 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-12-10 00:00:00.000000000 Z
13
+ date: 2019-07-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - "~>"
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: '1'
21
+ version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - "~>"
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
- version: '1'
28
+ version: '0'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: pry
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -96,34 +96,48 @@ dependencies:
96
96
  - - ">="
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
+ - !ruby/object:Gem::Dependency
100
+ name: gem-release
101
+ requirement: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
99
113
  - !ruby/object:Gem::Dependency
100
114
  name: net-scp
101
115
  requirement: !ruby/object:Gem::Requirement
102
116
  requirements:
103
- - - "~>"
117
+ - - ">="
104
118
  - !ruby/object:Gem::Version
105
- version: '1'
119
+ version: '0'
106
120
  type: :runtime
107
121
  prerelease: false
108
122
  version_requirements: !ruby/object:Gem::Requirement
109
123
  requirements:
110
- - - "~>"
124
+ - - ">="
111
125
  - !ruby/object:Gem::Version
112
- version: '1'
126
+ version: '0'
113
127
  - !ruby/object:Gem::Dependency
114
128
  name: net-ssh
115
129
  requirement: !ruby/object:Gem::Requirement
116
130
  requirements:
117
- - - "~>"
131
+ - - ">="
118
132
  - !ruby/object:Gem::Version
119
- version: '4'
133
+ version: '0'
120
134
  type: :runtime
121
135
  prerelease: false
122
136
  version_requirements: !ruby/object:Gem::Requirement
123
137
  requirements:
124
- - - "~>"
138
+ - - ">="
125
139
  - !ruby/object:Gem::Version
126
- version: '4'
140
+ version: '0'
127
141
  description:
128
142
  email:
129
143
  - brandon.high@puppet.com
@@ -133,6 +147,7 @@ executables: []
133
147
  extensions: []
134
148
  extra_rdoc_files: []
135
149
  files:
150
+ - ".gem_release.yml"
136
151
  - ".gitignore"
137
152
  - ".rubocop.yml"
138
153
  - ".travis.yml"