fast_change_table 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,28 +1,28 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fast_change_table (1.5.0)
4
+ fast_change_table (1.5.1)
5
5
  activerecord (>= 2.3)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- activemodel (3.2.1)
11
- activesupport (= 3.2.1)
10
+ activemodel (3.2.2)
11
+ activesupport (= 3.2.2)
12
12
  builder (~> 3.0.0)
13
- activerecord (3.2.1)
14
- activemodel (= 3.2.1)
15
- activesupport (= 3.2.1)
16
- arel (~> 3.0.0)
13
+ activerecord (3.2.2)
14
+ activemodel (= 3.2.2)
15
+ activesupport (= 3.2.2)
16
+ arel (~> 3.0.2)
17
17
  tzinfo (~> 0.3.29)
18
- activesupport (3.2.1)
18
+ activesupport (3.2.2)
19
19
  i18n (~> 0.6)
20
20
  multi_json (~> 1.0)
21
- arel (3.0.0)
21
+ arel (3.0.2)
22
22
  builder (3.0.0)
23
23
  diff-lcs (1.1.3)
24
24
  i18n (0.6.0)
25
- multi_json (1.0.4)
25
+ multi_json (1.1.0)
26
26
  mysql2 (0.3.11)
27
27
  rspec (2.8.0)
28
28
  rspec-core (~> 2.8.0)
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Grady Griffin
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -5,3 +5,8 @@ RSpec::Core::RakeTask.new('spec')
5
5
 
6
6
  # If you want to make this the default task
7
7
  task :default => :spec
8
+
9
+ desc "Open an irb session preloaded with this library"
10
+ task :console do
11
+ sh "irb -rubygems -I lib -r fast_change_table.rb"
12
+ end
@@ -4,7 +4,7 @@ require "fast_change_table/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "fast_change_table"
7
- s.version = FastChangeTable::VERSION
7
+ s.version = FastChangeTable::VERSION::STRING
8
8
  s.authors = ["Grady Griffin"]
9
9
  s.email = ["gradyg@izea.com"]
10
10
  s.homepage = "https://github.com/thegboat/fast_change_table"
@@ -1,3 +1,9 @@
1
1
  module FastChangeTable
2
- VERSION = "1.5.0"
2
+ module VERSION
3
+ MAJOR = 1
4
+ MINOR = 5
5
+ TINY = 1
6
+
7
+ STRING = [MAJOR, MINOR, TINY].join('.')
8
+ end
3
9
  end
metadata CHANGED
@@ -1,79 +1,61 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fast_change_table
3
- version: !ruby/object:Gem::Version
4
- hash: 3
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.5.1
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 5
9
- - 0
10
- version: 1.5.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Grady Griffin
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-02-15 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-03-02 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: activerecord
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70205560655920 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 5
29
- segments:
30
- - 2
31
- - 3
32
- version: "2.3"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '2.3'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: rspec
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70205560655920
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &70205560655020 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
47
33
  type: :development
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: mysql2
51
34
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70205560655020
36
+ - !ruby/object:Gem::Dependency
37
+ name: mysql2
38
+ requirement: &70205560654120 !ruby/object:Gem::Requirement
53
39
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
61
44
  type: :development
62
- version_requirements: *id003
45
+ prerelease: false
46
+ version_requirements: *70205560654120
63
47
  description: Uses table duplication to speed up migrations on large tables
64
- email:
48
+ email:
65
49
  - gradyg@izea.com
66
50
  executables: []
67
-
68
51
  extensions: []
69
-
70
52
  extra_rdoc_files: []
71
-
72
- files:
53
+ files:
73
54
  - .gitignore
74
55
  - CHANGELOG.md
75
56
  - Gemfile
76
57
  - Gemfile.lock
58
+ - MIT-LICENSE
77
59
  - README.md
78
60
  - Rakefile
79
61
  - fast_change_table.gemspec
@@ -85,37 +67,28 @@ files:
85
67
  - spec/spec_helper.rb
86
68
  homepage: https://github.com/thegboat/fast_change_table
87
69
  licenses: []
88
-
89
70
  post_install_message:
90
71
  rdoc_options: []
91
-
92
- require_paths:
72
+ require_paths:
93
73
  - lib
94
- required_ruby_version: !ruby/object:Gem::Requirement
74
+ required_ruby_version: !ruby/object:Gem::Requirement
95
75
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
- version: "0"
103
- required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ! '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ required_rubygems_version: !ruby/object:Gem::Requirement
104
81
  none: false
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- hash: 3
109
- segments:
110
- - 0
111
- version: "0"
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
112
86
  requirements: []
113
-
114
87
  rubyforge_project: fast_change_table
115
88
  rubygems_version: 1.8.15
116
89
  signing_key:
117
90
  specification_version: 3
118
91
  summary: Faster table changes
119
- test_files:
92
+ test_files:
120
93
  - spec/fast_change_table_spec.rb
121
94
  - spec/spec_helper.rb