use_db 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e1641b8c8861d8b678b627e2c2fb7893c2d4dc79
4
+ data.tar.gz: 32db7ace9254e7bb036f582882381465c893a335
5
+ SHA512:
6
+ metadata.gz: 01c801a71155d0785d944bf052ddf4497c560fe82387c147bbfc78f873663bbfeddc806037b7cc0a950377757b7f45f980c91e3e0bbf4efc11a28ec650aeaf82
7
+ data.tar.gz: fa3ba769af2248eb0ecf77011203061526bf541ffba0a3d7f7741fc4e20698f8c479df8431597849562d168034b61dbc3ac884ae9d2b427b793806982eb2f06d
data/MIT_license.txt ADDED
@@ -0,0 +1,19 @@
1
+ The MIT License (MIT)
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
data/README.rdoc CHANGED
@@ -17,10 +17,14 @@ A multi-database connection scheme for Rails 3, supporting testing and migration
17
17
 
18
18
  * gem "use_db", "~> 0.1.4"
19
19
 
20
- === Rails 3.1
20
+ === Rails 3.1 -> 4.1
21
21
 
22
22
  * gem "use_db", "~> 0.2.0"
23
23
 
24
+ === Rails 4.1
25
+
26
+ * gem "use_db", "~> 0.3.0"
27
+
24
28
  == Usage
25
29
 
26
30
  === ACTIVERECORD
data/lib/migration.rb CHANGED
@@ -6,13 +6,12 @@ module ActiveRecord
6
6
  end
7
7
  end
8
8
 
9
- # New for Rails 3.1
10
9
  def method_missing(method, *arguments, &block)
11
10
  arg_list = arguments.map{ |a| a.inspect } * ', '
12
11
 
13
12
  say_with_time "#{method}(#{arg_list})" do
14
13
  unless arguments.empty? || method == :execute
15
- arguments[0] = Migrator.proper_table_name(arguments.first)
14
+ arguments[0] = proper_table_name(arguments.first)
16
15
  end
17
16
  return super unless connection.respond_to?(method)
18
17
 
@@ -27,4 +26,4 @@ module ActiveRecord
27
26
  end
28
27
 
29
28
  end
30
- end
29
+ end
@@ -1,3 +1,3 @@
1
1
  module UseDb
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
data/use_db.gemspec CHANGED
@@ -7,10 +7,10 @@ Gem::Specification.new do |s|
7
7
  s.version = UseDb::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Ron Guarisco"]
10
- s.email = ["ron@guarisco.net"]
10
+ s.email = ["ron.guarisco@gmail.com"]
11
11
  s.homepage = "https://github.com/guarisco/use_db"
12
- s.summary = %q{Multi-database AR connections for Rails 3}
13
- s.description = %q{Multi-database AR connections for Rails 3 models, tests, and migrations.}
12
+ s.summary = %q{Multi-database AR connections for Rails 3,4}
13
+ s.description = %q{Multi-database AR connections for Rails 3,4 models, tests, and migrations.}
14
14
 
15
15
  s.rubyforge_project = "use_db"
16
16
 
metadata CHANGED
@@ -1,25 +1,25 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: use_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ron Guarisco
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-11-23 00:00:00.000000000Z
11
+ date: 2015-02-08 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: Multi-database AR connections for Rails 3 models, tests, and migrations.
13
+ description: Multi-database AR connections for Rails 3,4 models, tests, and migrations.
15
14
  email:
16
- - ron@guarisco.net
15
+ - ron.guarisco@gmail.com
17
16
  executables: []
18
17
  extensions: []
19
18
  extra_rdoc_files: []
20
19
  files:
21
- - .gitignore
20
+ - ".gitignore"
22
21
  - Gemfile
22
+ - MIT_license.txt
23
23
  - README.rdoc
24
24
  - Rakefile
25
25
  - lib/migration.rb
@@ -30,26 +30,25 @@ files:
30
30
  - use_db.gemspec
31
31
  homepage: https://github.com/guarisco/use_db
32
32
  licenses: []
33
+ metadata: {}
33
34
  post_install_message:
34
35
  rdoc_options: []
35
36
  require_paths:
36
37
  - lib
37
38
  required_ruby_version: !ruby/object:Gem::Requirement
38
- none: false
39
39
  requirements:
40
- - - ! '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  required_rubygems_version: !ruby/object:Gem::Requirement
44
- none: false
45
44
  requirements:
46
- - - ! '>='
45
+ - - ">="
47
46
  - !ruby/object:Gem::Version
48
47
  version: '0'
49
48
  requirements: []
50
49
  rubyforge_project: use_db
51
- rubygems_version: 1.8.10
50
+ rubygems_version: 2.2.2
52
51
  signing_key:
53
- specification_version: 3
54
- summary: Multi-database AR connections for Rails 3
52
+ specification_version: 4
53
+ summary: Multi-database AR connections for Rails 3,4
55
54
  test_files: []