simple_migrator 0.0.1 → 0.0.2

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: 2efb61e7bb9748832cfeee309365c8ee003ef756
4
- data.tar.gz: f34e0c895d10ccebef93ed296755013edeab2b7a
3
+ metadata.gz: 1af28597af8a7d9a0068fc91c9e7eeb9b64e649f
4
+ data.tar.gz: b4a11ef877bf056967a39dc6bed5b5dc8b7dac98
5
5
  SHA512:
6
- metadata.gz: 12e88647bced81100e2cc47113228f38ee60330b7255d92b3e8628af3cf61242cde89fcf3c7d3d8be829e563241e8f89ffc94af52572f3c05235fc31ef0a924c
7
- data.tar.gz: 7bac0c4b19cc76546549ab740844cccc6ac755fb7d8d79bb7fc74b3f4b8bda4ec15abcbef17660e0f605fb2d93476f31b4af1d97924bed61b379d9dd33d06a93
6
+ metadata.gz: 7d5b0d68efc106da8056d5325b08292a6ba3ece01c4d9b22d1ddcf3ec6a333527e82f1253ccaddbfc26784883e6b29406c6c5f4f4e0ca1a2f9486e199a710e4a
7
+ data.tar.gz: 73961d603025b408c1f7ed032718efb24cf2b471e05a7307300dd7cd4f76c1dc3377eaf07de5504b8614101ec98f4ec9879f71e803ac8cce2ad4b8e7523342e3
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.1
4
+ - 2.1.3
5
+ - 2.0.0
data/Rakefile CHANGED
@@ -1,2 +1,10 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+ RSpec::Core::RakeTask.new(:spec)
6
+ rescue LoadError
7
+ end
8
+
9
+ task default: :spec
10
+
@@ -1,10 +1,10 @@
1
1
  module SimpleMigrator
2
2
  module Migratable
3
- def migrate!(migrator = migrator)
3
+ def migrate!(_migrator = migrator)
4
4
  self.class.migrations.each do |migration|
5
5
  rebound_proc = rebind_proc(migration.proc)
6
6
  name = prefixed_migration_name(migration.name)
7
- migrator.migrate(name, &rebound_proc)
7
+ _migrator.migrate(name, &rebound_proc)
8
8
  end
9
9
  end
10
10
 
@@ -1,3 +1,3 @@
1
1
  module SimpleMigrator
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_migrator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesper Josefsson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-03 00:00:00.000000000 Z
11
+ date: 2015-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
@@ -103,6 +103,7 @@ extra_rdoc_files: []
103
103
  files:
104
104
  - ".gitignore"
105
105
  - ".rspec"
106
+ - ".travis.yml"
106
107
  - Gemfile
107
108
  - LICENSE.txt
108
109
  - README.md