seed-snapshot 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/.github/workflows/main.yml +53 -0
- data/.gitignore +0 -1
- data/Gemfile +6 -1
- data/gemfiles/ar_6_1.gemfile +9 -0
- data/lib/seed_snapshot/version.rb +1 -1
- data/seed-snapshot.gemspec +0 -6
- metadata +4 -93
- data/.travis.yml +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b174e66fd532071e7df51745f577acd7baa140d65b2bb26283e28530716fc944
|
4
|
+
data.tar.gz: bd676935a076d2e018316daf05d3a6c44c434c21b3ef00aed942ec0a7de38dd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3aff9476550d5e63adbd0a6c1c2f4c79acd0c8b92bac79efd5e0895abba89d25023a61107248feff9e0e31998183c436123245cec8d66dc238d0d5fbd123b15
|
7
|
+
data.tar.gz: b3792ed4516c9f1f3a7eb7b7684ac987dd38eeeebaeb2089e6493eb95a445ae4a1503946f48ed05b57a4d261a5638c393cf0c8700526037b76a56c7c1d866828
|
@@ -0,0 +1,53 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
paths-ignore:
|
8
|
+
- '**.md'
|
9
|
+
- '**.txt'
|
10
|
+
pull_request:
|
11
|
+
paths-ignore:
|
12
|
+
- '**.md'
|
13
|
+
- '**.txt'
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
build:
|
17
|
+
runs-on: ubuntu-latest
|
18
|
+
|
19
|
+
services:
|
20
|
+
mysql:
|
21
|
+
image: mysql:5.7
|
22
|
+
env:
|
23
|
+
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
24
|
+
MYSQL_DATABASE: 'activerecord_unittest'
|
25
|
+
ports:
|
26
|
+
- 3306:3306
|
27
|
+
options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 10
|
28
|
+
|
29
|
+
strategy:
|
30
|
+
matrix:
|
31
|
+
ruby-version: ['2.6', '2.7']
|
32
|
+
gemfile: ['Gemfile', 'gemfiles/ar_6_1.gemfile']
|
33
|
+
|
34
|
+
env:
|
35
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
36
|
+
|
37
|
+
steps:
|
38
|
+
- name: Checkout
|
39
|
+
uses: actions/checkout@v3
|
40
|
+
|
41
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
42
|
+
uses: ruby/setup-ruby@v1
|
43
|
+
with:
|
44
|
+
ruby-version: ${{ matrix.ruby-version }}
|
45
|
+
bundler-cache: true
|
46
|
+
|
47
|
+
- name: Install dependencies
|
48
|
+
run: |
|
49
|
+
gem install bundler
|
50
|
+
bundle install --jobs 3 --retry 3
|
51
|
+
|
52
|
+
- name: Run tests
|
53
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem
|
3
|
+
gem 'bundler'
|
4
|
+
gem 'rake'
|
5
|
+
gem 'pry'
|
6
|
+
gem 'minitest'
|
7
|
+
gem 'erubis'
|
8
|
+
gem 'mysql2', '>= 0.4.4', '< 0.6.0'
|
4
9
|
|
5
10
|
# Specify your gem's dependencies in seed-snapshot.gemspec
|
6
11
|
gemspec
|
data/seed-snapshot.gemspec
CHANGED
@@ -17,11 +17,5 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.require_paths = ['lib']
|
18
18
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
19
|
|
20
|
-
spec.add_development_dependency 'bundler'
|
21
|
-
spec.add_development_dependency 'rake'
|
22
|
-
spec.add_development_dependency 'pry'
|
23
|
-
spec.add_development_dependency 'minitest'
|
24
|
-
spec.add_development_dependency 'erubis'
|
25
|
-
spec.add_development_dependency 'mysql2', '>= 0.4.4', '< 0.6.0'
|
26
20
|
spec.add_runtime_dependency 'activerecord', '>= 4.2'
|
27
21
|
end
|
metadata
CHANGED
@@ -1,105 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seed-snapshot
|
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
|
- yo_waka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
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: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: pry
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: minitest
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: erubis
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: mysql2
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 0.4.4
|
90
|
-
- - "<"
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 0.6.0
|
93
|
-
type: :development
|
94
|
-
prerelease: false
|
95
|
-
version_requirements: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - ">="
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: 0.4.4
|
100
|
-
- - "<"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 0.6.0
|
103
13
|
- !ruby/object:Gem::Dependency
|
104
14
|
name: activerecord
|
105
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,14 +31,15 @@ executables: []
|
|
121
31
|
extensions: []
|
122
32
|
extra_rdoc_files: []
|
123
33
|
files:
|
34
|
+
- ".github/workflows/main.yml"
|
124
35
|
- ".gitignore"
|
125
|
-
- ".travis.yml"
|
126
36
|
- Gemfile
|
127
37
|
- LICENSE.txt
|
128
38
|
- README.md
|
129
39
|
- Rakefile
|
130
40
|
- bin/console
|
131
41
|
- bin/setup
|
42
|
+
- gemfiles/ar_6_1.gemfile
|
132
43
|
- lib/seed-snapshot.rb
|
133
44
|
- lib/seed/configuration.rb
|
134
45
|
- lib/seed/manifest.rb
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.4
|
4
|
-
- 2.5
|
5
|
-
- 2.6
|
6
|
-
services:
|
7
|
-
- mysql
|
8
|
-
env:
|
9
|
-
- "AR_VERSION=4.2.8"
|
10
|
-
- "AR_VERSION=4.2.9"
|
11
|
-
- "AR_VERSION=5.0.4"
|
12
|
-
- "AR_VERSION=5.1.3"
|
13
|
-
- "AR_VERSION=5.2.3"
|
14
|
-
sudo: false
|
15
|
-
cache: bundler
|
16
|
-
branches:
|
17
|
-
only:
|
18
|
-
- master
|
19
|
-
before_install:
|
20
|
-
- mysql -e "create database activerecord_unittest;"
|