solidstate 0.4.4 → 0.4.5

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
  SHA256:
3
- metadata.gz: d7e631b9550a075eedf890543095e62b66825d200f7c82d82c794a60a009340d
4
- data.tar.gz: 61d2c058e0141cf329cadca1172c972ea102384ebeebd470f206cb164fb35d51
3
+ metadata.gz: d7b6a376c400926976148ddd8e1a99cb51860f96236dd6fe1a6c9b6a6d89b2cd
4
+ data.tar.gz: f2b7d86254755b2d7dfaefd9e80ce51e08209f731913ef0df56575c3b29a27b7
5
5
  SHA512:
6
- metadata.gz: 6a7d32b1a23a7ed86c39c06a4de046bf9982c4c70fc97168996d14648d310ce2b6f1f2495cee3c9eb10532ff80fd6ad81c012554d3202a1d2b8de915b5d52395
7
- data.tar.gz: dbb3041c7a350dba6d9d70f24bc5344f91c1e16f3ba821f1f7847523ced2d38eb0fe36ac405766c8ee187644f6f51de69164f6a211f07038e442d7730c31d9b3
6
+ metadata.gz: a992f55e1c2c91d746569c1f25033f9cebe22f4b282ce4011c8c3da8976767c440638cffb2a1afaaf0cdb40ffb6ac8bac504c11fb5f9d1ff42dbc2c045cb271c
7
+ data.tar.gz: f2ed0d6db5a61951f5ec9c0c481f7ddcaf616948b60e6293c372a14d63718d1a3685191c67c0633443209bb66af1f3e2112833871ca7a28086bdee75ec2af23b
@@ -0,0 +1,19 @@
1
+ name: Ruby
2
+ on: [push]
3
+
4
+ jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
+
8
+ steps:
9
+ - uses: actions/checkout@v1
10
+ - name: Set up Ruby 2.6
11
+ uses: actions/setup-ruby@v1
12
+ with:
13
+ ruby-version: 2.6.x
14
+ - name: Build and test with Rake
15
+ run: |
16
+ sudo apt install libsqlite3-dev
17
+ gem install bundler
18
+ bundle install --jobs 4 --retry 3
19
+ bundle exec rspec
@@ -26,8 +26,7 @@ module SolidState
26
26
  end
27
27
 
28
28
  scope :with_state, lambda { |state|
29
- return query if state.blank?
30
- where(STATE_ATTRIBUTE => state)
29
+ where(STATE_ATTRIBUTE => state) unless state.blank?
31
30
  } if respond_to?(:scope)
32
31
 
33
32
  list.each do |s|
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'solidstate'
5
- s.version = '0.4.4'
5
+ s.version = '0.4.5'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.authors = ['Tomás Pollak']
8
8
  s.email = ['tomas@forkhq.com']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidstate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-04 00:00:00.000000000 Z
11
+ date: 2019-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -107,6 +107,7 @@ executables: []
107
107
  extensions: []
108
108
  extra_rdoc_files: []
109
109
  files:
110
+ - ".github/workflows/ruby.yml"
110
111
  - Gemfile
111
112
  - README.md
112
113
  - Rakefile