sshkit-backends-netssh_global 0.2.0.pre.circleci20.20180622145523 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +6 -87
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f5b9dc88fbbc8f129223e6e696101b65ffe054e418bef29a723982dc7a833c53
|
|
4
|
+
data.tar.gz: 532daf486ac6ad2465b94c951d7e88713940d4163c618f4b47c0cd0d970569f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0bbd33bb09a408f4f8a77f69631d43c1dbde8ac0791d25c5d79bb6ba9bb4648bba13cff4506c4808de342df3eb320be0cbf578435587e240868a1217cecc5444
|
|
7
|
+
data.tar.gz: a85b5b1364fc644e02f7588daec04ff7ead35d21497251a412f7f7da5ba7de7238673c07f9e3d484a61e753933d0a94039406ab2242b9f4352b8e5e3311808a7
|
data/.circleci/config.yml
CHANGED
|
@@ -1,61 +1,14 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
|
|
3
|
-
rubygems-login: &rubygems-login
|
|
4
|
-
run:
|
|
5
|
-
name: Login to RubyGems
|
|
6
|
-
command: |
|
|
7
|
-
mkdir ~/.gem
|
|
8
|
-
echo ":rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
|
|
9
|
-
chmod 0600 ~/.gem/credentials
|
|
10
|
-
|
|
11
|
-
install-git: &install-git
|
|
12
|
-
run: apk add --no-cache --no-progress git
|
|
13
|
-
|
|
14
3
|
defaults: &defaults
|
|
15
4
|
steps:
|
|
16
|
-
-
|
|
5
|
+
- run: apk add --no-cache --no-progress git
|
|
17
6
|
- checkout
|
|
18
7
|
- run: bundle check --path=vendor/bundle || bundle install --path=vendor/bundle
|
|
19
8
|
- run: bundle exec rake test
|
|
20
9
|
working_directory: ~/sshkit-backends-netssh_global
|
|
21
10
|
|
|
22
|
-
default-deploys: &default-deploys
|
|
23
|
-
docker:
|
|
24
|
-
- image: ruby:alpine
|
|
25
|
-
working_directory: ~/sshkit-backends-netssh_global
|
|
26
|
-
|
|
27
11
|
jobs:
|
|
28
|
-
deploy-gem:
|
|
29
|
-
<<: *default-deploys
|
|
30
|
-
steps:
|
|
31
|
-
- *install-git
|
|
32
|
-
- checkout
|
|
33
|
-
- *rubygems-login
|
|
34
|
-
- run:
|
|
35
|
-
name: Build gem
|
|
36
|
-
command: gem build "$CIRCLE_PROJECT_REPONAME".gemspec
|
|
37
|
-
- run:
|
|
38
|
-
name: Publish gem to RubyGems
|
|
39
|
-
command: |
|
|
40
|
-
package=$(ls -t1 "$CIRCLE_PROJECT_REPONAME"*.gem | head -1)
|
|
41
|
-
gem push "$CIRCLE_PROJECT_REPONAME"-"$(echo $CIRCLE_TAG | sed -e 's/v//')".gem
|
|
42
|
-
deploy-pre-release-gem:
|
|
43
|
-
<<: *default-deploys
|
|
44
|
-
steps:
|
|
45
|
-
- *install-git
|
|
46
|
-
- checkout
|
|
47
|
-
- *rubygems-login
|
|
48
|
-
- run:
|
|
49
|
-
name: Install gem-versioner
|
|
50
|
-
command: gem install gem-versioner
|
|
51
|
-
- run:
|
|
52
|
-
name: Build gem
|
|
53
|
-
command: PRE_RELEASE="$CIRCLE_BRANCH" gem build "$CIRCLE_PROJECT_REPONAME".gemspec
|
|
54
|
-
- run:
|
|
55
|
-
name: Push pre-release gem to RubyGems
|
|
56
|
-
command: |
|
|
57
|
-
package=$(ls -t1 "$CIRCLE_PROJECT_REPONAME"*.gem | head -1)
|
|
58
|
-
gem push "$package"
|
|
59
12
|
test-ruby-2.2:
|
|
60
13
|
<<: *defaults
|
|
61
14
|
docker:
|
|
@@ -75,43 +28,9 @@ jobs:
|
|
|
75
28
|
|
|
76
29
|
workflows:
|
|
77
30
|
version: 2
|
|
78
|
-
test-
|
|
31
|
+
test-against-rubies:
|
|
79
32
|
jobs:
|
|
80
|
-
- test-ruby-2.2
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
- test-ruby-2.3:
|
|
85
|
-
filters:
|
|
86
|
-
tags:
|
|
87
|
-
only: /^v\d+\.\d+\.\d\+/
|
|
88
|
-
- test-ruby-2.4:
|
|
89
|
-
filters:
|
|
90
|
-
tags:
|
|
91
|
-
only: /^v\d+\.\d+\.\d\+/
|
|
92
|
-
- test-ruby-2.5:
|
|
93
|
-
filters:
|
|
94
|
-
tags:
|
|
95
|
-
only: /^v\d+\.\d+\.\d\+/
|
|
96
|
-
- deploy-gem:
|
|
97
|
-
context: org-global
|
|
98
|
-
filters:
|
|
99
|
-
branches:
|
|
100
|
-
ignore: /.*/
|
|
101
|
-
tags:
|
|
102
|
-
only: /^v\d+\.\d+\.\d\+/
|
|
103
|
-
requires:
|
|
104
|
-
- test-ruby-2.2
|
|
105
|
-
- test-ruby-2.3
|
|
106
|
-
- test-ruby-2.4
|
|
107
|
-
- test-ruby-2.5
|
|
108
|
-
- deploy-pre-release-gem:
|
|
109
|
-
context: org-global
|
|
110
|
-
filters:
|
|
111
|
-
branches:
|
|
112
|
-
ignore: master
|
|
113
|
-
requires:
|
|
114
|
-
- test-ruby-2.2
|
|
115
|
-
- test-ruby-2.3
|
|
116
|
-
- test-ruby-2.4
|
|
117
|
-
- test-ruby-2.5
|
|
33
|
+
- test-ruby-2.2
|
|
34
|
+
- test-ruby-2.3
|
|
35
|
+
- test-ruby-2.4
|
|
36
|
+
- test-ruby-2.5
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sshkit-backends-netssh_global
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.0
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Theo Cushion
|
|
@@ -130,12 +130,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
130
130
|
version: '0'
|
|
131
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
requirements:
|
|
133
|
-
- - "
|
|
133
|
+
- - ">="
|
|
134
134
|
- !ruby/object:Gem::Version
|
|
135
|
-
version:
|
|
135
|
+
version: '0'
|
|
136
136
|
requirements: []
|
|
137
137
|
rubyforge_project:
|
|
138
|
-
rubygems_version: 2.7.
|
|
138
|
+
rubygems_version: 2.7.6
|
|
139
139
|
signing_key:
|
|
140
140
|
specification_version: 4
|
|
141
141
|
summary: SSHKit backend for globally sudoing commands
|