sunstone 1.7.5 → 1.7.6

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: b44a6ab0552422a1de963d6267dcc94207dfddfa
4
- data.tar.gz: 029a94fcf264826256eb1374de107348ad802e1f
3
+ metadata.gz: c1a0cfa2082e0d3efc83dd1ee302628d55c96992
4
+ data.tar.gz: 5e901c4a1d8a41684df36155b105aaaa69f26aa4
5
5
  SHA512:
6
- metadata.gz: f335ce7adf6a1a74a89329f17a5c800c8869373f692cfaeba6d6301a18c5da28b41927e2e6bff422e7e0a212cb2779bcc72f8db03dad4e503461ec57b878a6d1
7
- data.tar.gz: a8ce9395283ba5bb29dc52b1a9eea385627fb1bd6184420d8a37dfc591e012810bd3b30a5d6587d6f660cc94d85771bc20b82f553fa314e3a99af6bdcf086edc
6
+ metadata.gz: 5f791c0587c970ad80a6f9bdb5c303e36c9ef0fc932d8a2f247a2fda562a851b6e570ff65d9253ae38bfb92780839458688262272a95b0a003f85396f697afb3
7
+ data.tar.gz: 6d63d033c834910ef6074d19e8e5f5888d6e1a07a99ce753112ed47caeabd9b2e9e3621519be7e702350c4149e804fb3b336d83979ea95b90e24968038470e93
@@ -30,6 +30,11 @@ module ActiveRecord
30
30
  end
31
31
  end
32
32
 
33
+ def last_inserted_id(result)
34
+ row = result.rows.first
35
+ row && row['id']
36
+ end
37
+
33
38
  end
34
39
  end
35
40
  end
data/sunstone.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sunstone"
3
- s.version = '1.7.5'
3
+ s.version = '1.7.6'
4
4
  s.authors = ["Jon Bracy"]
5
5
  s.email = ["jonbracy@gmail.com"]
6
6
  s.homepage = "http://sunstonerb.com"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunstone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.5
4
+ version: 1.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Bracy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-11 00:00:00.000000000 Z
11
+ date: 2015-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake