atomically 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c08c4d945a90102861c424a610fab072472cf17e31497936987ec842db6be426
4
- data.tar.gz: c8c2b834fb5a652bdf3f31eb16fd0996ff2b3762613a31be57b038a7afcf9bd0
3
+ metadata.gz: 69a564d104c51a3f2ccfe5cce450daab8c60c0882e6a937be3d0744f873452e6
4
+ data.tar.gz: 3ec5557bd1fa9e1e6285075290f4d293b2873077b526ae6ed929f27ad421b9f0
5
5
  SHA512:
6
- metadata.gz: 6d4ab1744413db5f7c14d3982b94289c836c7d007206fdc4f7cc40c2398ce165b97b65d95d12a095a915724e9fff3a59f2f35957f8fb6f72ccd7557ef12255fb
7
- data.tar.gz: 8016f81e284201892faa8f8cad82302c8b674d50fc1181906b970d7e73533a886de33be9b22a61df8d180cf667292560ad28e595ece0893d45d63aeb798f55fb
6
+ metadata.gz: 61e4e69f838de4a1f663d240847e2087176d9ec8c3aab017b9acdbc7eb7e6cc83b48fd06a520e3dfca9b40a202f07b3b37a77791e537431a53207a66e43f4372
7
+ data.tar.gz: ed5b5ecda0f1f1ed4f36f30fdc07ca818b13249dd96063cfa57c480772587718c59fa2156b23b94d314f0e59cca061cfaf8a21dbafbab32ac26f0f5da1b64ca5
@@ -0,0 +1,119 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ paths-ignore:
6
+ - 'README.md'
7
+ - 'CHANGELOG.md'
8
+ pull_request:
9
+ branches: [ master ]
10
+ paths-ignore:
11
+ - 'README.md'
12
+ - 'CHANGELOG.md'
13
+
14
+ jobs:
15
+ test:
16
+ runs-on: ubuntu-latest
17
+ name: Test
18
+ if: "contains(github.event.commits[0].message, '[ci skip]') == false"
19
+ strategy:
20
+ fail-fast: false
21
+ matrix:
22
+ db:
23
+ - mysql
24
+ - pg
25
+ ruby:
26
+ # - 2.2 # skip Ruby 2.2 since mysql2 raises segmentation fault at 0x0000000000000000
27
+ # See: https://github.community/t/mysql2-segmentation-fault-at-0x0000000000000000/159283
28
+ - 2.6
29
+ - 2.7
30
+ - 3.0
31
+ gemfile:
32
+ - 3.2.gemfile
33
+ - 4.2.gemfile
34
+ - 5.0.gemfile
35
+ - 5.1.gemfile
36
+ - 5.2.gemfile
37
+ - 6.0.gemfile
38
+ exclude:
39
+ - gemfile: 3.2.gemfile
40
+ ruby: 2.6
41
+ - gemfile: 3.2.gemfile
42
+ ruby: 3.0
43
+ - gemfile: 3.2.gemfile
44
+ ruby: 2.7
45
+ - gemfile: 4.2.gemfile
46
+ ruby: 2.7
47
+ - gemfile: 4.2.gemfile
48
+ ruby: 3.0
49
+ - gemfile: 5.0.gemfile
50
+ ruby: 3.0
51
+ - gemfile: 5.1.gemfile
52
+ ruby: 3.0
53
+ - gemfile: 5.2.gemfile
54
+ ruby: 3.0
55
+ - gemfile: 6.0.gemfile
56
+ ruby: 2.2
57
+ include:
58
+ - db: makara_mysql
59
+ gemfile: 6.0.gemfile
60
+ ruby: 2.6
61
+ - db: makara_pg
62
+ gemfile: 6.0.gemfile
63
+ ruby: 2.6
64
+ - db: makara_mysql
65
+ gemfile: 6.0.gemfile
66
+ ruby: 2.7
67
+ - db: makara_pg
68
+ gemfile: 6.0.gemfile
69
+ ruby: 2.7
70
+ env:
71
+ BUNDLE_GEMFILE: "gemfiles/${{ matrix.gemfile }}"
72
+ DB: "${{ matrix.db }}"
73
+
74
+ services:
75
+ mysql:
76
+ image: mysql:5.6
77
+ env:
78
+ MYSQL_ROOT_PASSWORD: root_password
79
+ MYSQL_USER: developer
80
+ MYSQL_PASSWORD: developer_password
81
+ MYSQL_DATABASE: github_actions_test
82
+ ports:
83
+ - 3306:3306
84
+ # Set health checks to wait until mysql has started
85
+ options: >-
86
+ --health-cmd "mysqladmin ping"
87
+ --health-interval 10s
88
+ --health-timeout 5s
89
+ --health-retries 3
90
+ postgres:
91
+ image: postgres:9.6
92
+ env:
93
+ POSTGRES_USER: developer
94
+ POSTGRES_PASSWORD: developer_password
95
+ POSTGRES_DB: github_actions_test
96
+ ports:
97
+ - 5432:5432
98
+ # Set health checks to wait until postgres has started
99
+ options: >-
100
+ --health-cmd pg_isready
101
+ --health-interval 10s
102
+ --health-timeout 5s
103
+ --health-retries 3
104
+
105
+ steps:
106
+ - name: Checkout
107
+ uses: actions/checkout@v2
108
+ - name: Setup Ruby
109
+ uses: ruby/setup-ruby@v1
110
+ with:
111
+ ruby-version: ${{ matrix.ruby }}
112
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
113
+ - name: Run tests
114
+ run: bundle exec rake
115
+ - name: Publish code coverage
116
+ if: ${{ success() }}
117
+ uses: paambaati/codeclimate-action@v2.7.5
118
+ env:
119
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
data/.gitignore CHANGED
@@ -1,50 +1,50 @@
1
- *.gem
2
- *.rbc
3
- /.config
4
- /coverage/
5
- /InstalledFiles
6
- /pkg/
7
- /spec/reports/
8
- /spec/examples.txt
9
- /test/tmp/
10
- /test/version_tmp/
11
- /tmp/
12
-
13
- # Used by dotenv library to load environment variables.
14
- # .env
15
-
16
- ## Specific to RubyMotion:
17
- .dat*
18
- .repl_history
19
- build/
20
- *.bridgesupport
21
- build-iPhoneOS/
22
- build-iPhoneSimulator/
23
-
24
- ## Specific to RubyMotion (use of CocoaPods):
25
- #
26
- # We recommend against adding the Pods directory to your .gitignore. However
27
- # you should judge for yourself, the pros and cons are mentioned at:
28
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
- #
30
- # vendor/Pods/
31
-
32
- ## Documentation cache and generated files:
33
- /.yardoc/
34
- /_yardoc/
35
- /doc/
36
- /rdoc/
37
-
38
- ## Environment normalization:
39
- /.bundle/
40
- /vendor/bundle
41
- /lib/bundler/man/
42
-
43
- # for a library or gem, you might want to ignore these files since the code is
44
- # intended to run in multiple environments; otherwise, check them in:
45
- # Gemfile.lock
46
- # .ruby-version
47
- # .ruby-gemset
48
-
49
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
- .rvmrc
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ # Gemfile.lock
46
+ # .ruby-version
47
+ # .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc