keyring 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -6
- data/ext/mkrf_conf.rb +4 -4
- data/keyring.gemspec +10 -0
- data/lib/keyring/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 791bbb2044125af863560b14c3b0d6e1f1c8ddb5
|
4
|
+
data.tar.gz: f9f2fad58c306b5c6f9773083d3170c898f4fd20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ce9332d5cadaac678eecc3a44ef0eac3dd78fe7d0005fa012f9274ec7a252595a0f7ce90dc318e4ec118dea84f86df197b8bb8eaad451af3daf445f0d0139fd
|
7
|
+
data.tar.gz: 4b44c12f192e89cfa7f6e334084988097b763c0caa939e1ad42bb1536d40f70efaf61b779b654f41e82d32c00026c997c7cca574f51e82a15ffa76f6e35c7d51
|
data/Gemfile
CHANGED
@@ -6,12 +6,6 @@ source 'https://rubygems.org'
|
|
6
6
|
# Specify your gem's dependencies in keyring.gemspec
|
7
7
|
gemspec
|
8
8
|
|
9
|
-
# Duplicated contents of ext/mkrf_conf.rb here - afaict, the
|
10
|
-
# spec.extensions stuff in the gemspec file doesn't run on a
|
11
|
-
# bundle install
|
12
|
-
|
13
|
-
gem 'ruby-keychain', '~> 0.3.2'
|
14
|
-
|
15
9
|
group :test, :development do
|
16
10
|
gem 'test-unit'
|
17
11
|
end
|
data/ext/mkrf_conf.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# http://en.wikibooks.org/wiki/Ruby_Programming/RubyGems#How_to_install_different_versions_of_gems_depending_on_which_version_of_ruby_the_installee_is_using
|
2
2
|
|
3
|
+
|
3
4
|
require 'rubygems'
|
4
5
|
require 'rubygems/command.rb'
|
5
6
|
require 'rubygems/dependency_installer.rb'
|
@@ -10,12 +11,11 @@ end
|
|
10
11
|
inst = Gem::DependencyInstaller.new
|
11
12
|
begin
|
12
13
|
|
13
|
-
|
14
|
+
case Gem::Platform.local.os
|
15
|
+
when 'linux'
|
14
16
|
warn "*linux: installing gir_ffi-gnome_keyring..."
|
15
17
|
inst.install "gir_ffi-gnome_keyring", '~> 0.0.3'
|
16
|
-
|
17
|
-
|
18
|
-
if RUBY_PLATFORM =~ /darwin10/
|
18
|
+
when 'darwin'
|
19
19
|
warn '*osx: installing ruby-keychain'
|
20
20
|
inst.install 'ruby-keychain', '~> 0.3.2'
|
21
21
|
end
|
data/keyring.gemspec
CHANGED
@@ -26,6 +26,16 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_development_dependency 'mocha'
|
27
27
|
spec.add_dependency 'slop', "< 4.0"
|
28
28
|
|
29
|
+
# Note that when updating these versions you must also make
|
30
|
+
# equivalent changes in ext/mkrf_conf.rb
|
31
|
+
|
32
|
+
case Gem::Platform.local.os
|
33
|
+
when 'linux'
|
34
|
+
spec.add_dependency "gir_ffi-gnome_keyring", '~> 0.0.3'
|
35
|
+
when 'darwin'
|
36
|
+
spec.add_dependency 'ruby-keychain', '~> 0.3.2'
|
37
|
+
end
|
38
|
+
|
29
39
|
spec.extensions = %w[ext/mkrf_conf.rb]
|
30
40
|
|
31
41
|
end
|
data/lib/keyring/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: keyring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Heiss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "<"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '4.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: ruby-keychain
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.3.2
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.3.2
|
69
83
|
description: This library provides a easy way to access the system keyring service
|
70
84
|
from ruby
|
71
85
|
email:
|