sshkit-backends-netssh_global 0.2.0.pre.circleci20.20180622145523 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +6 -87
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8e7804135495c932638591aaa07bac15b3b14ca2dc304037e305b505cc7578d
4
- data.tar.gz: 30d99dfa5c8490f6afb0711e29c6b4e79900b9c7b2d4bdc6bded24290b54147c
3
+ metadata.gz: f5b9dc88fbbc8f129223e6e696101b65ffe054e418bef29a723982dc7a833c53
4
+ data.tar.gz: 532daf486ac6ad2465b94c951d7e88713940d4163c618f4b47c0cd0d970569f3
5
5
  SHA512:
6
- metadata.gz: 2981248f2e792e4a41daac1c2b18b0be6075d998c3704b09f6ab7f15f6e31283eb152e690bdca1453b9bdf34ae7dcc10ee0d81ad63895212d699cda8d9f8caba
7
- data.tar.gz: 0534a7474e214c748ac5642cafbb8f5719c37b912fb3ef731c6e29659eef8b957dc3dc4029944bc10fc830909fe6d22eddb9ff269f0492737d18d34e79b2de9b
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
- - *install-git
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-then-release-gem:
31
+ test-against-rubies:
79
32
  jobs:
80
- - test-ruby-2.2:
81
- filters:
82
- tags:
83
- only: /^v\d+\.\d+\.\d\+/
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.pre.circleci20.20180622145523
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: 1.3.1
135
+ version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
- rubygems_version: 2.7.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