simple-sql 0.5.24 → 0.5.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/rake +14 -1
- data/lib/simple/sql/version.rb +18 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 808175e637d54e64be95571d633d728ee6c8710e214dc379f9104b7624cd21e3
|
4
|
+
data.tar.gz: 108b164f85d746a20aa630175b63500149146a69fc88a43ef628bddd7d0e6584
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff51e82f0ec865164d8ca570ee693902ea036aa5fca789ba51830f57146c4dadc8fe3d4c65f8c9ca6cfc578629c8b1e39932877b7470f06b196e31c4a935e259
|
7
|
+
data.tar.gz: da0146769d4360bcbe10b2ca6019918839d4d532d4cfe74f944e4b8a5367bcc007d222d90eaaec4e897d4cce3e0b8c846f143bf9ee0817306279550d029eac00
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
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
|
-
|
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"
|
data/lib/simple/sql/version.rb
CHANGED
@@ -1,23 +1,25 @@
|
|
1
1
|
module Simple
|
2
|
-
module
|
3
|
-
|
2
|
+
module SQL
|
3
|
+
module GemHelper
|
4
|
+
extend self
|
4
5
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
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
|
-
|
13
|
+
private
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
-
|
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.
|
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:
|
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
|