standalone_migrations 2.1.1 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZjZjOTliYzZhYTYwOTkxMDBmODhlY2NiM2EzNjFmY2NmZWEwMjE1NQ==
5
+ data.tar.gz: !binary |-
6
+ NTRkMDJhZGMyYWFmZmY1Nzc0OTE3MjBkNTIzYzQ1ZjUxZjg3NmZkOA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ Y2I5YzJkY2M5MTEwOTc2ZDRhZGIwMTJhNDA0ZDBhNWE2OGU0YTEzMGZlNzMx
10
+ Zjc4MDAxZGFkYzRkOWM1ZTYyZTJjNTNiMGJjNmM0OTYxNTQxZGQzMTlhZDdi
11
+ ZjBjMTVmYzQ0ZjFiNzk5YWRlMWE3YmI0ZmU1MzBhYjdkODM4MWM=
12
+ data.tar.gz: !binary |-
13
+ NDZjYzBkMGY3MWExNGU5YmNmZDg1YmZhZTBlZjc1OTJjNjk1ZGQ4MDdmNDQy
14
+ YzljYTA5ODA2NzI1ODBlNTg0NmQxYjUyYzU2MjM2ZjYzOTM1NjYxYjUwNzE0
15
+ ZDI5MzcwOTA0NWZlM2MwYTkzZWEzMjcwYmNjMTllY2Y2MWE4YjE=
data/Gemfile CHANGED
@@ -1,8 +1,8 @@
1
1
  source :rubygems
2
2
 
3
- gem 'rake'
4
- gem 'activerecord', ENV['AR'] || '~> 3.2.13'
5
- gem 'railties', ENV['AR'] || '~> 3.2.13'
3
+ gem 'rake', '~> 10.0'
4
+ gem 'activerecord', ENV['AR'] || '~> 3.2'
5
+ gem 'railties', ENV['AR'] || '~> 3.2'
6
6
 
7
7
  group :dev do
8
8
  gem 'sqlite3'
data/Gemfile.lock CHANGED
@@ -22,20 +22,50 @@ GEM
22
22
  activesupport (3.2.13)
23
23
  i18n (= 0.6.1)
24
24
  multi_json (~> 1.0)
25
+ addressable (2.3.6)
25
26
  arel (3.0.2)
26
27
  builder (3.0.4)
27
28
  diff-lcs (1.1.3)
28
29
  erubis (2.7.0)
29
- git (1.2.5)
30
+ faraday (0.8.9)
31
+ multipart-post (~> 1.2.0)
32
+ git (1.2.6)
33
+ github_api (0.10.2)
34
+ addressable
35
+ faraday (~> 0.8.7)
36
+ hashie (>= 1.2)
37
+ multi_json (~> 1.4)
38
+ nokogiri (~> 1.6.0)
39
+ oauth2
40
+ hashie (2.1.1)
41
+ highline (1.6.21)
30
42
  hike (1.2.1)
31
43
  i18n (0.6.1)
32
- jeweler (1.6.4)
33
- bundler (~> 1.0)
44
+ jeweler (2.0.1)
45
+ builder
46
+ bundler (>= 1.0)
34
47
  git (>= 1.2.5)
48
+ github_api
49
+ highline (>= 1.6.15)
50
+ nokogiri (>= 1.5.10)
35
51
  rake
52
+ rdoc
36
53
  journey (1.0.4)
37
54
  json (1.7.7)
55
+ jwt (0.1.11)
56
+ multi_json (>= 1.5)
57
+ mini_portile (0.5.3)
38
58
  multi_json (1.7.1)
59
+ multi_xml (0.5.5)
60
+ multipart-post (1.2.0)
61
+ nokogiri (1.6.1)
62
+ mini_portile (~> 0.5.0)
63
+ oauth2 (0.9.3)
64
+ faraday (>= 0.8, < 0.10)
65
+ jwt (~> 0.1.8)
66
+ multi_json (~> 1.3)
67
+ multi_xml (~> 0.5)
68
+ rack (~> 1.2)
39
69
  rack (1.4.5)
40
70
  rack-cache (1.2)
41
71
  rack (>= 0.4)
@@ -50,7 +80,7 @@ GEM
50
80
  rake (>= 0.8.7)
51
81
  rdoc (~> 3.4)
52
82
  thor (>= 0.14.6, < 2.0)
53
- rake (0.9.2.2)
83
+ rake (10.2.2)
54
84
  rdoc (3.12.2)
55
85
  json (~> 1.4)
56
86
  rspec (2.7.0)
@@ -75,9 +105,9 @@ PLATFORMS
75
105
  ruby
76
106
 
77
107
  DEPENDENCIES
78
- activerecord (~> 3.2.13)
108
+ activerecord (~> 3.2)
79
109
  jeweler
80
- railties (~> 3.2.13)
81
- rake
110
+ railties (~> 3.2)
111
+ rake (~> 10.0)
82
112
  rspec (~> 2)
83
113
  sqlite3
File without changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.1
1
+ 2.1.3
@@ -36,7 +36,7 @@ module StandaloneMigrations
36
36
  :schema => "db/schema.rb"
37
37
  }
38
38
  @options = load_from_file(defaults.dup) || defaults.merge(options)
39
- ENV['SCHEMA'] = File.expand_path(schema)
39
+ ENV['SCHEMA'] = ENV['SCHEMA'] || File.expand_path(schema)
40
40
  end
41
41
 
42
42
  def config
@@ -75,7 +75,7 @@ module StandaloneMigrations
75
75
 
76
76
  def load_from_file(defaults)
77
77
  return nil unless File.exists? configuration_file
78
- config = YAML.load( IO.read(configuration_file) )
78
+ config = YAML.load( ERB.new(IO.read(configuration_file)).result )
79
79
  {
80
80
  :config => config["config"] ? config["config"]["database"] : defaults[:config],
81
81
  :migrate_dir => config["db"] ? config["db"]["migrate"] : defaults[:migrate_dir],
@@ -81,7 +81,7 @@ end
81
81
  write_rakefile
82
82
  write 'db/config.yml', <<-TXT
83
83
  development:
84
- adapter: sqlite3
84
+ adapter: <%= "sqlite3" %>
85
85
  database: db/development.sql
86
86
  test:
87
87
  adapter: sqlite3
@@ -2,23 +2,26 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: standalone_migrations 2.1.3 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "standalone_migrations"
8
- s.version = "2.1.1"
9
+ s.version = "2.1.3"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Todd Huss", "Michael Grosser"]
12
- s.date = "2013-04-12"
14
+ s.date = "2014-04-12"
13
15
  s.email = "thuss@gabrito.com"
14
16
  s.extra_rdoc_files = [
17
+ "LICENSE",
15
18
  "README.markdown"
16
19
  ]
17
20
  s.files = [
18
21
  ".travis.yml",
19
22
  "Gemfile",
20
23
  "Gemfile.lock",
21
- "MIT-LICENSE",
24
+ "LICENSE",
22
25
  "README.markdown",
23
26
  "Rakefile",
24
27
  "VERSION",
@@ -45,26 +48,25 @@ Gem::Specification.new do |s|
45
48
  "vendor/migration_helpers/lib/migration_helper.rb"
46
49
  ]
47
50
  s.homepage = "http://github.com/thuss/standalone-migrations"
48
- s.require_paths = ["lib"]
49
- s.rubygems_version = "1.8.24"
51
+ s.rubygems_version = "2.2.2"
50
52
  s.summary = "A thin wrapper to use Rails Migrations in non Rails projects"
51
53
 
52
54
  if s.respond_to? :specification_version then
53
- s.specification_version = 3
55
+ s.specification_version = 4
54
56
 
55
57
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
- s.add_runtime_dependency(%q<rake>, [">= 0"])
57
- s.add_runtime_dependency(%q<activerecord>, ["~> 3.2.13"])
58
- s.add_runtime_dependency(%q<railties>, ["~> 3.2.13"])
58
+ s.add_runtime_dependency(%q<rake>, ["~> 10.0"])
59
+ s.add_runtime_dependency(%q<activerecord>, ["~> 3.2"])
60
+ s.add_runtime_dependency(%q<railties>, ["~> 3.2"])
59
61
  else
60
- s.add_dependency(%q<rake>, [">= 0"])
61
- s.add_dependency(%q<activerecord>, ["~> 3.2.13"])
62
- s.add_dependency(%q<railties>, ["~> 3.2.13"])
62
+ s.add_dependency(%q<rake>, ["~> 10.0"])
63
+ s.add_dependency(%q<activerecord>, ["~> 3.2"])
64
+ s.add_dependency(%q<railties>, ["~> 3.2"])
63
65
  end
64
66
  else
65
- s.add_dependency(%q<rake>, [">= 0"])
66
- s.add_dependency(%q<activerecord>, ["~> 3.2.13"])
67
- s.add_dependency(%q<railties>, ["~> 3.2.13"])
67
+ s.add_dependency(%q<rake>, ["~> 10.0"])
68
+ s.add_dependency(%q<activerecord>, ["~> 3.2"])
69
+ s.add_dependency(%q<railties>, ["~> 3.2"])
68
70
  end
69
71
  end
70
72
 
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standalone_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
5
- prerelease:
4
+ version: 2.1.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Todd Huss
@@ -10,67 +9,62 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-04-12 00:00:00.000000000 Z
12
+ date: 2014-04-12 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rake
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - ~>
21
19
  - !ruby/object:Gem::Version
22
- version: '0'
20
+ version: '10.0'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - ~>
29
26
  - !ruby/object:Gem::Version
30
- version: '0'
27
+ version: '10.0'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: activerecord
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ~>
37
33
  - !ruby/object:Gem::Version
38
- version: 3.2.13
34
+ version: '3.2'
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ~>
45
40
  - !ruby/object:Gem::Version
46
- version: 3.2.13
41
+ version: '3.2'
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: railties
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
46
  - - ~>
53
47
  - !ruby/object:Gem::Version
54
- version: 3.2.13
48
+ version: '3.2'
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
53
  - - ~>
61
54
  - !ruby/object:Gem::Version
62
- version: 3.2.13
55
+ version: '3.2'
63
56
  description:
64
57
  email: thuss@gabrito.com
65
58
  executables: []
66
59
  extensions: []
67
60
  extra_rdoc_files:
61
+ - LICENSE
68
62
  - README.markdown
69
63
  files:
70
64
  - .travis.yml
71
65
  - Gemfile
72
66
  - Gemfile.lock
73
- - MIT-LICENSE
67
+ - LICENSE
74
68
  - README.markdown
75
69
  - Rakefile
76
70
  - VERSION
@@ -97,29 +91,25 @@ files:
97
91
  - vendor/migration_helpers/lib/migration_helper.rb
98
92
  homepage: http://github.com/thuss/standalone-migrations
99
93
  licenses: []
94
+ metadata: {}
100
95
  post_install_message:
101
96
  rdoc_options: []
102
97
  require_paths:
103
98
  - lib
104
99
  required_ruby_version: !ruby/object:Gem::Requirement
105
- none: false
106
100
  requirements:
107
101
  - - ! '>='
108
102
  - !ruby/object:Gem::Version
109
103
  version: '0'
110
- segments:
111
- - 0
112
- hash: -1278764996030597020
113
104
  required_rubygems_version: !ruby/object:Gem::Requirement
114
- none: false
115
105
  requirements:
116
106
  - - ! '>='
117
107
  - !ruby/object:Gem::Version
118
108
  version: '0'
119
109
  requirements: []
120
110
  rubyforge_project:
121
- rubygems_version: 1.8.24
111
+ rubygems_version: 2.2.2
122
112
  signing_key:
123
- specification_version: 3
113
+ specification_version: 4
124
114
  summary: A thin wrapper to use Rails Migrations in non Rails projects
125
115
  test_files: []