bcdatabase 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc ADDED
@@ -0,0 +1,2 @@
1
+ rvm use ruby-1.8.7@bcdatabase
2
+
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ 1.0.2
2
+ =====
3
+ - Tighten up gemspec gem deps. Bcdatabase does not currently work
4
+ with ActiveSupport 3.
5
+
1
6
  1.0.1
2
7
  =====
3
8
  - Update some old syntax for ruby 1.9 compatibility (David Yip)
@@ -9,7 +14,7 @@
9
14
 
10
15
  0.4.1
11
16
  =====
12
- - Fix `bcdatabase encrypt` so that it doesn't re-encrypt already encrypted
17
+ - Fix `bcdatabase encrypt` so that it doesn't re-encrypt already encrypted
13
18
  epassword entries.
14
19
 
15
20
  0.4.0
data/Rakefile CHANGED
@@ -11,8 +11,8 @@ begin
11
11
  gem.homepage = "http://github.com/rsutphin/bcdatabase"
12
12
  gem.authors = ["Rhett Sutphin"]
13
13
  gem.add_development_dependency 'rspec', ">= 1.2"
14
- gem.add_dependency 'highline', '>= 1.4'
15
- gem.add_dependency 'activesupport', '>= 2.0'
14
+ gem.add_dependency 'highline', '~> 1.6'
15
+ gem.add_dependency 'activesupport', '~> 2.0'
16
16
  end
17
17
  Jeweler::GemcutterTasks.new
18
18
  rescue LoadError
data/VERSION.yml CHANGED
@@ -2,4 +2,4 @@
2
2
  :major: 1
3
3
  :minor: 0
4
4
  :build:
5
- :patch: 1
5
+ :patch: 2
data/lib/bcdatabase.rb CHANGED
@@ -94,7 +94,7 @@ module Bcdatabase
94
94
  private
95
95
 
96
96
  def create_entry(groupname, dbname)
97
- group = @map[groupname] or raise Error.new("No databasease configuration group named #{groupname.inspect} found. (Found #{@map.keys.inspect}.)")
97
+ group = @map[groupname] or raise Error.new("No database configuration group named #{groupname.inspect} found. (Found #{@map.keys.inspect}.)")
98
98
  db = group[dbname] or raise Error.new("No database entry for #{dbname.inspect} in #{groupname}")
99
99
  merged = { 'username' => dbname, 'database' => dbname } \
100
100
  .merge(group['defaults'] || {}) \
@@ -113,4 +113,4 @@ module Bcdatabase
113
113
  end
114
114
 
115
115
  class Error < Exception; end
116
- end unless defined?(Bcdatabase)
116
+ end unless defined?(Bcdatabase)
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcdatabase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ hash: 19
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 2
10
+ version: 1.0.2
5
11
  platform: ruby
6
12
  authors:
7
13
  - Rhett Sutphin
@@ -9,39 +15,54 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-12-20 00:00:00 -06:00
18
+ date: 2010-09-08 00:00:00 -05:00
13
19
  default_executable: bcdatabase
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 11
30
+ segments:
31
+ - 1
32
+ - 2
23
33
  version: "1.2"
24
- version:
34
+ type: :development
35
+ version_requirements: *id001
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: highline
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
30
41
  requirements:
31
- - - ">="
42
+ - - ~>
32
43
  - !ruby/object:Gem::Version
33
- version: "1.4"
34
- version:
44
+ hash: 3
45
+ segments:
46
+ - 1
47
+ - 6
48
+ version: "1.6"
49
+ type: :runtime
50
+ version_requirements: *id002
35
51
  - !ruby/object:Gem::Dependency
36
52
  name: activesupport
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
55
+ none: false
40
56
  requirements:
41
- - - ">="
57
+ - - ~>
42
58
  - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 2
62
+ - 0
43
63
  version: "2.0"
44
- version:
64
+ type: :runtime
65
+ version_requirements: *id003
45
66
  description: bcdatabase is a tool for storing passwords and other database configuration information outside of your application source tree.
46
67
  email: rhett@detailedbalance.net
47
68
  executables:
@@ -53,6 +74,7 @@ extra_rdoc_files:
53
74
  - README.markdown
54
75
  files:
55
76
  - .gitignore
77
+ - .rvmrc
56
78
  - CHANGELOG.markdown
57
79
  - LICENSE
58
80
  - README.markdown
@@ -74,21 +96,27 @@ rdoc_options:
74
96
  require_paths:
75
97
  - lib
76
98
  required_ruby_version: !ruby/object:Gem::Requirement
99
+ none: false
77
100
  requirements:
78
101
  - - ">="
79
102
  - !ruby/object:Gem::Version
103
+ hash: 3
104
+ segments:
105
+ - 0
80
106
  version: "0"
81
- version:
82
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
+ none: false
83
109
  requirements:
84
110
  - - ">="
85
111
  - !ruby/object:Gem::Version
112
+ hash: 3
113
+ segments:
114
+ - 0
86
115
  version: "0"
87
- version:
88
116
  requirements: []
89
117
 
90
118
  rubyforge_project:
91
- rubygems_version: 1.3.5
119
+ rubygems_version: 1.3.7
92
120
  signing_key:
93
121
  specification_version: 3
94
122
  summary: Server-central database configuration for rails and other ruby apps