has_friendship 1.0.0 → 1.0.1

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: af4ffa11c1e7c0dc09dfef52a5d6a62183c2f3e2
4
- data.tar.gz: 72e4ee5dce6fd4ed5e665a0c6d9ff3637965b9f8
3
+ metadata.gz: dfc1c4120d6aaa3a58f4590f7bb8a81ba2948d77
4
+ data.tar.gz: 22c6cea2bbbd4b74388a94312efffe050a37b05b
5
5
  SHA512:
6
- metadata.gz: 2011f57fc3335256ff46e3a479ae1b096b3d57b35df768614a7834b3a70363985e55696c8b91348bfff1ba95b4496a84df1c4c8fe99b506ebaadef89cd9b03de
7
- data.tar.gz: 1d7009b070873938b4f528eab18fa102df2acd7c4acbcdf0981c35b149ff078da8d16069dc6c8e4e300168b00661cb45817c9b10ddbade05fffc0cfd0e77fded
6
+ metadata.gz: 246d2685ae013329d325d0298b4f7a3da1679ece727aa9d121c7189e5601090013f5679ec84d6fec115dc94ed30dd6f145aabd9df5559c2493b16fae97f741cc
7
+ data.tar.gz: 675382d87454de21e7e78f64f270cab36934b4037bc28efd43be2b5dadceb7c7f9de0c7b9001586370b9c79f0dc9e27e4799e35b2571c82ba3fcad3398bfcee4
@@ -9,4 +9,7 @@ class CreateFriendships < ActiveRecord::Migration
9
9
  end
10
10
  end
11
11
 
12
+ def self.down
13
+ drop_table :friendships
14
+ end
12
15
  end
@@ -1,3 +1,5 @@
1
+ require 'stateful_enum'
2
+
1
3
  require 'active_support'
2
4
  require 'active_record'
3
5
 
@@ -1,3 +1,3 @@
1
1
  module HasFriendship
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_friendship
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sung Won Cho
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-07 00:00:00.000000000 Z
11
+ date: 2016-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails