migration_data 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4552c429867842324c75472fbdbc53fc02f77f2
4
- data.tar.gz: e14bc8afb270954806a23918acd59e9df279f53b
3
+ metadata.gz: 5eb9b4e4b05f034db9b1052abe2d70acf918eef0
4
+ data.tar.gz: b40491e6124d7666732164bd79e1dbe5f5dea0a2
5
5
  SHA512:
6
- metadata.gz: b0294bc30af216c53a2f8be71719b1f8b5baa288d12f5c3b81243c056de53d472dfcead29fe78663f2488ba2429966f94c6d87c790f6f2d875a70ffc9691235b
7
- data.tar.gz: 3cba7c9e880c5515da1fb85b34a9624f67da3c02c97e40034c4ff84e69027a633e54b44ab9446e50a4be55502a016fd3e00a19a6f23c5a5dde74c2b1e49d391e
6
+ metadata.gz: 002d97ddc5b91de8d3430b04991dbe8e6f5d3d431a87897b539935a53433eb4778d3c63a972825bfdf7a9f8201cf5607592f4e49028f288e65a8da3f799cb0c6
7
+ data.tar.gz: a8121c8c39a8f0970dfb7055b2ac402f50eafb71db4ca7bcd8fd758ff491e54cd2134cf7ccab3c73009ca276bb9e6633096c0c356847a7438eedc90e40fd246a
@@ -9,5 +9,5 @@ def require_migration(migration_name)
9
9
 
10
10
  raise LoadError, "cannot load such file -- #{migration_name}" unless file
11
11
 
12
- require file.filename
12
+ require Rails.root.join(file.filename)
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module MigrationData
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -25,5 +25,5 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency 'bundler', '~> 1.5'
26
26
  spec.add_development_dependency 'rake'
27
27
  spec.add_development_dependency 'sqlite3'
28
- spec.add_dependency 'activerecord', '~> 4.0'
28
+ spec.add_dependency 'activerecord', '>= 4.0.0.rc1'
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migration_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Koleshko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-29 00:00:00.000000000 Z
11
+ date: 2014-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: activerecord
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '4.0'
61
+ version: 4.0.0.rc1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '4.0'
68
+ version: 4.0.0.rc1
69
69
  description: |-
70
70
  Sometimes we have to write some Rails code in the migrations and it's hard to
71
71
  keep them in working state because models wich are used there changes too often. there