hiera-osxkeychain 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,9 +60,15 @@ class Hiera
60
60
  # This is for ruby prior to 1.9.1.
61
61
  set_close_on_exec
62
62
 
63
- # Give `:close_others` option for ruby 1.9.x.
64
- # This is by default on ruby 2.0.x and later.
65
- exec(*(cmd + [{:close_others => true}]))
63
+ # Ruby prior to 1.9.0 exec doesn't take any options.
64
+ if RUBY_VERSION < "1.9.0"
65
+ exec(*cmd)
66
+ else
67
+ # Give `:close_others` option for ruby 1.9.x.
68
+ # This is by default on ruby 2.0.x and later.
69
+ args = cmd + [{:close_others => true}]
70
+ exec(*args)
71
+ end
66
72
  end
67
73
  stdout_write.close
68
74
  stderr_write.close
metadata CHANGED
@@ -1,104 +1,131 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: hiera-osxkeychain
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
5
11
  platform: ruby
6
- authors:
12
+ authors:
7
13
  - Yoshimasa Niwa
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
- date: 2016-04-17 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2018-02-19 00:00:00 -08:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ hash: 9
28
+ segments:
29
+ - 1
30
+ - 3
31
+ version: "1.3"
32
+ requirement: *id001
14
33
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.3'
20
34
  type: :development
21
35
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.3'
27
- - !ruby/object:Gem::Dependency
36
+ - !ruby/object:Gem::Dependency
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ~>
41
+ - !ruby/object:Gem::Version
42
+ hash: 35
43
+ segments:
44
+ - 10
45
+ - 0
46
+ version: "10.0"
47
+ requirement: *id002
28
48
  name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
49
  type: :development
35
50
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
51
+ - !ruby/object:Gem::Dependency
52
+ version_requirements: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ~>
56
+ - !ruby/object:Gem::Version
57
+ hash: 7
58
+ segments:
59
+ - 3
60
+ - 0
61
+ - 0
62
+ version: 3.0.0
63
+ requirement: *id003
42
64
  name: test-unit
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
65
  type: :development
49
66
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
67
+ - !ruby/object:Gem::Dependency
68
+ version_requirements: &id004 !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ~>
72
+ - !ruby/object:Gem::Version
73
+ hash: 15
74
+ segments:
75
+ - 1
76
+ - 0
77
+ version: "1.0"
78
+ requirement: *id004
56
79
  name: mocha
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
80
  type: :development
63
81
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
82
  description: Hiera backend for looking up OS X keychain
70
- email:
83
+ email:
71
84
  - niw@niw.at
72
85
  executables: []
86
+
73
87
  extensions: []
74
- extra_rdoc_files:
88
+
89
+ extra_rdoc_files:
75
90
  - LICENSE
76
91
  - README.md
77
- files:
92
+ files:
93
+ - lib/hiera/backend/osxkeychain_backend.rb
78
94
  - LICENSE
79
95
  - README.md
80
- - lib/hiera/backend/osxkeychain_backend.rb
96
+ has_rdoc: true
81
97
  homepage: https://github.com/niw/hiera-osxkeychain
82
- licenses: []
83
- metadata: {}
98
+ licenses:
99
+ - MIT
84
100
  post_install_message:
85
101
  rdoc_options: []
86
- require_paths:
102
+
103
+ require_paths:
87
104
  - lib
88
- required_ruby_version: !ruby/object:Gem::Requirement
89
- requirements:
105
+ required_ruby_version: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
90
108
  - - ">="
91
- - !ruby/object:Gem::Version
92
- version: '0'
93
- required_rubygems_version: !ruby/object:Gem::Requirement
94
- requirements:
109
+ - !ruby/object:Gem::Version
110
+ hash: 3
111
+ segments:
112
+ - 0
113
+ version: "0"
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
95
117
  - - ">="
96
- - !ruby/object:Gem::Version
97
- version: '0'
118
+ - !ruby/object:Gem::Version
119
+ hash: 3
120
+ segments:
121
+ - 0
122
+ version: "0"
98
123
  requirements: []
124
+
99
125
  rubyforge_project:
100
- rubygems_version: 2.5.1
126
+ rubygems_version: 1.3.7
101
127
  signing_key:
102
- specification_version: 4
128
+ specification_version: 3
103
129
  summary: Hiera backend for looking up OS X keychain
104
130
  test_files: []
131
+
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 5a378388b0c2992570f7666015200c782e1cc5e4
4
- data.tar.gz: ab9c272d3155ebb4292f32044b774ff3457647fd
5
- SHA512:
6
- metadata.gz: 8969e121b047c715db1389ae1ed9912db64bc6bef52066cde62f50d1b5e51d9518f50a2a12aed2088c42a2dd435c9fe186d215d9c5004e9d2439f4240bec0e30
7
- data.tar.gz: c23ae3ab142962def384b6c847f42574221d72f97b9ced2cc38e67d1173971ba445ea293c086f5e7dfa638cf55ac526a0cecd629cef6774622fb1c9503fe34a2