nostalgic 0.1.2 → 0.1.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: 792170ed5f2a841df88e8fb0929bd5121f50de6a
4
- data.tar.gz: 0435867587829630542c928cd00049ee70c9ece6
3
+ metadata.gz: b0f5c1b2d484ccbb20b2c5325c1d53919f9762f1
4
+ data.tar.gz: 2c619a38306ad3d63b9ea1ab1626c3162820c678
5
5
  SHA512:
6
- metadata.gz: 7d0f1603ba599440ee7bcac2aa93865923b9d37ed016bd369510998c5be88159d8b4785636d3a65256036feb362d21c1cbb8173d8b1ffbf2d319be9a3600a934
7
- data.tar.gz: 5052f45bc4771b845804b0694a09cc00c4fbfdd58ad2e7ed9d595b292806c12ce2f605a429f476c321673da9cb8a4b897a167c05e559b91fe054810e81fe92ae
6
+ metadata.gz: bd93d1d171054652007844043c59997ee29eadad39e441adddacb35d5d7d1f77d5e918693fcc644a87eae0fcf06b951877365ed38a27b05d614600109bf35b63
7
+ data.tar.gz: 93369f9a9acc05533eff8c2f4d6147c98bc571815e6b70c7eee4426c0f91297c675cbab1f23fc8688fab4fd3d6d75907a31ca2abe663ec2ab8766393f01a4919
@@ -3,11 +3,22 @@ module Nostalgic
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
+ after_find :load_current_value
6
7
  after_save :save_nostalgic_attrs!
7
8
  end
8
9
 
9
10
  private
10
11
 
12
+ def load_current_value
13
+ Array(self.class.nostalgic_attrs).each do |attr|
14
+ current = self.__send__(attr.to_s.pluralize).where('effective_at <= ?', Date.today).first
15
+ if current
16
+ self.__send__("#{attr}=", current.value)
17
+ self.__send__("#{attr}_effective_at=", current.effective_at)
18
+ end
19
+ end
20
+ end
21
+
11
22
  def save_nostalgic_attrs!
12
23
  Array(self.class.nostalgic_attrs).each do |attr|
13
24
  effective_at = self.__send__("#{attr}_effective_at")
@@ -1,3 +1,3 @@
1
1
  module Nostalgic
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
Binary file
@@ -5733,3 +5733,131 @@ UserTest: test_tel
5733
5733
  Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-19') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5734
5734
  Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5735
5735
   (0.1ms) rollback transaction
5736
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5737
+  (0.1ms) begin transaction
5738
+ Fixture Delete (0.2ms) DELETE FROM "nostalgic_attrs"
5739
+ Fixture Insert (0.1ms) INSERT INTO "nostalgic_attrs" ("id", "model_type", "model_id", "name", "value", "effective_at", "created_at", "updated_at") VALUES (1, 'User', 1, 'tel', '111-123-4567', '2016-07-20', '2016-08-19 15:40:33', '2016-08-19 15:40:33')
5740
+ Fixture Insert (0.1ms) INSERT INTO "nostalgic_attrs" ("id", "model_type", "model_id", "name", "value", "effective_at", "created_at", "updated_at") VALUES (2, 'User', 1, 'tel', '222-123-4567', '2016-08-20', '2016-08-19 15:40:33', '2016-08-19 15:40:33')
5741
+ Fixture Insert (0.0ms) INSERT INTO "nostalgic_attrs" ("id", "model_type", "model_id", "name", "value", "effective_at", "created_at", "updated_at") VALUES (3, 'User', 1, 'tel', '333-123-4567', '2016-08-21', '2016-08-19 15:40:33', '2016-08-19 15:40:33')
5742
+ Fixture Delete (0.1ms) DELETE FROM "users"
5743
+ Fixture Insert (0.1ms) INSERT INTO "users" ("id", "email", "tel", "created_at", "updated_at") VALUES (1, 'test1@example.com', '222-123-4567', '2016-08-19 15:40:33', '2016-08-19 15:40:33')
5744
+  (10.5ms) commit transaction
5745
+  (0.1ms) begin transaction
5746
+ -----------------------------------------
5747
+ Nostalgic::AttrTest: test_nostalgic_model
5748
+ -----------------------------------------
5749
+  (0.1ms) rollback transaction
5750
+  (0.0ms) begin transaction
5751
+ --------------------------------------------
5752
+ NostalgicTest: test_it_does_something_useful
5753
+ --------------------------------------------
5754
+  (0.0ms) rollback transaction
5755
+  (0.0ms) begin transaction
5756
+ ------------------------------------------------
5757
+ NostalgicTest: test_that_it_has_a_version_number
5758
+ ------------------------------------------------
5759
+  (0.0ms) rollback transaction
5760
+  (0.0ms) begin transaction
5761
+ -----------------------
5762
+ UserTest: test_save_tel
5763
+ -----------------------
5764
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
5765
+ Nostalgic::Attr Load (0.3ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_id", 1], ["model_type", "User"], ["name", "tel"]]
5766
+ Nostalgic::Attr Load (0.2ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5767
+  (0.0ms) SAVEPOINT active_record_1
5768
+ SQL (0.2ms) UPDATE "users" SET "tel" = ?, "updated_at" = ? WHERE "users"."id" = ? [["tel", "444-123-4567"], ["updated_at", "2016-08-19 15:40:33.589982"], ["id", 1]]
5769
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND "nostalgic_attrs"."effective_at" = ? ORDER BY "nostalgic_attrs"."id" ASC LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"], ["effective_at", "2016-08-20"]]
5770
+ SQL (0.1ms) UPDATE "nostalgic_attrs" SET "value" = ?, "updated_at" = ? WHERE "nostalgic_attrs"."id" = ? [["value", "444-123-4567"], ["updated_at", "2016-08-19 15:40:33.592648"], ["id", 2]]
5771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5772
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5773
+  (0.0ms) SAVEPOINT active_record_1
5774
+ SQL (0.1ms) UPDATE "users" SET "tel" = ?, "updated_at" = ? WHERE "users"."id" = ? [["tel", "555-123-4567"], ["updated_at", "2016-08-19 15:40:33.594808"], ["id", 1]]
5775
+ Nostalgic::Attr Load (0.0ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND "nostalgic_attrs"."effective_at" = ? ORDER BY "nostalgic_attrs"."id" ASC LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"], ["effective_at", "2016-08-22"]]
5776
+ SQL (0.1ms) INSERT INTO "nostalgic_attrs" ("model_type", "model_id", "name", "effective_at", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["model_type", "User"], ["model_id", 1], ["name", "tel"], ["effective_at", "2016-08-22"], ["value", "555-123-4567"], ["created_at", "2016-08-19 15:40:33.596243"], ["updated_at", "2016-08-19 15:40:33.596243"]]
5777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5778
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5779
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-21') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5780
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-22') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5781
+  (0.1ms) rollback transaction
5782
+  (0.0ms) begin transaction
5783
+ ------------------
5784
+ UserTest: test_tel
5785
+ ------------------
5786
+ User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
5787
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_id", 1], ["model_type", "User"], ["name", "tel"]]
5788
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-19') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5789
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5790
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-21') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5791
+  (0.1ms) rollback transaction
5792
+  (0.0ms) begin transaction
5793
+ -------------------
5794
+ UserTest: test_tels
5795
+ -------------------
5796
+ User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
5797
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_id", 1], ["model_type", "User"], ["name", "tel"]]
5798
+  (0.1ms) SELECT COUNT(*) FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."name" = ? [["model_id", 1], ["model_type", "User"], ["name", "tel"]]
5799
+  (0.0ms) rollback transaction
5800
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5801
+  (0.1ms) begin transaction
5802
+ Fixture Delete (0.2ms) DELETE FROM "nostalgic_attrs"
5803
+ Fixture Insert (0.1ms) INSERT INTO "nostalgic_attrs" ("id", "model_type", "model_id", "name", "value", "effective_at", "created_at", "updated_at") VALUES (1, 'User', 1, 'tel', '111-123-4567', '2016-07-20', '2016-08-19 15:47:52', '2016-08-19 15:47:52')
5804
+ Fixture Insert (0.1ms) INSERT INTO "nostalgic_attrs" ("id", "model_type", "model_id", "name", "value", "effective_at", "created_at", "updated_at") VALUES (2, 'User', 1, 'tel', '222-123-4567', '2016-08-20', '2016-08-19 15:47:52', '2016-08-19 15:47:52')
5805
+ Fixture Insert (0.0ms) INSERT INTO "nostalgic_attrs" ("id", "model_type", "model_id", "name", "value", "effective_at", "created_at", "updated_at") VALUES (3, 'User', 1, 'tel', '333-123-4567', '2016-08-21', '2016-08-19 15:47:52', '2016-08-19 15:47:52')
5806
+ Fixture Delete (0.0ms) DELETE FROM "users"
5807
+ Fixture Insert (0.1ms) INSERT INTO "users" ("id", "email", "tel", "created_at", "updated_at") VALUES (1, 'test1@example.com', '222-123-4567', '2016-08-19 15:47:52', '2016-08-19 15:47:52')
5808
+  (2.6ms) commit transaction
5809
+  (0.1ms) begin transaction
5810
+ ------------------
5811
+ UserTest: test_tel
5812
+ ------------------
5813
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
5814
+ Nostalgic::Attr Load (0.2ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_id", 1], ["model_type", "User"], ["name", "tel"]]
5815
+ Nostalgic::Attr Load (0.2ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-19') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5816
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5817
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-21') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5818
+  (0.0ms) rollback transaction
5819
+  (0.0ms) begin transaction
5820
+ -----------------------
5821
+ UserTest: test_save_tel
5822
+ -----------------------
5823
+ User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
5824
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_id", 1], ["model_type", "User"], ["name", "tel"]]
5825
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5826
+  (0.0ms) SAVEPOINT active_record_1
5827
+ SQL (0.3ms) UPDATE "users" SET "tel" = ?, "updated_at" = ? WHERE "users"."id" = ? [["tel", "444-123-4567"], ["updated_at", "2016-08-19 15:47:52.864197"], ["id", 1]]
5828
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND "nostalgic_attrs"."effective_at" = ? ORDER BY "nostalgic_attrs"."id" ASC LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"], ["effective_at", "2016-08-20"]]
5829
+ SQL (0.1ms) UPDATE "nostalgic_attrs" SET "value" = ?, "updated_at" = ? WHERE "nostalgic_attrs"."id" = ? [["value", "444-123-4567"], ["updated_at", "2016-08-19 15:47:52.867387"], ["id", 2]]
5830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5831
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5832
+  (0.0ms) SAVEPOINT active_record_1
5833
+ SQL (0.2ms) UPDATE "users" SET "tel" = ?, "updated_at" = ? WHERE "users"."id" = ? [["tel", "555-123-4567"], ["updated_at", "2016-08-19 15:47:52.869328"], ["id", 1]]
5834
+ Nostalgic::Attr Load (0.0ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND "nostalgic_attrs"."effective_at" = ? ORDER BY "nostalgic_attrs"."id" ASC LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"], ["effective_at", "2016-08-22"]]
5835
+ SQL (0.1ms) INSERT INTO "nostalgic_attrs" ("model_type", "model_id", "name", "effective_at", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["model_type", "User"], ["model_id", 1], ["name", "tel"], ["effective_at", "2016-08-22"], ["value", "555-123-4567"], ["created_at", "2016-08-19 15:47:52.874378"], ["updated_at", "2016-08-19 15:47:52.874378"]]
5836
+  (0.0ms) RELEASE SAVEPOINT active_record_1
5837
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5838
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-21') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5839
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-22') ORDER BY effective_at desc LIMIT 1 [["model_type", "User"], ["model_id", 1], ["name", "tel"]]
5840
+  (0.1ms) rollback transaction
5841
+  (0.1ms) begin transaction
5842
+ -------------------
5843
+ UserTest: test_tels
5844
+ -------------------
5845
+ User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
5846
+ Nostalgic::Attr Load (0.1ms) SELECT "nostalgic_attrs".* FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."name" = ? AND (effective_at <= '2016-08-20') ORDER BY effective_at desc LIMIT 1 [["model_id", 1], ["model_type", "User"], ["name", "tel"]]
5847
+  (0.1ms) SELECT COUNT(*) FROM "nostalgic_attrs" WHERE "nostalgic_attrs"."model_id" = ? AND "nostalgic_attrs"."model_type" = ? AND "nostalgic_attrs"."name" = ? [["model_id", 1], ["model_type", "User"], ["name", "tel"]]
5848
+  (0.1ms) rollback transaction
5849
+  (0.1ms) begin transaction
5850
+ -----------------------------------------
5851
+ Nostalgic::AttrTest: test_nostalgic_model
5852
+ -----------------------------------------
5853
+  (0.1ms) rollback transaction
5854
+  (0.1ms) begin transaction
5855
+ --------------------------------------------
5856
+ NostalgicTest: test_it_does_something_useful
5857
+ --------------------------------------------
5858
+  (0.1ms) rollback transaction
5859
+  (0.0ms) begin transaction
5860
+ ------------------------------------------------
5861
+ NostalgicTest: test_that_it_has_a_version_number
5862
+ ------------------------------------------------
5863
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nostalgic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-18 00:00:00.000000000 Z
11
+ date: 2016-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails