ironclad 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a87bf5f6911710634655b6619b79f20feec36c8c91033e4174b84f6d51eb643
4
- data.tar.gz: a594caae3ea3825b7fbd5984301ad90298b163174e7ec1378274c117e1c7c05e
3
+ metadata.gz: 51941ec8f3acef114a359de0b95ec877de7de88bb1ce5c8c602930dfaa533651
4
+ data.tar.gz: 4d2bc1c15ce10a83f9f5ed8bb0c71ab7a2881bb99f6d102b9c9cdf6417dc5de8
5
5
  SHA512:
6
- metadata.gz: 2e554621354d643f0ca215b07194774d2e634ad3a6d0730029ad492f10545de281c755535b74e944f44a0926727deeb9ea392dc9618acc93404bba1af74cc4b5
7
- data.tar.gz: 79fb39bfd14bcd75f312193f60484cf970ea68fea9a1ce420302955f5062a671a99c676aa2b5c9b33994a0b0818b8b5a78dd37ed1cd136340d84e1007b058933
6
+ metadata.gz: bfa46db289a97549626aa4a523a7c3cce9a14410e0624a50f8ee6c34c802ffa06995aaa2f6793b5edadb71685d835259a9c4af25abfcf7445f855ddef0dfd95d
7
+ data.tar.gz: 1aeb4514ee736dbd568b7589439f525c752538b0e590d8af927be6da121bdfa94a223da736730aa621d1763be64f3f08be77225d4937150f1b2461369e6a0e32
data/README.md CHANGED
@@ -116,6 +116,14 @@ bundle exec rubocop # lint
116
116
  bin/console # interactive prompt
117
117
  ```
118
118
 
119
+ ### Cutting a release
120
+
121
+ Run `bundle exec rake "release:prepare[x.y.z]"` on an up to date `master` with
122
+ a clean tree, then `git push --follow-tags`. It runs the tests and RuboCop,
123
+ bumps `lib/ironclad/version.rb`, updates `Gemfile.lock`, commits, and tags
124
+ `vx.y.z`. Pushing the tag triggers the release workflow, which publishes to
125
+ RubyGems and creates the GitHub release.
126
+
119
127
  ## License
120
128
 
121
129
  Available as open source under the [MIT License](https://opensource.org/licenses/MIT).
@@ -19,8 +19,7 @@ module Ironclad
19
19
  # Don't abort boot if the credential source is unavailable (e.g. `op` not
20
20
  # signed in or installed). Rails surfaces its own missing-key error later
21
21
  # only if credentials are actually accessed.
22
- warn "Ironclad: could not load credentials key (#{e.message}). " \
23
- 'Try `op signin` or set RAILS_MASTER_KEY.'
22
+ warn "Ironclad: could not load credentials key (#{e.message}). Or set RAILS_MASTER_KEY."
24
23
  end
25
24
  end
26
25
  end
@@ -24,6 +24,8 @@ module Ironclad
24
24
  end
25
25
 
26
26
  out.chomp
27
+ rescue Errno::ENOENT
28
+ raise Error, '1Password CLI (op) not found. Install it and run: op signin'
27
29
  end
28
30
  end
29
31
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ironclad
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ironclad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarrett Lusso