cloudcrypt 0.0.5 → 0.0.6
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.
- data/Gemfile.lock +1 -1
- data/lib/cloudcrypt/parser.rb +7 -5
- data/lib/cloudcrypt/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/cloudcrypt/parser.rb
CHANGED
|
@@ -7,10 +7,9 @@ module Cloudcrypt
|
|
|
7
7
|
HWND_BROADCAST = 0xffff
|
|
8
8
|
WM_SETTINGCHANGE = 0x001A
|
|
9
9
|
SMTO_ABORTIFHUNG = 2
|
|
10
|
-
abort('Please set the variable RAVE_RW_AWS_ACCESS_KEY_ID and RAVE_RW_AWS_SECRET_ACCESS_KEY') if ENV['RAVE_RW_AWS_ACCESS_KEY_ID'].nil? || ENV['RAVE_RW_AWS_SECRET_ACCESS_KEY'].nil?
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
|
|
12
|
+
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
def initialize
|
|
@@ -70,9 +69,12 @@ module Cloudcrypt
|
|
|
70
69
|
end
|
|
71
70
|
end
|
|
72
71
|
|
|
73
|
-
|
|
72
|
+
abort('Please set the variable RAVE_RW_AWS_ACCESS_KEY_ID and RAVE_RW_AWS_SECRET_ACCESS_KEY') if ENV['RAVE_RW_AWS_ACCESS_KEY_ID'].nil? || ENV['RAVE_RW_AWS_SECRET_ACCESS_KEY'].nil?
|
|
73
|
+
aws_access_key_id=ENV['RAVE_RW_AWS_ACCESS_KEY_ID'].gsub(/\r?\n?/, "")
|
|
74
|
+
aws_secret_access_key=ENV['RAVE_RW_AWS_SECRET_ACCESS_KEY'].gsub(/\r?\n?/, "")
|
|
75
|
+
|
|
74
76
|
m=Cloudcrypt::Main.new(@opts[:public_key],@opts[:private_key])
|
|
75
|
-
s3=Cloudcrypt::S3Transfer.new(
|
|
77
|
+
s3=Cloudcrypt::S3Transfer.new(aws_access_key_id,aws_secret_access_key)
|
|
76
78
|
|
|
77
79
|
|
|
78
80
|
if @opts[:list]
|
data/lib/cloudcrypt/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudcrypt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.0.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Rodrigo Estebanez
|