harmony-service 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/harmony/service/rake_tasks.rb +6 -0
- data/lib/harmony/service/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4741692a0ea37978ce9681ddcd586f56493e9271
|
4
|
+
data.tar.gz: 88028755291fdf40d8ce8100d9a486b93d51e623
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61e55db700ae5e75afb117ce419b057965bbcaa42f947b93c4b3283ea6d9077409e8569271f6a39d951922fb404515fe8bfae73a70d44724c9c62c7cd4b0717b
|
7
|
+
data.tar.gz: 9212c21834d83efa6ca54aa6ae327461bba9e35a42fee639350b342141a8d19e07004a50dd5e7116144077e6fa78b73bb4976f3f69e21374185bd3bc776ff08d
|
@@ -1,7 +1,13 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'optparse'
|
3
|
+
require 'securerandom'
|
3
4
|
|
4
5
|
namespace :harmony do
|
6
|
+
desc 'Generate a key'
|
7
|
+
task :generate_key do
|
8
|
+
puts SecureRandom.hex
|
9
|
+
end
|
10
|
+
|
5
11
|
desc 'Write initial secrets to encrypted file.'
|
6
12
|
task :write_secrets do |t, args|
|
7
13
|
abort "ENV['SEKRETS_KEY'] must be set." unless ENV['SEKRETS_KEY']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: harmony-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brooke-Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sneakers
|