data_seeder 1.0.7 → 1.0.8

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: be9b3e7f5567ce39b1900c50c07e67b08624ce91
4
- data.tar.gz: 2b68e4f2f71996794edf041c6f5deee8be1d6fc8
3
+ metadata.gz: 4c185fe818e865e5c199c0300f397483d7d6b810
4
+ data.tar.gz: 75f24704ed87121cc941c85a50edea266363e944
5
5
  SHA512:
6
- metadata.gz: d66a49959b0548a5943fe1b3c7a2a4fd9855364aed8c97c4671af604704929f941c53e0cd1cd1063a8d17d1bc60c494b155c2e96b059b07787000da1171dbdd3
7
- data.tar.gz: 517fd78db61b404276311a5d56904e2720f61d6da62f3df0b00e3ba85b2daa458ca5fa18e93da33a983370151a8b70a3503a841d90c0208742047b4ec4fc213d
6
+ metadata.gz: 02bef0191a36329a0dd0ee3c2d0c7203aad4c02976e6e629adfa8a5e252b232023a456e57cdeb277695dc093f166489da635599d033a32ff474a4b9646cc1687
7
+ data.tar.gz: 1df1dbf87989a29d9b6c0fd95eb3c7f2f7fa11a336500597963f1dc83a80e30820b17475d5914007be95c180560b6c69eddb29388d96fc373340c1d0dd5dec69
@@ -84,6 +84,7 @@ module DataSeeder
84
84
  model = self.klass.find_or_initialize_by(find_hash)
85
85
  model.attributes = attr
86
86
  save_model(model)
87
+ return model
87
88
  end
88
89
 
89
90
  def save_model(model)
@@ -1,3 +1,3 @@
1
1
  module DataSeeder
2
- VERSION = '1.0.7'
2
+ VERSION = '1.0.8'
3
3
  end
@@ -163,3 +163,4 @@ Migrating to CreateAppErrors (20150313172719)
163
163
   (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313022149')
164
164
   (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313022228')
165
165
   (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313172634')
166
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"