shibaraku 1.4.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/test.yml +41 -0
- data/CHANGELOG.md +12 -1
- data/gemfiles/{rails_4_2.gemfile → activerecord_5_0.gemfile} +1 -1
- data/gemfiles/{rails_5_0.gemfile → activerecord_5_1.gemfile} +1 -1
- data/gemfiles/activerecord_5_2.gemfile +5 -0
- data/gemfiles/activerecord_6_0.gemfile +5 -0
- data/lib/shibaraku/version.rb +1 -1
- data/shibaraku.gemspec +1 -1
- metadata +9 -9
- data/.travis.yml +0 -24
- data/gemfiles/rails_4_1.gemfile +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bd546e6a6130f956cd49388b9e0ef5f68c55dd3b5a3cc2e2d69dcdfd5b3986bb
|
4
|
+
data.tar.gz: ef977cfb465937ec399b4d3dc3ff240d9d75cbd93361707e1a75e1859de88dd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec1f127441a29a43a1179319f33bc814e31d3fa45de2253b7f1be641efc07eb23f953aaa5aaf5c940fb6ebf6bc52a9cc186c2905c80667a2f7955dbed1a4bff6
|
7
|
+
data.tar.gz: a51ada8045a8d2a43a957d2905e929b3c3d09f41d0fdd1070a2a2466d4b701461a6af11dfa27cb8d654426987fd504b14f20e4f48f7619d6173fb903db435e5d
|
@@ -0,0 +1,41 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
rspec:
|
7
|
+
runs-on: "ubuntu-latest"
|
8
|
+
strategy:
|
9
|
+
matrix:
|
10
|
+
ruby:
|
11
|
+
- 2.5.x
|
12
|
+
- 2.6.x
|
13
|
+
gemfile:
|
14
|
+
- activerecord_5_0.gemfile
|
15
|
+
- activerecord_5_1.gemfile
|
16
|
+
- activerecord_5_2.gemfile
|
17
|
+
- activerecord_6_0.gemfile
|
18
|
+
env:
|
19
|
+
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v1
|
22
|
+
with:
|
23
|
+
fetch-depth: 1
|
24
|
+
- uses: actions/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: ${{ matrix.ruby }}
|
27
|
+
- name: apt-get
|
28
|
+
run: |
|
29
|
+
sudo apt-get update
|
30
|
+
sudo apt-get install libmysqlclient-dev
|
31
|
+
- name: bundle install
|
32
|
+
run: |
|
33
|
+
gem install bundler
|
34
|
+
bundle install --jobs 4 --retry 3
|
35
|
+
- name: beforescript
|
36
|
+
run: |
|
37
|
+
cp spec/database.yml.ci spec/database.yml
|
38
|
+
mysql -uroot -proot -e 'create database shibaraku_test;'
|
39
|
+
- name: test
|
40
|
+
run: |
|
41
|
+
bundle exec rake
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
## Shibaraku master (unreleased)
|
2
|
-
[full changelog](https://github.com/onk/shibaraku/compare/
|
2
|
+
[full changelog](https://github.com/onk/shibaraku/compare/v2.0.0...master)
|
3
|
+
|
4
|
+
## Shibaraku v2.0.0 (2019-11-29)
|
5
|
+
[full changelog](https://github.com/onk/shibaraku/compare/v1.4.0...v2.0.0)
|
6
|
+
|
7
|
+
* [#8] Depend on ActiveRecord only, not rails
|
8
|
+
|
9
|
+
### Housekeeping
|
10
|
+
|
11
|
+
* [#10] Setup GitHub Actions
|
12
|
+
* [#9] CI against currently rubies and rails
|
13
|
+
|
3
14
|
|
4
15
|
## Shibaraku v1.4.0 (2017-02-15)
|
5
16
|
[full changelog](https://github.com/onk/shibaraku/compare/v1.3.0...v1.4.0)
|
data/lib/shibaraku/version.rb
CHANGED
data/shibaraku.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_runtime_dependency "
|
22
|
+
spec.add_runtime_dependency "activerecord"
|
23
23
|
spec.add_development_dependency "bundler"
|
24
24
|
spec.add_development_dependency "rake"
|
25
25
|
spec.add_development_dependency "mysql2"
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shibaraku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takafumi ONAKA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -101,9 +101,9 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
+
- ".github/workflows/test.yml"
|
104
105
|
- ".gitignore"
|
105
106
|
- ".rspec"
|
106
|
-
- ".travis.yml"
|
107
107
|
- CHANGELOG.md
|
108
108
|
- Gemfile
|
109
109
|
- LICENSE.txt
|
@@ -111,9 +111,10 @@ files:
|
|
111
111
|
- Rakefile
|
112
112
|
- bin/console
|
113
113
|
- bin/setup
|
114
|
-
- gemfiles/
|
115
|
-
- gemfiles/
|
116
|
-
- gemfiles/
|
114
|
+
- gemfiles/activerecord_5_0.gemfile
|
115
|
+
- gemfiles/activerecord_5_1.gemfile
|
116
|
+
- gemfiles/activerecord_5_2.gemfile
|
117
|
+
- gemfiles/activerecord_6_0.gemfile
|
117
118
|
- lib/shibaraku.rb
|
118
119
|
- lib/shibaraku/active_record_ext.rb
|
119
120
|
- lib/shibaraku/version.rb
|
@@ -137,8 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
138
|
- !ruby/object:Gem::Version
|
138
139
|
version: '0'
|
139
140
|
requirements: []
|
140
|
-
|
141
|
-
rubygems_version: 2.6.10
|
141
|
+
rubygems_version: 3.0.3
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Manage model with a period on ActiveRecord.
|
data/.travis.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
cache: bundler
|
3
|
-
sudo: false
|
4
|
-
services:
|
5
|
-
- mysql
|
6
|
-
rvm:
|
7
|
-
- 2.2.4
|
8
|
-
- 2.3.0
|
9
|
-
- ruby-head
|
10
|
-
gemfile:
|
11
|
-
- gemfiles/rails_4_1.gemfile
|
12
|
-
- gemfiles/rails_4_2.gemfile
|
13
|
-
- gemfiles/rails_5_0.gemfile
|
14
|
-
before_install: gem install bundler -v 1.11.2
|
15
|
-
before_script:
|
16
|
-
- cp spec/database.yml.travis spec/database.yml
|
17
|
-
- mysql -e 'create database shibaraku_test;'
|
18
|
-
script:
|
19
|
-
- bundle exec rspec
|
20
|
-
matrix:
|
21
|
-
allow_failures:
|
22
|
-
# NOTE: There are unstable versions
|
23
|
-
- rvm: ruby-head
|
24
|
-
- gemfile: gemfiles/rails_5_0.gemfile
|