bloc_record 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 228c6414b6b77f66d3bdab7cd05871fd0be73b0c
4
- data.tar.gz: f8b9af158a88b18008adc2c67ef826416de0bce8
3
+ metadata.gz: c65f99e6325e77c1b0c629d00a7261cd9c07199f
4
+ data.tar.gz: c0aba4d2e5044a1128fedf12267744097f576837
5
5
  SHA512:
6
- metadata.gz: 9c592fe7ae07c5b50ef81c500e59dba7ffc89285ff5c0284f5935a06e466abd1c686a807d30feea93b6eb9ad2cc482fcc84905cd00d0b997bf652a5284544985
7
- data.tar.gz: 581e0b7025994ce67d4794e28c47d297e675b575d76a88a5f7fe8e057514d71fb99600584f9cd8ca39c1d9d7908bfdbd958b495101e26304ea3c115c6273d3d8
6
+ metadata.gz: 181959269c3788c2370aca7516865d23206200391ae89d64022c7b21796c56563b108b7f8600c070357b81358190307e51b69154df4622e3b2ab3efba4e5e687
7
+ data.tar.gz: 90b8992bc26875fc0c9e7c8190c59aaefbff87b9960d41d2c25c8c61514cb9a55e6868ad47214e2f651f1f5043f9470acb2fe40d2f246fbac55e09dc7e51c130
data/bloc_record.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'bloc_record'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.date = '2015-01-18'
5
5
  s.summary = 'An ActiveRecord-esque ORM adaptor'
6
6
  s.description = 'An ActiveRecord-esque ORM adaptor'
@@ -13,8 +13,9 @@ module Persistence
13
13
  vals = attributes.map { |key| BlocRecord::Utility.sql_strings(attrs[key]) }
14
14
 
15
15
  connection.execute(
16
- "INSERT INTO #{table} (#{attributes.join(",")}) VALUES (#{vals.map {|x| '?'}.join(', ')})",
17
- vals.join(",")
16
+ "INSERT INTO #{table} (#{attributes.join(',')})
17
+ VALUES (#{vals.map {|x| '?'}.join(', ')})",
18
+ vals
18
19
  )
19
20
 
20
21
  data = Hash[attributes.zip attrs.values]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bloc_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Neely