arxutils_sqlite3 0.1.37 → 0.1.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +22 -7
- data/arxutils_sqlite3.gemspec +7 -4
- data/{bin → exe}/arxutils-cli +1 -1
- data/lib/arxutils_sqlite3/version.rb +1 -1
- metadata +47 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8caebf03a2f120db010e464d79cc95f2b3ee26cebd9dde11a5a606662e89c430
|
4
|
+
data.tar.gz: 21442c4b58e7e8f36f9e4e304bbb0398622fa809f67879b51a482da26d9105ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4519bf2297f0656de79c4f0e436fedd1773456bd82d1def5790bbca2648ddeb9de1d49dc4b4c9c8529c4d9a6028baacc6f45a8d1fae342fd6d88c12cde69765f
|
7
|
+
data.tar.gz: fa77d2171cc6db301db3a55035568331c2539d6204a2cacb4029498407e9d98319a8e96f6533f35346c35235cc641cb68c7a7aeaa006362a69a002e8e20ecbb8
|
data/Rakefile
CHANGED
@@ -1,12 +1,27 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
1
|
require "bundler/gem_tasks"
|
4
|
-
require "rspec/core/rake_task"
|
5
2
|
|
6
|
-
|
3
|
+
task default: %w[setup makeconfig migrate integrate]
|
4
|
+
|
5
|
+
task cmi: %w[makeconfig migrate integrate]
|
7
6
|
|
8
|
-
|
7
|
+
# コマンドラインで指定したクラス名を含むオプション指定用ハッシュの定義を含むRubyスクリ
|
8
|
+
# プトファイルの生成
|
9
|
+
task :setup do
|
10
|
+
sh "bundle exec ruby exe/arxutils-cli --cmd=s --klass=Enop"
|
11
|
+
end
|
12
|
+
# DB構成情報の生成
|
13
|
+
task :makeconfig do
|
14
|
+
sh "bundle exec ruby exe/arxutils-cli --cmd=c"
|
15
|
+
end
|
16
|
+
# マイグレート用スクリプトファイルの生成とマイグレートの実行
|
17
|
+
task :migrate do
|
18
|
+
sh "bundle exec ruby exe/arxutils-cli --cmd=m --yaml=config/db_scheme.yml"
|
19
|
+
end
|
20
|
+
task :integrate do
|
21
|
+
sh "bundle exec ruby exe/arxutils-cli --cmd=i"
|
22
|
+
end
|
9
23
|
|
10
|
-
|
24
|
+
task :delete do
|
25
|
+
sh "bundle exec ruby exe/arxutils-cli --cmd=d"
|
26
|
+
end
|
11
27
|
|
12
|
-
task default: %i[spec rubocop]
|
data/arxutils_sqlite3.gemspec
CHANGED
@@ -28,15 +28,18 @@ Gem::Specification.new do |spec|
|
|
28
28
|
(f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
29
29
|
end
|
30
30
|
end
|
31
|
+
|
31
32
|
spec.bindir = "exe"
|
32
33
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
33
34
|
spec.require_paths = ["lib"]
|
34
|
-
|
35
|
-
#spec.
|
35
|
+
#p "====-"
|
36
|
+
#p "spec.executables=#{spec.executables}"
|
37
|
+
#p "====----"
|
38
|
+
spec.add_runtime_dependency "activesupport"
|
36
39
|
# spec.add_runtime_dependency "erb"
|
37
40
|
# spec.add_runtime_dependency "activerecord", "~> 4.2"
|
38
|
-
|
39
|
-
|
41
|
+
spec.add_runtime_dependency "activerecord", "~> 6.1"
|
42
|
+
spec.add_runtime_dependency "sqlite3"
|
40
43
|
# spec.add_runtime_dependency "mysql2" , "~> 0.4.1"
|
41
44
|
#spec.add_runtime_dependency "encx"
|
42
45
|
|
data/{bin → exe}/arxutils-cli
RENAMED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arxutils_sqlite3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yasuo kominami
|
@@ -9,11 +9,54 @@ autorequire:
|
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-09-08 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activerecord
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '6.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '6.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
13
55
|
description: utility functions for ActiveRecord.
|
14
56
|
email:
|
15
57
|
- ykominami@gmail.com
|
16
|
-
executables:
|
58
|
+
executables:
|
59
|
+
- arxutils-cli
|
17
60
|
extensions: []
|
18
61
|
extra_rdoc_files: []
|
19
62
|
files:
|
@@ -28,13 +71,13 @@ files:
|
|
28
71
|
- README.md
|
29
72
|
- Rakefile
|
30
73
|
- arxutils_sqlite3.gemspec
|
31
|
-
- bin/arxutils-cli
|
32
74
|
- bin/console
|
33
75
|
- bin/makemigrate
|
34
76
|
- bin/setup
|
35
77
|
- bin/setupx.bat
|
36
78
|
- bin/setupx.rb
|
37
79
|
- config/.gitignore
|
80
|
+
- exe/arxutils-cli
|
38
81
|
- lib/arxutils_sqlite3.rb
|
39
82
|
- lib/arxutils_sqlite3/arx.rb
|
40
83
|
- lib/arxutils_sqlite3/dbutil.rb
|