mschuerig-branch_db 0.0.5 → 0.0.7

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.
data/branch_db.gemspec CHANGED
@@ -2,40 +2,40 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{branch_db}
5
- s.version = "0.0.5"
5
+ s.version = "0.0.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Michael Schuerig"]
9
- s.date = %q{2009-04-09}
9
+ s.date = %q{2009-05-21}
10
10
  s.description = %q{Give each git branch its own databases for ActiveRecord.}
11
11
  s.email = ["michael@schuerig.de"]
12
12
  s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.rdoc"]
13
13
  s.files = [".gitignore", "History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "branch_db.gemspec", "lib/branch_db.rb", "lib/branch_db/configuration_twiddler.rb", "lib/branch_db/mysql_switcher.rb", "lib/branch_db/postgresql_switcher.rb", "lib/branch_db/real_db_switchers_common.rb", "lib/branch_db/sqlite_switcher.rb", "lib/branch_db/switcher.rb", "lib/branch_db/task_helper.rb", "lib/tasks/db_branches.rb", "test/mocks.rb", "test/test_configuration_twiddler.rb", "test/test_helper.rb", "test/test_postgresql_switcher.rb", "test/test_sqlite_switcher.rb", "test/test_switcher.rb"]
14
- s.has_rdoc = false
14
+ s.has_rdoc = true
15
15
  s.homepage = %q{http://github.com/mschuerig/branch_db}
16
16
  s.rdoc_options = ["--main", "README.rdoc"]
17
17
  s.require_paths = ["lib"]
18
18
  s.rubyforge_project = %q{branch_db}
19
- s.rubygems_version = %q{1.3.1}
19
+ s.rubygems_version = %q{1.3.2}
20
20
  s.summary = %q{Give each git branch its own databases for ActiveRecord.}
21
21
  s.test_files = ["test/test_sqlite_switcher.rb", "test/test_helper.rb", "test/test_configuration_twiddler.rb", "test/test_postgresql_switcher.rb", "test/test_switcher.rb"]
22
22
 
23
23
  if s.respond_to? :specification_version then
24
24
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25
- s.specification_version = 2
25
+ s.specification_version = 3
26
26
 
27
27
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28
28
  s.add_runtime_dependency(%q<activerecord>, [">= 2.0.2"])
29
- s.add_development_dependency(%q<newgem>, [">= 1.3.0"])
29
+ s.add_development_dependency(%q<newgem>, [">= 1.4.1"])
30
30
  s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
31
31
  else
32
32
  s.add_dependency(%q<activerecord>, [">= 2.0.2"])
33
- s.add_dependency(%q<newgem>, [">= 1.3.0"])
33
+ s.add_dependency(%q<newgem>, [">= 1.4.1"])
34
34
  s.add_dependency(%q<hoe>, [">= 1.8.0"])
35
35
  end
36
36
  else
37
37
  s.add_dependency(%q<activerecord>, [">= 2.0.2"])
38
- s.add_dependency(%q<newgem>, [">= 1.3.0"])
38
+ s.add_dependency(%q<newgem>, [">= 1.4.1"])
39
39
  s.add_dependency(%q<hoe>, [">= 1.8.0"])
40
40
  end
41
41
  end
@@ -69,7 +69,7 @@ module BranchDb # :nodoc:
69
69
  ensure_branch_db_exists!(from_branch)
70
70
 
71
71
  create_empty_database do
72
- puts "Copying data..."
72
+ puts "Copying data from #{from_branch}..."
73
73
  copy_database(from_branch, @branch)
74
74
  end
75
75
  end
data/lib/branch_db.rb CHANGED
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module BranchDb
5
- VERSION = '0.0.5'
5
+ VERSION = '0.0.7'
6
6
  DEFAULT_BRANCH = 'master'
7
7
 
8
8
  class Error < StandardError; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mschuerig-branch_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Schuerig
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-09 00:00:00 -07:00
12
+ date: 2009-05-21 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.3.0
33
+ version: 1.4.1
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: hoe
@@ -75,7 +75,7 @@ files:
75
75
  - test/test_postgresql_switcher.rb
76
76
  - test/test_sqlite_switcher.rb
77
77
  - test/test_switcher.rb
78
- has_rdoc: false
78
+ has_rdoc: true
79
79
  homepage: http://github.com/mschuerig/branch_db
80
80
  post_install_message:
81
81
  rdoc_options:
@@ -100,7 +100,7 @@ requirements: []
100
100
  rubyforge_project: branch_db
101
101
  rubygems_version: 1.2.0
102
102
  signing_key:
103
- specification_version: 2
103
+ specification_version: 3
104
104
  summary: Give each git branch its own databases for ActiveRecord.
105
105
  test_files:
106
106
  - test/test_sqlite_switcher.rb