chupacabra 0.1.2 → 0.1.3
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 +4 -4
- data/lib/chupacabra.rb +1 -1
- data/lib/chupacabra/system.rb +3 -3
- data/lib/chupacabra/version.rb +2 -2
- metadata +15 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e5a5b3852ea7e72dc83697f3a988c57c434ae42
|
|
4
|
+
data.tar.gz: 12fd57052ddfc1b7444cae417a0d2c7fd19bdaab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64c6ed57487118cf8b4f2b4cfba3e4d551ae61f43d853585bc88ab4ba8ff5e1e7eac39ab5499f719f67b7aacdc919e9c8022e957f4f5a45791d28d0d6f65e209
|
|
7
|
+
data.tar.gz: 6ee5b55e22ad221a635b51884d8fb9abb15a5d677a722a32bb6b7235739d3a06abcfa4a60183ea40a3d48631fd5d0578765788854d5afb0cc339afc58a072675
|
data/lib/chupacabra.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Chupacabra
|
|
|
25
25
|
System.alert('Wrong password!')
|
|
26
26
|
'Wrong password'
|
|
27
27
|
rescue Exception => e
|
|
28
|
-
System.log("#{e.class.name}: #{e.message}", true)
|
|
28
|
+
System.log("#{ e.class.name }: #{ e.message }\n #{ e.backtrace }", true)
|
|
29
29
|
System.alert("Unexpected error, check log in: #{System.log_path}")
|
|
30
30
|
raise e
|
|
31
31
|
end
|
data/lib/chupacabra/system.rb
CHANGED
|
@@ -30,7 +30,7 @@ module Chupacabra
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
def clear
|
|
33
|
-
System.execute("launchctl unsetenv #{password_variable}")
|
|
33
|
+
System.execute("launchctl unsetenv #{password_variable}", osx?)
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def get_clipboard
|
|
@@ -103,7 +103,7 @@ module Chupacabra
|
|
|
103
103
|
|
|
104
104
|
def strip_dialog_response(response)
|
|
105
105
|
System.log(response)
|
|
106
|
-
response.match(/.class ttxt
|
|
106
|
+
response.match(/.class ttxt[^:]*:([^,]+)/)[1]
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
def ask_for_password
|
|
@@ -118,4 +118,4 @@ module Chupacabra
|
|
|
118
118
|
System.execute("launchctl setenv #{password_variable} '#{password}'", osx?)
|
|
119
119
|
end
|
|
120
120
|
end
|
|
121
|
-
end
|
|
121
|
+
end
|
data/lib/chupacabra/version.rb
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
module Chupacabra
|
|
2
|
-
VERSION = '0.1.
|
|
3
|
-
end
|
|
2
|
+
VERSION = '0.1.3'
|
|
3
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chupacabra
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dawid Sklodowski
|
|
@@ -14,56 +14,56 @@ dependencies:
|
|
|
14
14
|
name: rspec
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '0'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: pry
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: coveralls
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- -
|
|
66
|
+
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
description: Encrypted and easy to use personal storage for user passwords
|
|
@@ -74,16 +74,16 @@ extensions: []
|
|
|
74
74
|
extra_rdoc_files: []
|
|
75
75
|
files:
|
|
76
76
|
- bin/chupacabra
|
|
77
|
+
- lib/chupacabra.rb
|
|
77
78
|
- lib/chupacabra/crypto.rb
|
|
78
79
|
- lib/chupacabra/storage.rb
|
|
80
|
+
- lib/chupacabra/system.rb
|
|
79
81
|
- lib/chupacabra/system/install.rb
|
|
80
82
|
- lib/chupacabra/system/scripts.rb
|
|
81
|
-
- lib/chupacabra/system.rb
|
|
82
83
|
- lib/chupacabra/version.rb
|
|
83
|
-
- lib/chupacabra.rb
|
|
84
84
|
- lib/tasks/compile.rake
|
|
85
|
-
- osx/Chupacabra.workflow/Contents/document.wflow
|
|
86
85
|
- osx/Chupacabra.workflow/Contents/Info.plist
|
|
86
|
+
- osx/Chupacabra.workflow/Contents/document.wflow
|
|
87
87
|
homepage: http://github.com/dawid-sklodowski/chupacabra
|
|
88
88
|
licenses:
|
|
89
89
|
- MIT
|
|
@@ -101,17 +101,17 @@ require_paths:
|
|
|
101
101
|
- lib
|
|
102
102
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
103
|
requirements:
|
|
104
|
-
- -
|
|
104
|
+
- - ">="
|
|
105
105
|
- !ruby/object:Gem::Version
|
|
106
106
|
version: '0'
|
|
107
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
requirements:
|
|
109
|
-
- -
|
|
109
|
+
- - ">="
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
111
|
version: '0'
|
|
112
112
|
requirements: []
|
|
113
113
|
rubyforge_project:
|
|
114
|
-
rubygems_version: 2.
|
|
114
|
+
rubygems_version: 2.2.2
|
|
115
115
|
signing_key:
|
|
116
116
|
specification_version: 4
|
|
117
117
|
summary: Personal crypto pass
|