heart_seed 0.0.2 → 0.0.3
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/CHANGELOG.md +9 -3
- data/README.md +1 -0
- data/lib/heart_seed/db_seed.rb +1 -1
- data/lib/heart_seed/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b43a79271a12d77c2fa68b6a761757057226cac4
|
|
4
|
+
data.tar.gz: de48c9ccf1137cfff4f95c7dd0391dfd991a6821
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a14ec13e9d3888317f0408024d6af74a5fd663582522689fbb4155fea629dd4daf207a800f3f969eeca825db13217dc343475a5676002aa98e86c31bc381b546
|
|
7
|
+
data.tar.gz: 9c36a17544b0b71dbe69859a92863fbed5f7eab09cdcdde5abcb9796f1afe4481d110a0b084648a455322e5bc25c004ad3628d0187d3c12cfdd5297a04ca41fa
|
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](https://github.com/sue445/
|
|
2
|
+
[full changelog](https://github.com/sue445/heart_seed/compare/v0.0.3...master)
|
|
3
3
|
|
|
4
|
-
## 0.0.
|
|
5
|
-
[full changelog](https://github.com/sue445/
|
|
4
|
+
## 0.0.3 (2014/07/25)
|
|
5
|
+
[full changelog](https://github.com/sue445/heart_seed/compare/v0.0.2...v0.0.3)
|
|
6
|
+
|
|
7
|
+
* Can not run `db:seed` (thx @ryonext)
|
|
8
|
+
* https://github.com/sue445/heart_seed/pull/10
|
|
9
|
+
|
|
10
|
+
## 0.0.2 (2014/07/08)
|
|
11
|
+
[full changelog](https://github.com/sue445/heart_seed/compare/v0.0.1...v0.0.2)
|
|
6
12
|
|
|
7
13
|
* Ignore all table db:seed when production
|
|
8
14
|
* https://github.com/sue445/heart_seed/issues/8
|
data/README.md
CHANGED
|
@@ -7,6 +7,7 @@ seed util (convert excel to yaml and insert yaml to db)
|
|
|
7
7
|
[](https://codeclimate.com/github/sue445/heart_seed)
|
|
8
8
|
[](https://coveralls.io/r/sue445/heart_seed?branch=master)
|
|
9
9
|
[](https://gemnasium.com/sue445/heart_seed)
|
|
10
|
+
[](http://inch-ci.org/github/sue445/heart_seed)
|
|
10
11
|
|
|
11
12
|
[](https://waffle.io/sue445/heart_seed)
|
|
12
13
|
|
data/lib/heart_seed/db_seed.rb
CHANGED
|
@@ -30,7 +30,7 @@ module HeartSeed
|
|
|
30
30
|
target_tables = parse_string_or_array_arg(tables)
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
raise "require TABLES or CATALOGS if production" if HeartSeed::Helper.production? && target_tables.empty?
|
|
34
34
|
|
|
35
35
|
ActiveRecord::Migration.verbose = true
|
|
36
36
|
Dir.glob(File.join(seed_dir, "*.yml")) do |file|
|
data/lib/heart_seed/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: heart_seed
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|