simple-sql 0.5.24 → 0.5.25

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/bin/rake +14 -1
  4. data/lib/simple/sql/version.rb +18 -16
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 064d2319d350d4a8c56aa6cdf697ccd06d7c01426000396041e1a8bd1c74a5be
4
- data.tar.gz: a55aaa2a188f306723911f457383c4536510d010149beaefbf001c025bd46e19
3
+ metadata.gz: 808175e637d54e64be95571d633d728ee6c8710e214dc379f9104b7624cd21e3
4
+ data.tar.gz: 108b164f85d746a20aa630175b63500149146a69fc88a43ef628bddd7d0e6584
5
5
  SHA512:
6
- metadata.gz: 872cf1147c72f1ae4c3030e71077a78ef5f33a7fc19e0779387de15aac18c314263439174e8efb19b3c85cffd43f926fd5c4964f63ead8f566aebaf7df61d873
7
- data.tar.gz: d20549394c237fa154c0f1cb372b0286806242295a761f3a996e3b9170b0c0b05f81c70bc13bc285296388358cb9d4723322fc90a539fad87e223973a5c145bf
6
+ metadata.gz: ff51e82f0ec865164d8ca570ee693902ea036aa5fca789ba51830f57146c4dadc8fe3d4c65f8c9ca6cfc578629c8b1e39932877b7470f06b196e31c4a935e259
7
+ data.tar.gz: da0146769d4360bcbe10b2ca6019918839d4d532d4cfe74f944e4b8a5367bcc007d222d90eaaec4e897d4cce3e0b8c846f143bf9ee0817306279550d029eac00
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.24
1
+ 0.5.25
data/bin/rake CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
2
4
  #
3
5
  # This file was generated by Bundler.
4
6
  #
@@ -8,7 +10,18 @@
8
10
 
9
11
  require "pathname"
10
12
  ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
13
+ Pathname.new(__FILE__).realpath)
14
+
15
+ bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+ if File.file?(bundle_binstub)
18
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+ load(bundle_binstub)
20
+ else
21
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+ end
24
+ end
12
25
 
13
26
  require "rubygems"
14
27
  require "bundler/setup"
@@ -1,23 +1,25 @@
1
1
  module Simple
2
- module GemHelper
3
- extend self
2
+ module SQL
3
+ module GemHelper
4
+ extend self
4
5
 
5
- def version(name)
6
- spec = Gem.loaded_specs[name]
7
- version = spec.version.to_s
8
- version += "+unreleased" if unreleased?(spec)
9
- version
10
- end
6
+ def version(name)
7
+ spec = Gem.loaded_specs[name]
8
+ version = spec.version.to_s
9
+ version += "+unreleased" if unreleased?(spec)
10
+ version
11
+ end
11
12
 
12
- private
13
+ private
13
14
 
14
- def unreleased?(spec)
15
- return false unless defined?(Bundler::Source::Gemspec)
16
- return true if spec.source.is_a?(::Bundler::Source::Gemspec)
17
- return true if spec.source.is_a?(::Bundler::Source::Path)
18
- false
15
+ def unreleased?(spec)
16
+ return false unless defined?(Bundler::Source::Gemspec)
17
+ return true if spec.source.is_a?(::Bundler::Source::Gemspec)
18
+ return true if spec.source.is_a?(::Bundler::Source::Path)
19
+ false
20
+ end
19
21
  end
20
- end
21
22
 
22
- VERSION = GemHelper.version "simple-sql"
23
+ VERSION = GemHelper.version "simple-sql"
24
+ end
23
25
  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.24
4
+ version: 0.5.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-12-25 00:00:00.000000000 Z
12
+ date: 2020-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pg_array_parser