ruby-keychain 0.3.0 → 0.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f322cf88ad0e198a1c6a869188ae692bae81af38
4
- data.tar.gz: c26a017ef9ed99821844d0943b697367b10caff6
3
+ metadata.gz: 4efbc44b1070dee58c312948985249d799d84278
4
+ data.tar.gz: aafa371eab422c0fea83c4b878722937ee4fd7d5
5
5
  SHA512:
6
- metadata.gz: 7c3375d692838ca66ed6b89cccae65e93ee738ead6371bac4b32e9facd7407f157189f3288d75f19c91719dc5f62a44eba5f3e4d5da223e605b775591fe89ae5
7
- data.tar.gz: f309869ceeeb3b9f9a3294089ba1f40c3c80fda4c41a6ffaab997f5274391a383f02325992107b65af2ffe0f8467b4ccdde40eab81f10651a1b8407ca7dcd018
6
+ metadata.gz: 046246e35a3c27d9545caad0ee3c2287a4b7eb2c6b88b5c796ec971d603a896bebaeee3fd32a02503c1ade4c893e46f522f69e32a00fb59d5e3e75cd1bb102b5
7
+ data.tar.gz: a1a7c7d7495792d9d1163b70093e2a968bfb1ae6a19f91ffd563cfce926746279859bd5c7aad3814e26c3bcb71734339df0802ebfc106ab193dc92af426d1894
@@ -1,6 +1,8 @@
1
1
  require 'ffi'
2
2
  require 'corefoundation'
3
3
  require 'keychain/sec'
4
+ require 'keychain/access'
5
+ require 'keychain/trusted_application'
4
6
  require 'keychain/keychain'
5
7
  require 'keychain/error'
6
8
  require 'keychain/item'
@@ -0,0 +1,3 @@
1
+ class Keychain::Access < Sec::Base
2
+ register_type 'SecAccess'
3
+ end
@@ -29,13 +29,6 @@ module Sec
29
29
  :lock_interval, :uint32
30
30
  end
31
31
 
32
- class Keychain::TrustedApplication < Sec::Base
33
- register_type 'SecTrustedApplication'
34
- end
35
-
36
- class Keychain::Access < Sec::Base
37
- register_type 'SecAccess'
38
- end
39
32
 
40
33
  attach_function 'SecKeychainSetSettings', [:keychainref, KeychainSettings], :osstatus
41
34
  attach_function 'SecKeychainCopySettings', [:keychainref, KeychainSettings], :osstatus
@@ -0,0 +1,3 @@
1
+ class Keychain::TrustedApplication < Sec::Base
2
+ register_type 'SecTrustedApplication'
3
+ end
@@ -1,4 +1,4 @@
1
1
  module Keychain
2
2
  # The current version string
3
- VERSION = '0.3.0'
4
- end
3
+ VERSION = '0.3.1'
4
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-keychain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frederick Cheung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-07 00:00:00.000000000 Z
11
+ date: 2015-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -121,6 +121,7 @@ files:
121
121
  - LICENSE
122
122
  - README.markdown
123
123
  - lib/keychain.rb
124
+ - lib/keychain/access.rb
124
125
  - lib/keychain/certificate.rb
125
126
  - lib/keychain/error.rb
126
127
  - lib/keychain/identity.rb
@@ -130,6 +131,7 @@ files:
130
131
  - lib/keychain/protocols.rb
131
132
  - lib/keychain/scope.rb
132
133
  - lib/keychain/sec.rb
134
+ - lib/keychain/trusted_application.rb
133
135
  - lib/keychain/version.rb
134
136
  - spec/certificate_spec.rb
135
137
  - spec/identity_spec.rb