dbi-dbrc 1.1.8-x86-mingw32 → 1.1.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +145 -141
- data/MANIFEST +15 -15
- data/README +260 -260
- data/Rakefile +19 -14
- data/dbi-dbrc.gemspec +4 -3
- data/lib/dbi/dbrc.rb +307 -309
- data/test/test_dbi_dbrc.rb +1 -4
- data/test/test_dbi_dbrc_xml.rb +1 -4
- data/test/test_dbi_dbrc_yml.rb +1 -4
- metadata +91 -102
data/test/test_dbi_dbrc.rb
CHANGED
@@ -4,9 +4,6 @@
|
|
4
4
|
# Test suite for the base class of DBI::DBRC. This test case should be
|
5
5
|
# run via the 'rake test' task.
|
6
6
|
#########################################################################
|
7
|
-
require 'rubygems'
|
8
|
-
gem 'test-unit'
|
9
|
-
|
10
7
|
require 'dbi/dbrc'
|
11
8
|
require 'test/unit'
|
12
9
|
include DBI
|
@@ -36,7 +33,7 @@ class TC_DBI_DBRC < Test::Unit::TestCase
|
|
36
33
|
end
|
37
34
|
|
38
35
|
def test_version
|
39
|
-
assert_equal('1.1.
|
36
|
+
assert_equal('1.1.9', DBRC::VERSION)
|
40
37
|
end
|
41
38
|
|
42
39
|
def test_bad_dbrc_properties
|
data/test/test_dbi_dbrc_xml.rb
CHANGED
@@ -4,11 +4,8 @@
|
|
4
4
|
# Test suite for the XML specific version of DBI::DBRC. This test case
|
5
5
|
# should be run via the 'rake test' task.
|
6
6
|
########################################################################
|
7
|
-
require 'rubygems'
|
8
|
-
gem 'test-unit'
|
9
|
-
|
10
7
|
require 'dbi/dbrc'
|
11
|
-
require 'test
|
8
|
+
require 'test-unit'
|
12
9
|
require 'rexml/document'
|
13
10
|
include REXML
|
14
11
|
include DBI
|
data/test/test_dbi_dbrc_yml.rb
CHANGED
@@ -4,11 +4,8 @@
|
|
4
4
|
# Test suite for the YAML specific version of DBI::DBRC. You should run
|
5
5
|
# this test case via the 'rake test' task.
|
6
6
|
#########################################################################
|
7
|
-
require 'rubygems'
|
8
|
-
gem 'test-unit'
|
9
|
-
|
10
7
|
require 'dbi/dbrc'
|
11
|
-
require 'test
|
8
|
+
require 'test-unit'
|
12
9
|
include DBI
|
13
10
|
|
14
11
|
class TC_DBI_DBRC_YML < Test::Unit::TestCase
|
metadata
CHANGED
@@ -1,112 +1,110 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: dbi-dbrc
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 8
|
10
|
-
version: 1.1.8
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.9
|
5
|
+
prerelease:
|
11
6
|
platform: x86-mingw32
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Daniel Berger
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-01-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: sys-admin
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 7
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 5
|
33
|
-
- 2
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 1.5.2
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: test-unit
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.5.2
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: test-unit
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
41
33
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
version: "0"
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
49
38
|
type: :development
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: win32-file
|
53
39
|
prerelease: false
|
54
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
41
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: win32-file
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
64
53
|
version: 0.6.6
|
65
54
|
type: :runtime
|
66
|
-
version_requirements: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: win32-dir
|
69
55
|
prerelease: false
|
70
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
57
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.6.6
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: win32-dir
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
80
69
|
version: 0.3.7
|
81
70
|
type: :runtime
|
82
|
-
version_requirements: *id004
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: win32-process
|
85
71
|
prerelease: false
|
86
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.3.7
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: win32-process
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
87
81
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
hash: 3
|
92
|
-
segments:
|
93
|
-
- 0
|
94
|
-
- 6
|
95
|
-
- 2
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
96
85
|
version: 0.6.2
|
97
86
|
type: :runtime
|
98
|
-
|
99
|
-
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.6.2
|
94
|
+
description: ! " The dbi-dbrc library provides an interface for storing database\n
|
95
|
+
\ connection information, including passwords, in a locally secure\n file only
|
96
|
+
accessible by you, or root. This allows you to avoid\n hard coding login and
|
97
|
+
password information in your programs\n that require such information.\n\n This
|
98
|
+
library can also be used to store login and password information\n for logins
|
99
|
+
on remote hosts, not just databases.\n"
|
100
100
|
email: djberg96@gmail.com
|
101
101
|
executables: []
|
102
|
-
|
103
102
|
extensions: []
|
104
|
-
|
105
|
-
extra_rdoc_files:
|
103
|
+
extra_rdoc_files:
|
106
104
|
- README
|
107
105
|
- CHANGES
|
108
106
|
- MANIFEST
|
109
|
-
files:
|
107
|
+
files:
|
110
108
|
- CHANGES
|
111
109
|
- dbi-dbrc.gemspec
|
112
110
|
- examples/plain/test.rb
|
@@ -119,41 +117,32 @@ files:
|
|
119
117
|
- test/test_dbi_dbrc.rb
|
120
118
|
- test/test_dbi_dbrc_xml.rb
|
121
119
|
- test/test_dbi_dbrc_yml.rb
|
122
|
-
|
123
|
-
|
124
|
-
licenses:
|
120
|
+
homepage: https://github.com/djberg96/dbi-dbrc
|
121
|
+
licenses:
|
125
122
|
- Artistic 2.0
|
126
123
|
post_install_message:
|
127
124
|
rdoc_options: []
|
128
|
-
|
129
|
-
require_paths:
|
125
|
+
require_paths:
|
130
126
|
- lib
|
131
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
128
|
none: false
|
133
|
-
requirements:
|
134
|
-
- -
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
|
137
|
-
|
138
|
-
- 0
|
139
|
-
version: "0"
|
140
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
141
134
|
none: false
|
142
|
-
requirements:
|
143
|
-
- -
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
|
146
|
-
segments:
|
147
|
-
- 0
|
148
|
-
version: "0"
|
135
|
+
requirements:
|
136
|
+
- - ! '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
149
139
|
requirements: []
|
150
|
-
|
151
140
|
rubyforge_project: shards
|
152
|
-
rubygems_version: 1.
|
141
|
+
rubygems_version: 1.8.24
|
153
142
|
signing_key:
|
154
143
|
specification_version: 3
|
155
144
|
summary: A simple way to avoid hard-coding passwords with DBI
|
156
|
-
test_files:
|
145
|
+
test_files:
|
157
146
|
- test/test_dbi_dbrc.rb
|
158
147
|
- test/test_dbi_dbrc_xml.rb
|
159
148
|
- test/test_dbi_dbrc_yml.rb
|