mumukit-sync 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test_and_deploy.yml +31 -0
- data/lib/mumukit/sync/version.rb +1 -1
- data/mumukit-sync.gemspec +6 -3
- metadata +24 -11
- data/.travis.yml +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0102ab26b66d5d60837761fcfb2c6a825a21eb979bf308d24237734e455b9a25
|
4
|
+
data.tar.gz: f5adc5a86ba384688c2610abe89e487cffe9d0ff3baec050de31bfcd081458a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd2a9fa89aa730a9930f47eb0f6ff1ecb3895c058f7f53b2587e3d5c604ce57f2ff562495de7cd6928630d1b44ec80cad49f9ae518f3656902926ec860e31c19
|
7
|
+
data.tar.gz: b3a2a54683be79f4212a5f74f889842f63f776b67ba41c9304b6b50e33314ff0b999675822fd6d38b7c96363c67207c774a2ee0453b0895376ae6a6772595bee
|
@@ -0,0 +1,31 @@
|
|
1
|
+
name: Test and deploy
|
2
|
+
|
3
|
+
on:
|
4
|
+
- push
|
5
|
+
- workflow_dispatch
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
test_and_deploy:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v2
|
12
|
+
- name: Set up Ruby
|
13
|
+
uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
|
14
|
+
with:
|
15
|
+
ruby-version: 2.6.3
|
16
|
+
bundler: 2.1.4
|
17
|
+
bundler-cache: true
|
18
|
+
- name: Run tests
|
19
|
+
run: bundle exec rake
|
20
|
+
- name: Deploy
|
21
|
+
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
22
|
+
run: |
|
23
|
+
mkdir -p $HOME/.gem
|
24
|
+
touch $HOME/.gem/credentials
|
25
|
+
chmod 0600 $HOME/.gem/credentials
|
26
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
27
|
+
gem build *.gemspec
|
28
|
+
gem push *.gem
|
29
|
+
env:
|
30
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
31
|
+
|
data/lib/mumukit/sync/version.rb
CHANGED
data/mumukit-sync.gemspec
CHANGED
@@ -26,8 +26,11 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.add_dependency 'git', '~> 1.5'
|
28
28
|
spec.add_dependency 'octokit', '~> 4.1'
|
29
|
+
spec.add_dependency 'faraday', '1.8.0' # This is needed until these are fixed:
|
30
|
+
# - https://github.com/octokit/octokit.rb/issues/1384
|
31
|
+
# - https://github.com/lostisland/faraday/issues/1369#issuecomment-1006806342
|
29
32
|
|
30
|
-
spec.add_development_dependency
|
31
|
-
spec.add_development_dependency
|
32
|
-
spec.add_development_dependency
|
33
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
34
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
35
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
33
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumukit-sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit-core
|
@@ -66,34 +66,48 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '4.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: faraday
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.8.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.8.0
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: bundler
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - "
|
87
|
+
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
89
|
+
version: '2.0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - "
|
94
|
+
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
96
|
+
version: '2.0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: rake
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
103
|
+
version: '12.3'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
110
|
+
version: '12.3'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rspec
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,10 +129,10 @@ executables: []
|
|
115
129
|
extensions: []
|
116
130
|
extra_rdoc_files: []
|
117
131
|
files:
|
132
|
+
- ".github/workflows/test_and_deploy.yml"
|
118
133
|
- ".gitignore"
|
119
134
|
- ".rspec"
|
120
135
|
- ".ruby-version"
|
121
|
-
- ".travis.yml"
|
122
136
|
- CODE_OF_CONDUCT.md
|
123
137
|
- Gemfile
|
124
138
|
- LICENSE.txt
|
@@ -177,8 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
191
|
- !ruby/object:Gem::Version
|
178
192
|
version: '0'
|
179
193
|
requirements: []
|
180
|
-
|
181
|
-
rubygems_version: 2.7.7
|
194
|
+
rubygems_version: 3.0.3
|
182
195
|
signing_key:
|
183
196
|
specification_version: 4
|
184
197
|
summary: Synchronization tool for resources
|
data/.travis.yml
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.6.3
|
4
|
-
before_install: gem install bundler -v 1.10.6
|
5
|
-
deploy:
|
6
|
-
provider: rubygems
|
7
|
-
api_key:
|
8
|
-
secure: f0boGHzgJp2bzHbxBEZAEgJ7hO8Iv5Ays6HHfm5nOphg+SMKkmqGpEPPCwbCiiw4ZQ5KyAbxjLvclMzDknpku3v13fXtVlVWyGMH+vpHZnKmgsPWzJ29XTEEzC1FNc1WYEtxhXaCQ9W8xB00j4ahukmVRJOTt+TD0hRsaRXtY0T7HC9JQQkT1x52qf3rhxRM1dgfRJdorB545xAxpyHx1Psy0kCSx+mVRlF0pETRvAy84X6Igjyvc2ovgGKbpRVeA1e5TsWrKjNoBbeKXDBzdND4hDpa9dyshgO33edo4qN4RWh+WPdQTeu8opv8sBOA7sH/Dzx20nII8DDeSPon9jYa7B8DBb1m/DnjjhTmka96n3WBbSeXSCEWGs+KgQO6OBNIR0gghOl3P380ocMLN9nWCNFwTBc/zUY6AsoQyV2hQI5rivTldJOAClEvDGDzZFl2bTRyic4jcn8U/USS7M3Rp3/s4si8km6s0Oy8FLtfnOINznM6quQiDjaXgI5acxx18AncQeqV4nmWxnEALI1i96McJvj3ONZOpzRlp2t1A3Qx5AdbypP9IKgHuBHGSq9W+oifuSN7xRh6Q/yuoWRgo39pdw075LhnUQgX8MVevVU4kGVwGPslirMQb5prf3lvLEQrZhAcGGgrq/vST1ZGesViFwV53LvM3nZGnRs=
|
9
|
-
gem: mumukit-sync
|
10
|
-
on:
|
11
|
-
tags: true
|
12
|
-
repo: mumuki/mumukit-sync
|