activerecord-migrations 1.0.0.pre.rc2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/activerecord-migrations.gemspec +1 -3
- data/lib/active_record/migrations/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa419d3b6de9f475a1866fcb31c272830285b4e9
|
|
4
|
+
data.tar.gz: 48a7ac4741bc58df044b8ec1df299a376be64ce8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d9af4e1ce96cb743180be35e1029183c9e6080f4b800eccbf834b29745e8ef92aa18d975e60fac21211801dcc645efd9f6eba4a42e718690827d6d477f169b9
|
|
7
|
+
data.tar.gz: e4adccd4abfcef21c5f3ed010e96e800f5ecdc64388aafeae592047b554cf2bc79c27eb59edc3f3f1f0342c4441ed0d83e5ff2d02a2da8e9959ecebca126ae93
|
data/README.md
CHANGED
|
@@ -38,6 +38,10 @@ require 'active_record/migrations'
|
|
|
38
38
|
ActiveRecord::Migrations.root = File.expand_path("../db", __dir__)
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
### Deployment
|
|
42
|
+
|
|
43
|
+
This gem includes an additional task `db:deploy` which is designed to assist with deployment of sites with databases. When deploying a site for the first time, this task will create the database and load the seed data. If deploying the site to an existing database it will simply run migrations.
|
|
44
|
+
|
|
41
45
|
## Contributing
|
|
42
46
|
|
|
43
47
|
1. Fork it
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
-
require 'active_record/migrations/version'
|
|
2
|
+
require_relative 'lib/active_record/migrations/version'
|
|
5
3
|
|
|
6
4
|
Gem::Specification.new do |spec|
|
|
7
5
|
spec.name = "activerecord-migrations"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-migrations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-12-
|
|
11
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -114,9 +114,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
114
114
|
version: '0'
|
|
115
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
requirements:
|
|
117
|
-
- - "
|
|
117
|
+
- - ">="
|
|
118
118
|
- !ruby/object:Gem::Version
|
|
119
|
-
version:
|
|
119
|
+
version: '0'
|
|
120
120
|
requirements: []
|
|
121
121
|
rubyforge_project:
|
|
122
122
|
rubygems_version: 2.5.2
|