sekrets 1.3.0 → 1.4.0
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/foobar +1 -0
- data/lib/sekrets.rb +11 -5
- data/sekrets.gemspec +2 -1
- metadata +4 -2
data/foobar
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
���p�[��
|
data/lib/sekrets.rb
CHANGED
|
@@ -257,9 +257,16 @@ class Sekrets
|
|
|
257
257
|
|
|
258
258
|
ciphertext = File.expand_path('ciphertext',
|
|
259
259
|
File.dirname(__FILE__))
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
260
|
+
|
|
261
|
+
if ARGV.empty?
|
|
262
|
+
ciphertext = File.expand_path('ciphertext', File.dirname(__FILE__))
|
|
263
|
+
ENV['SEKRETS_ARGV'] = "edit \#{ ciphertext }"
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
command = "\#{ Gem.bin_path('sekrets', 'sekrets') } \#{ ARGV.join(' ') }"
|
|
267
|
+
|
|
268
|
+
exec(command)
|
|
269
|
+
|
|
263
270
|
__
|
|
264
271
|
)
|
|
265
272
|
)
|
|
@@ -318,7 +325,7 @@ BEGIN {
|
|
|
318
325
|
require 'tmpdir'
|
|
319
326
|
|
|
320
327
|
class Sekrets < ::String
|
|
321
|
-
Version = '1.
|
|
328
|
+
Version = '1.4.0' unless defined?(Version)
|
|
322
329
|
|
|
323
330
|
class << Sekrets
|
|
324
331
|
def version
|
|
@@ -486,7 +493,6 @@ BEGIN {
|
|
|
486
493
|
puts "created #{ initializer }"
|
|
487
494
|
end
|
|
488
495
|
end
|
|
489
|
-
|
|
490
496
|
end
|
|
491
497
|
end
|
|
492
498
|
end
|
data/sekrets.gemspec
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification::new do |spec|
|
|
5
5
|
spec.name = "sekrets"
|
|
6
|
-
spec.version = "1.
|
|
6
|
+
spec.version = "1.4.0"
|
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
|
8
8
|
spec.summary = "sekrets"
|
|
9
9
|
spec.description = "description: sekrets kicks the ass"
|
|
@@ -13,6 +13,7 @@ Gem::Specification::new do |spec|
|
|
|
13
13
|
"Rakefile",
|
|
14
14
|
"bin",
|
|
15
15
|
"bin/sekrets",
|
|
16
|
+
"foobar",
|
|
16
17
|
"lib",
|
|
17
18
|
"lib/sekrets",
|
|
18
19
|
"lib/sekrets.rb",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sekrets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-03-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: highline
|
|
@@ -101,6 +101,7 @@ files:
|
|
|
101
101
|
- README
|
|
102
102
|
- Rakefile
|
|
103
103
|
- bin/sekrets
|
|
104
|
+
- foobar
|
|
104
105
|
- lib/sekrets.rb
|
|
105
106
|
- lib/sekrets/capistrano.rb
|
|
106
107
|
- sekrets.gemspec
|
|
@@ -131,3 +132,4 @@ signing_key:
|
|
|
131
132
|
specification_version: 3
|
|
132
133
|
summary: sekrets
|
|
133
134
|
test_files: []
|
|
135
|
+
has_rdoc:
|