simple-sql 0.5.12 → 0.5.13

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
  SHA256:
3
- metadata.gz: b3e46e5c00a6fb912a427b6ae2a4fe7a76046487eb88ba5db8316d378df65947
4
- data.tar.gz: a9384e40b065d0f589f2d4c5c18c182afa09f1e32e326b5bb972b44a3d082816
3
+ metadata.gz: 77b3c1274f0022bc282c46ce72e510abb34817a97808e4eb2b2341d8977c3228
4
+ data.tar.gz: 730f0a6008beafdd8aa7e6137510357aa994965725739e959dab848d552b62f7
5
5
  SHA512:
6
- metadata.gz: f1591d11986fe7544e5b32f91622e3234775d5f3a89c4a3c5a9172bd42b608e6c2f2e7c0e578ab3c1b42b384fa2cf923a0ac6d107aada93694f8c398c1e16abd
7
- data.tar.gz: 8aa3b9b4d86a684a88df56b0c4a930acf0b9e6ee81187d1f135098a8b057bdeb4b43b7963cd3b2f9ec15f69a371c1afc1f50226b61eb664982314f27621971da
6
+ metadata.gz: dcd150904f6ace82f964d803231fb1c249c1eea80f8775b80907a3369da43b097a999bc8c19f4d949d549838484515902b78d346715f93029003387de337470d
7
+ data.tar.gz: c5e65cc327d238fc815ff992660b538e3b5c218033240f254ad0350aa325e9328d2afabf9e6477786a08b9e25fbd17a40236a2333434b1ac0dc01b160476458c
@@ -0,0 +1,9 @@
1
+ class Simple::SQL::Connection::Scope
2
+ def all(into: :struct)
3
+ connection.all(self, into: into)
4
+ end
5
+
6
+ def first(into: :struct)
7
+ connection.ask(self, into: into)
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  module Simple
2
2
  module SQL
3
- VERSION = "0.5.12"
3
+ VERSION = "0.5.13"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.12
4
+ version: 0.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel
@@ -229,6 +229,7 @@ files:
229
229
  - lib/simple/sql/connection/scope/filters.rb
230
230
  - lib/simple/sql/connection/scope/order.rb
231
231
  - lib/simple/sql/connection/scope/pagination.rb
232
+ - lib/simple/sql/connection/scope/shorthand.rb
232
233
  - lib/simple/sql/connection/type_info.rb
233
234
  - lib/simple/sql/formatting.rb
234
235
  - lib/simple/sql/fragment.rb