sequel-active_record 0.0.2 → 1.0.0

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: cf11781fd212fc40318ce31c01228cf483991e1d
4
- data.tar.gz: 6339104e8d48c014165fdaa95d9681de1b1ead95
3
+ metadata.gz: 60fa60644b0d5cf6f0a41428577babe904811485
4
+ data.tar.gz: 644201ffd082a9d8f9c048915b560dc94d014b3f
5
5
  SHA512:
6
- metadata.gz: 0e6b26e5419c3cbf39fd8ee4bde008f670b2696392049508a9088286360b5e6f9908e155acab7f070c6f436fcc15aeea9d2311cc69e9d7e4adfb572cb0494eea
7
- data.tar.gz: 4c2ffb451aff53052ede09e74d4309e23eff7d153a40c55038036ab1c0663557435b33bfb85b5079402786d42bc6455c2f8f6f4ee9544b4d5ece23112214590a
6
+ metadata.gz: ec02760204a2569dac9b2ae438d9e5eb03016b8242e7d5eb11f43572f5e97e54b1ec359686363d4a9216193e6d5711c61e89ac2b7562b29ea036e66de60c3eb0
7
+ data.tar.gz: 836b936c7919c6ff1208cf3d9c5e59ea11b6e56b2567fb016f5733479a1a7d449a8e0fc2f69e1d8fe61c3cac6647ce8dc3a79b0b4225a8c434e852aad1f890f8
@@ -3,7 +3,7 @@ module Sequel
3
3
  module ActiveRecord
4
4
  module First
5
5
  module DatasetMethods
6
- def first *args, &block
6
+ def first(*args, &block)
7
7
  if ds = _primary_key_order
8
8
  ds.first(*args, &block)
9
9
  else
@@ -3,7 +3,7 @@ module Sequel
3
3
  module ActiveRecord
4
4
  module Last
5
5
  module DatasetMethods
6
- def last! *args, &block
6
+ def last!(*args, &block)
7
7
  last(*args, &block) || raise(Sequel::NoMatchingRow.new(dataset))
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel-active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenaniah Cerny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest-ci
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: minitest-reporters
71
85
  requirement: !ruby/object:Gem::Requirement