sqlite3_extend_function 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +15 -0
- data/.rubocop.yml +36 -0
- data/CHANGELOG.md +17 -0
- data/Gemfile +10 -0
- data/README.md +32 -3
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/sqlite3_extend_function.rb +7 -9
- data/lib/sqlite3_extend_function/function.rb +20 -555
- data/lib/sqlite3_extend_function/functions.rb +17 -0
- data/lib/sqlite3_extend_function/functions/acos.rb +19 -0
- data/lib/sqlite3_extend_function/functions/ascii.rb +20 -0
- data/lib/sqlite3_extend_function/functions/asin.rb +19 -0
- data/lib/sqlite3_extend_function/functions/atan.rb +19 -0
- data/lib/sqlite3_extend_function/functions/atan2.rb +20 -0
- data/lib/sqlite3_extend_function/functions/bit_length.rb +21 -0
- data/lib/sqlite3_extend_function/functions/btrim.rb +21 -0
- data/lib/sqlite3_extend_function/functions/cbrt.rb +22 -0
- data/lib/sqlite3_extend_function/functions/ceil.rb +21 -0
- data/lib/sqlite3_extend_function/functions/char_length.rb +20 -0
- data/lib/sqlite3_extend_function/functions/chr.rb +20 -0
- data/lib/sqlite3_extend_function/functions/concat.rb +20 -0
- data/lib/sqlite3_extend_function/functions/concat_ws.rb +21 -0
- data/lib/sqlite3_extend_function/functions/cos.rb +19 -0
- data/lib/sqlite3_extend_function/functions/cot.rb +19 -0
- data/lib/sqlite3_extend_function/functions/decode.rb +29 -0
- data/lib/sqlite3_extend_function/functions/degrees.rb +19 -0
- data/lib/sqlite3_extend_function/functions/div.rb +20 -0
- data/lib/sqlite3_extend_function/functions/encode.rb +29 -0
- data/lib/sqlite3_extend_function/functions/exp.rb +22 -0
- data/lib/sqlite3_extend_function/functions/floor.rb +19 -0
- data/lib/sqlite3_extend_function/functions/format.rb +17 -0
- data/lib/sqlite3_extend_function/functions/initcap.rb +24 -0
- data/lib/sqlite3_extend_function/functions/ln.rb +22 -0
- data/lib/sqlite3_extend_function/functions/log.rb +24 -0
- data/lib/sqlite3_extend_function/functions/md5.rb +20 -0
- data/lib/sqlite3_extend_function/functions/mod.rb +21 -0
- data/lib/sqlite3_extend_function/functions/now.rb +15 -0
- data/lib/sqlite3_extend_function/functions/octet_length.rb +20 -0
- data/lib/sqlite3_extend_function/functions/pi.rb +15 -0
- data/lib/sqlite3_extend_function/functions/power.rb +23 -0
- data/lib/sqlite3_extend_function/functions/radians.rb +22 -0
- data/lib/sqlite3_extend_function/functions/sign.rb +22 -0
- data/lib/sqlite3_extend_function/functions/sin.rb +19 -0
- data/lib/sqlite3_extend_function/functions/sqrt.rb +22 -0
- data/lib/sqlite3_extend_function/functions/tan.rb +19 -0
- data/lib/sqlite3_extend_function/functions/trunc.rb +25 -0
- data/lib/sqlite3_extend_function/functions/width_bucket.rb +27 -0
- data/lib/sqlite3_extend_function/version.rb +1 -1
- data/sqlite3_extend_function.gemspec +25 -0
- metadata +52 -62
metadata
CHANGED
@@ -1,71 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlite3_extend_function
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- shoma07
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: sqlite3
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.3'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.3'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rake
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '10.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '10.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rspec
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.0'
|
11
|
+
date: 2020-12-19 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
69
13
|
description: Add some user-defined functions to SQL when using SQLie3.
|
70
14
|
email:
|
71
15
|
- 23730734+shoma07@users.noreply.github.com
|
@@ -73,19 +17,65 @@ executables: []
|
|
73
17
|
extensions: []
|
74
18
|
extra_rdoc_files: []
|
75
19
|
files:
|
20
|
+
- ".gitignore"
|
21
|
+
- ".rubocop.yml"
|
22
|
+
- CHANGELOG.md
|
23
|
+
- Gemfile
|
76
24
|
- MIT-LICENSE
|
77
25
|
- README.md
|
78
26
|
- Rakefile
|
27
|
+
- bin/console
|
28
|
+
- bin/setup
|
79
29
|
- lib/sqlite3_extend_function.rb
|
80
30
|
- lib/sqlite3_extend_function/function.rb
|
31
|
+
- lib/sqlite3_extend_function/functions.rb
|
32
|
+
- lib/sqlite3_extend_function/functions/acos.rb
|
33
|
+
- lib/sqlite3_extend_function/functions/ascii.rb
|
34
|
+
- lib/sqlite3_extend_function/functions/asin.rb
|
35
|
+
- lib/sqlite3_extend_function/functions/atan.rb
|
36
|
+
- lib/sqlite3_extend_function/functions/atan2.rb
|
37
|
+
- lib/sqlite3_extend_function/functions/bit_length.rb
|
38
|
+
- lib/sqlite3_extend_function/functions/btrim.rb
|
39
|
+
- lib/sqlite3_extend_function/functions/cbrt.rb
|
40
|
+
- lib/sqlite3_extend_function/functions/ceil.rb
|
41
|
+
- lib/sqlite3_extend_function/functions/char_length.rb
|
42
|
+
- lib/sqlite3_extend_function/functions/chr.rb
|
43
|
+
- lib/sqlite3_extend_function/functions/concat.rb
|
44
|
+
- lib/sqlite3_extend_function/functions/concat_ws.rb
|
45
|
+
- lib/sqlite3_extend_function/functions/cos.rb
|
46
|
+
- lib/sqlite3_extend_function/functions/cot.rb
|
47
|
+
- lib/sqlite3_extend_function/functions/decode.rb
|
48
|
+
- lib/sqlite3_extend_function/functions/degrees.rb
|
49
|
+
- lib/sqlite3_extend_function/functions/div.rb
|
50
|
+
- lib/sqlite3_extend_function/functions/encode.rb
|
51
|
+
- lib/sqlite3_extend_function/functions/exp.rb
|
52
|
+
- lib/sqlite3_extend_function/functions/floor.rb
|
53
|
+
- lib/sqlite3_extend_function/functions/format.rb
|
54
|
+
- lib/sqlite3_extend_function/functions/initcap.rb
|
55
|
+
- lib/sqlite3_extend_function/functions/ln.rb
|
56
|
+
- lib/sqlite3_extend_function/functions/log.rb
|
57
|
+
- lib/sqlite3_extend_function/functions/md5.rb
|
58
|
+
- lib/sqlite3_extend_function/functions/mod.rb
|
59
|
+
- lib/sqlite3_extend_function/functions/now.rb
|
60
|
+
- lib/sqlite3_extend_function/functions/octet_length.rb
|
61
|
+
- lib/sqlite3_extend_function/functions/pi.rb
|
62
|
+
- lib/sqlite3_extend_function/functions/power.rb
|
63
|
+
- lib/sqlite3_extend_function/functions/radians.rb
|
64
|
+
- lib/sqlite3_extend_function/functions/sign.rb
|
65
|
+
- lib/sqlite3_extend_function/functions/sin.rb
|
66
|
+
- lib/sqlite3_extend_function/functions/sqrt.rb
|
67
|
+
- lib/sqlite3_extend_function/functions/tan.rb
|
68
|
+
- lib/sqlite3_extend_function/functions/trunc.rb
|
69
|
+
- lib/sqlite3_extend_function/functions/width_bucket.rb
|
81
70
|
- lib/sqlite3_extend_function/version.rb
|
71
|
+
- sqlite3_extend_function.gemspec
|
82
72
|
homepage: https://github.com/shoma07/sqlite3_extend_function
|
83
73
|
licenses:
|
84
74
|
- MIT
|
85
75
|
metadata:
|
86
76
|
homepage_uri: https://github.com/shoma07/sqlite3_extend_function
|
87
77
|
source_code_uri: https://github.com/shoma07/sqlite3_extend_function
|
88
|
-
changelog_uri: https://github.com/shoma07/sqlite3_extend_function/blob/v0.
|
78
|
+
changelog_uri: https://github.com/shoma07/sqlite3_extend_function/blob/v0.3.0/CHANGELOG.md
|
89
79
|
post_install_message:
|
90
80
|
rdoc_options: []
|
91
81
|
require_paths:
|
@@ -94,14 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
84
|
requirements:
|
95
85
|
- - ">="
|
96
86
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
87
|
+
version: 2.4.0
|
98
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
89
|
requirements:
|
100
90
|
- - ">="
|
101
91
|
- !ruby/object:Gem::Version
|
102
92
|
version: '0'
|
103
93
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
94
|
+
rubygems_version: 3.1.4
|
105
95
|
signing_key:
|
106
96
|
specification_version: 4
|
107
97
|
summary: Add some user-defined functions to SQL when using SQLie3.
|