keepass-static 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 295d21332112f6feee908c4b604811752ce74dd0
4
- data.tar.gz: 2cad01d8698aea8a3633e4bfc1dcb2e4a9b80cc2
3
+ metadata.gz: b231a591f72505b7facf3fa7ad842e12729dcfd4
4
+ data.tar.gz: 6e91b123df678867f4a6485e661b2c9be42c2ae4
5
5
  SHA512:
6
- metadata.gz: a75259538d361d03b529a051673cd72ef491f4a5d24259763f8dc9384cf1407675aa80dc0dbcec03d3fff39c9f2a5410cfe3b7327e5346c2a9cf2226337c12e1
7
- data.tar.gz: 833463af8d3b72cf1818fd7af3df973f2bff8c3d5cf8b8642417f0124f4f056d5a7ae69a2a023eadb229442dfdc727937e44bcb888d048f291a080dca089852c
6
+ metadata.gz: 3e303b124078bea3adcb56b0a28b0b8f206223942795f180f0f1def19a85a842cf8fe0338ea0d537c78b7d21e47b74ca4c67cb0fc4e3c0ab36bde2f4ec026a16
7
+ data.tar.gz: 501c1b62af352d32b530608f62487943bbea66e340a4f416285115c3cf00bd1474daf69f57a3309716b88b541c677a0f8e67f00f450136a763c25a57383c3771
File without changes
File without changes
Binary file
File without changes
File without changes
@@ -1,6 +1,7 @@
1
1
  require_relative 'keepass-util'
2
2
 
3
3
  ver = ruby_version
4
+ plat = ruby_platform
4
5
 
5
- require_relative "#{ver[:major]}.#{ver[:minor]}/keepass"
6
+ require_relative "#{ver[:major]}.#{ver[:minor]}/#{plat[:arch]}/keepass"
6
7
  require_relative 'keepass-methods'
data/lib/keepass-util.rb CHANGED
@@ -7,3 +7,16 @@ def ruby_version
7
7
  tiny: arr[2].to_i
8
8
  }
9
9
  end
10
+
11
+ def ruby_platform
12
+ arr = RUBY_PLATFORM.split '-'
13
+
14
+ platform = {
15
+ arch: arr[0],
16
+ os: arr[1]
17
+ }
18
+
19
+ platform[:abi] = arr[2] if arr[2]
20
+
21
+ platform
22
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keepass-static
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Rusu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-27 00:00:00.000000000 Z
11
+ date: 2016-11-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Ruby bindings to libkpass as static built native extensions '
14
14
  email: saltwaterc@gmail.com
@@ -16,10 +16,11 @@ executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
- - lib/2.1/keepass.bundle
20
- - lib/2.1/keepass.so
21
- - lib/2.3/keepass.bundle
22
- - lib/2.3/keepass.so
19
+ - lib/2.1/x86_64/keepass.bundle
20
+ - lib/2.1/x86_64/keepass.so
21
+ - lib/2.3/armv7l/keepass.so
22
+ - lib/2.3/x86_64/keepass.bundle
23
+ - lib/2.3/x86_64/keepass.so
23
24
  - lib/keepass-methods.rb
24
25
  - lib/keepass-static.rb
25
26
  - lib/keepass-util.rb
@@ -43,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
44
  version: '0'
44
45
  requirements: []
45
46
  rubyforge_project:
46
- rubygems_version: 2.6.6
47
+ rubygems_version: 2.6.7
47
48
  signing_key:
48
49
  specification_version: 4
49
50
  summary: Ruby bindings to libkpass as static built native extensions