records_rip 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -3
- data/Gemfile.lock +5 -1
- data/Rakefile +31 -1
- data/gemfiles/ar_4.2.gemfile +2 -0
- data/lib/records_rip/version.rb +1 -1
- data/records_rip.gemspec +5 -0
- metadata +29 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79f23e92be17ee3a7d3825c74946d4ea34148ba54ba3048b8d14b689da703394
|
4
|
+
data.tar.gz: 909cefbe3741981ca244347f9ee133d32ca26089ea4b47f8abb5f0ac93f58739
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4e3131e542f03fd5342ad2bda91711207d760f1f7c7f6ebf85d91190d3c825bb7076cb411317534ccce7ee0c30dc559f63c0048654bd0005f2e5f7979b923a0
|
7
|
+
data.tar.gz: 1f7dd61e44c40ce4fb26099b457cbb637d33212e71b7af15742ca5910014eb54b74bdd45be1898ebc7eaa7e64deee3a3d39e6905d55b5efb6b355aa113d86f75
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
records_rip (0.5.
|
4
|
+
records_rip (0.5.1)
|
5
5
|
activerecord (>= 4.2, < 6.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -23,6 +23,8 @@ GEM
|
|
23
23
|
i18n (1.3.0)
|
24
24
|
concurrent-ruby (~> 1.0)
|
25
25
|
minitest (5.11.3)
|
26
|
+
mysql2 (0.5.2)
|
27
|
+
pg (1.1.3)
|
26
28
|
rake (12.3.2)
|
27
29
|
sqlite3 (1.3.13)
|
28
30
|
thread_safe (0.3.6)
|
@@ -35,6 +37,8 @@ PLATFORMS
|
|
35
37
|
DEPENDENCIES
|
36
38
|
bundler
|
37
39
|
minitest
|
40
|
+
mysql2 (~> 0.5.2)
|
41
|
+
pg (~> 1.1.3)
|
38
42
|
rake
|
39
43
|
records_rip!
|
40
44
|
sqlite3
|
data/Rakefile
CHANGED
@@ -1,10 +1,40 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
2
|
require "rake/testtask"
|
3
3
|
|
4
|
+
ENV["DB"] ||= "sqlite"
|
5
|
+
|
6
|
+
database = 'records_rip_test'
|
7
|
+
|
8
|
+
task :clean do
|
9
|
+
case ENV["DB"]
|
10
|
+
when "mysql"
|
11
|
+
system("mysqladmin drop -f #{database} > /dev/null 2>&1")
|
12
|
+
when "postgres"
|
13
|
+
system("dropdb --if-exists #{database} > /dev/null 2>&1")
|
14
|
+
when nil, "sqlite"
|
15
|
+
nil
|
16
|
+
else
|
17
|
+
raise "Don't know how to clean specified RDBMS: #{ENV['DB']}"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
task prepare: [:clean] do
|
22
|
+
case ENV["DB"]
|
23
|
+
when "mysql"
|
24
|
+
system("mysqladmin create #{database}")
|
25
|
+
when "postgres"
|
26
|
+
system("createdb #{database}")
|
27
|
+
when nil, "sqlite"
|
28
|
+
nil
|
29
|
+
else
|
30
|
+
raise "Don't know how to create specified DB: #{ENV['DB']}"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
4
34
|
Rake::TestTask.new(:test) do |t|
|
5
35
|
t.libs << "test"
|
6
36
|
t.libs << "lib"
|
7
37
|
t.test_files = FileList["test/**/*_test.rb"]
|
8
38
|
end
|
9
39
|
|
10
|
-
task default:
|
40
|
+
task default: %i[prepare test]
|
data/gemfiles/ar_4.2.gemfile
CHANGED
data/lib/records_rip/version.rb
CHANGED
data/records_rip.gemspec
CHANGED
@@ -34,10 +34,15 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.required_rubygems_version = ">= 1.3.6"
|
35
35
|
spec.required_ruby_version = ">= 2.3.0"
|
36
36
|
|
37
|
+
spec.required_rubygems_version = ">= 1.3.6"
|
38
|
+
spec.required_ruby_version = ">= 2.3.0"
|
39
|
+
|
37
40
|
spec.add_dependency "activerecord", [">= 4.2", "< 6.0"]
|
38
41
|
|
39
42
|
spec.add_development_dependency "bundler"
|
40
43
|
spec.add_development_dependency "rake"
|
41
44
|
spec.add_development_dependency "minitest"
|
42
45
|
spec.add_development_dependency "sqlite3"
|
46
|
+
spec.add_development_dependency "mysql2", "~> 0.5.2"
|
47
|
+
spec.add_development_dependency "pg", "~> 1.1.3"
|
43
48
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: records_rip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ts-3156
|
@@ -86,6 +86,34 @@ dependencies:
|
|
86
86
|
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: mysql2
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 0.5.2
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 0.5.2
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: pg
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.1.3
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 1.1.3
|
89
117
|
description:
|
90
118
|
email:
|
91
119
|
- ts_3156@yahoo.co.jp
|