rake_fly 1.9.0 → 1.10.0.pre.1

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: 906119c33f96d0ba2fde53e81a24bc1b5bd705acfb1199fcd2eeecab06cd0f6a
4
- data.tar.gz: e08a7923eaee9270e4e942698e1af0ffd7f5ece9bc6b6661eb7ed820704fc290
3
+ metadata.gz: be1f12b94ee442aeb499339b3506a6a741c74eec4b956ecb625fddd3d6d6501d
4
+ data.tar.gz: 96c2524bcfc2003681c89e20c6ab847ee37a54caed11b2cee3a41300ca663a92
5
5
  SHA512:
6
- metadata.gz: 90448f749bb602920994b05793730368a67de819895a7b987cbb9f517d4711750a7c9b276aafe2ea3cb12ca3c8c4fc3b2a3fce35a1e65b79d6f278e8b3e73599
7
- data.tar.gz: 597363ba29ce0a756a56b65d41828669879cb0288db1f0453cebf6d7d1255625714829a726074463914b88792283de6398444db3a51205008acbe6107b4f4168
6
+ metadata.gz: eaf2b4559074e986da7f62cf3789523c7d2b22d14ab5df2054438162a538f8b96e5c44d9a8a8cd46585056cfc92ec60e4d40cd88720a40caac77879212df9072
7
+ data.tar.gz: 7c84df473ee948b4b0d9265368592cbce03680a97c60cb5f4ba4f5953ccd1683471fc967dc4a3c1dc8dbcdb8c7d9c0a1517f71a54db1bf39009812f7b7af05f7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_fly (1.9.0)
4
+ rake_fly (1.10.0.pre.1)
5
5
  rake_dependencies (~> 2, < 3)
6
6
  rake_factory (>= 0.23, < 1)
7
7
  ruby_fly (~> 0.11)
@@ -16,10 +16,16 @@ GEM
16
16
  minitest (~> 5.1)
17
17
  tzinfo (~> 1.1)
18
18
  zeitwerk (~> 2.2)
19
+ addressable (2.7.0)
20
+ public_suffix (>= 2.0.2, < 5.0)
21
+ colored2 (3.1.2)
19
22
  concurrent-ruby (1.1.6)
20
23
  diff-lcs (1.3)
21
24
  docile (1.3.2)
25
+ excon (0.72.0)
22
26
  fakefs (0.20.1)
27
+ faraday (1.0.0)
28
+ multipart-post (>= 1.2, < 3)
23
29
  gem-release (2.1.1)
24
30
  hamster (3.0.0)
25
31
  concurrent-ruby (~> 1.0)
@@ -30,8 +36,18 @@ GEM
30
36
  open4 (~> 1.3)
31
37
  minitar (0.9)
32
38
  minitest (5.14.0)
39
+ multipart-post (2.1.1)
40
+ octokit (4.17.0)
41
+ faraday (>= 0.9)
42
+ sawyer (~> 0.8.0, >= 0.5.3)
33
43
  open4 (1.3.4)
44
+ public_suffix (4.0.3)
34
45
  rake (13.0.1)
46
+ rake_circle_ci (0.3.0)
47
+ colored2 (~> 3.1)
48
+ excon (~> 0.72)
49
+ rake_factory (~> 0.23)
50
+ sshkey (~> 2.0)
35
51
  rake_dependencies (2.1.0)
36
52
  hamster (~> 3.0)
37
53
  minitar (~> 0.9)
@@ -40,6 +56,15 @@ GEM
40
56
  rake_factory (0.23.0)
41
57
  activesupport (>= 4)
42
58
  rake (~> 13.0)
59
+ rake_github (0.3.0)
60
+ colored2 (~> 3.1)
61
+ octokit (~> 4.16)
62
+ rake_factory (~> 0.23)
63
+ sshkey (~> 2.0)
64
+ rake_ssh (0.2.0)
65
+ colored2 (~> 3.1)
66
+ rake_factory (~> 0.23)
67
+ sshkey (~> 2.0)
43
68
  rspec (3.9.0)
44
69
  rspec-core (~> 3.9.0)
45
70
  rspec-expectations (~> 3.9.0)
@@ -56,11 +81,15 @@ GEM
56
81
  ruby_fly (0.11.0)
57
82
  lino (~> 1.1)
58
83
  rubyzip (2.2.0)
84
+ sawyer (0.8.2)
85
+ addressable (>= 2.3.5)
86
+ faraday (> 0.8, < 2.0)
59
87
  semantic (1.6.1)
60
88
  simplecov (0.18.2)
61
89
  docile (~> 1.1)
62
90
  simplecov-html (~> 0.11)
63
91
  simplecov-html (0.12.0)
92
+ sshkey (2.0.0)
64
93
  thread_safe (0.3.6)
65
94
  tzinfo (1.2.6)
66
95
  thread_safe (~> 0.1)
@@ -75,8 +104,11 @@ DEPENDENCIES
75
104
  fakefs (~> 0.18)
76
105
  gem-release (~> 2.0)
77
106
  rake (~> 13.0)
107
+ rake_circle_ci (~> 0.3)
78
108
  rake_fly!
79
- rspec (~> 3.8)
109
+ rake_github (~> 0.3)
110
+ rake_ssh (~> 0.2)
111
+ rspec (~> 3.9)
80
112
  simplecov (~> 0.16)
81
113
 
82
114
  BUNDLED WITH
data/Rakefile CHANGED
@@ -1,11 +1,66 @@
1
- require "rspec/core/rake_task"
1
+ require 'yaml'
2
+ require 'rake_circle_ci'
3
+ require 'rake_github'
4
+ require 'rake_ssh'
5
+ require 'rspec/core/rake_task'
6
+
7
+ task :default => :spec
2
8
 
3
9
  RSpec::Core::RakeTask.new(:spec)
4
10
 
5
- task :default => :spec
11
+ RakeSSH.define_key_tasks(
12
+ namespace: :deploy_key,
13
+ path: 'config/secrets/ci/',
14
+ comment: 'maintainers@infrablocks.io'
15
+ )
16
+
17
+ RakeCircleCI.define_project_tasks(
18
+ namespace: :circle_ci,
19
+ project_slug: 'github/infrablocks/rake_fly'
20
+ ) do |t|
21
+ circle_ci_config =
22
+ YAML.load_file('config/secrets/circle_ci/config.yaml')
23
+
24
+ t.api_token = circle_ci_config["circle_ci_api_token"]
25
+ t.environment_variables = {
26
+ ENCRYPTION_PASSPHRASE:
27
+ File.read('config/secrets/ci/encryption.passphrase')
28
+ .chomp
29
+ }
30
+ t.ssh_keys = [
31
+ {
32
+ hostname: "github.com",
33
+ private_key: File.read('config/secrets/ci/ssh.private')
34
+ }
35
+ ]
36
+ end
37
+
38
+ RakeGithub.define_repository_tasks(
39
+ namespace: :github,
40
+ repository: 'infrablocks/rake_fly',
41
+ ) do |t|
42
+ github_config =
43
+ YAML.load_file('config/secrets/github/config.yaml')
44
+
45
+ t.access_token = github_config["github_personal_access_token"]
46
+ t.deploy_keys = [
47
+ {
48
+ title: 'CircleCI',
49
+ public_key: File.read('config/secrets/ci/ssh.public')
50
+ }
51
+ ]
52
+ end
53
+
54
+ namespace :pipeline do
55
+ task :prepare => [
56
+ :'circle_ci:env_vars:ensure',
57
+ :'circle_ci:ssh_keys:ensure',
58
+ :'github:deploy_keys:ensure'
59
+ ]
60
+ end
6
61
 
7
62
  namespace :version do
8
- desc "Bump version for specified type (pre, major, minor patch)"
63
+ desc "Bump version for specified type (pre, major, minor, patch)"
9
64
  task :bump, [:type] do |_, args|
10
65
  bump_version_for(args.type)
11
66
  end
@@ -0,0 +1,2 @@
1
+ ---
2
+ circle_ci_api_token: "27393e98772c1342785957a776ca4acbaea7f7cb"
@@ -0,0 +1,2 @@
1
+ ---
2
+ github_personal_access_token: "6deebdb15c371069618942f48acd76f35880ebb5"
@@ -1,3 +1,3 @@
1
1
  module RakeFly
2
- VERSION = '1.9.0'
2
+ VERSION = '1.10.0.pre.1'
3
3
  end
data/rake_fly.gemspec CHANGED
@@ -32,7 +32,10 @@ Gem::Specification.new do |spec|
32
32
 
33
33
  spec.add_development_dependency 'bundler', '~> 2.1'
34
34
  spec.add_development_dependency 'rake', '~> 13.0'
35
- spec.add_development_dependency 'rspec', '~> 3.8'
35
+ spec.add_development_dependency 'rake_circle_ci', '~> 0.3'
36
+ spec.add_development_dependency 'rake_github', '~> 0.3'
37
+ spec.add_development_dependency 'rake_ssh', '~> 0.2'
38
+ spec.add_development_dependency 'rspec', '~> 3.9'
36
39
  spec.add_development_dependency 'gem-release', '~> 2.0'
37
40
  spec.add_development_dependency 'activesupport', '>= 4'
38
41
  spec.add_development_dependency 'fakefs', '~> 0.18'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_fly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.0.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-06 00:00:00.000000000 Z
11
+ date: 2020-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake_dependencies
@@ -106,20 +106,62 @@ dependencies:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
108
  version: '13.0'
109
+ - !ruby/object:Gem::Dependency
110
+ name: rake_circle_ci
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: '0.3'
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - "~>"
121
+ - !ruby/object:Gem::Version
122
+ version: '0.3'
123
+ - !ruby/object:Gem::Dependency
124
+ name: rake_github
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '0.3'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - "~>"
135
+ - !ruby/object:Gem::Version
136
+ version: '0.3'
137
+ - !ruby/object:Gem::Dependency
138
+ name: rake_ssh
139
+ requirement: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - "~>"
142
+ - !ruby/object:Gem::Version
143
+ version: '0.2'
144
+ type: :development
145
+ prerelease: false
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - "~>"
149
+ - !ruby/object:Gem::Version
150
+ version: '0.2'
109
151
  - !ruby/object:Gem::Dependency
110
152
  name: rspec
111
153
  requirement: !ruby/object:Gem::Requirement
112
154
  requirements:
113
155
  - - "~>"
114
156
  - !ruby/object:Gem::Version
115
- version: '3.8'
157
+ version: '3.9'
116
158
  type: :development
117
159
  prerelease: false
118
160
  version_requirements: !ruby/object:Gem::Requirement
119
161
  requirements:
120
162
  - - "~>"
121
163
  - !ruby/object:Gem::Version
122
- version: '3.8'
164
+ version: '3.9'
123
165
  - !ruby/object:Gem::Dependency
124
166
  name: gem-release
125
167
  requirement: !ruby/object:Gem::Requirement
@@ -208,6 +250,8 @@ files:
208
250
  - config/secrets/ci/gpg.public
209
251
  - config/secrets/ci/ssh.private
210
252
  - config/secrets/ci/ssh.public
253
+ - config/secrets/circle_ci/config.yaml
254
+ - config/secrets/github/config.yaml
211
255
  - config/secrets/rubygems/credentials
212
256
  - go
213
257
  - lib/rake_fly.rb
@@ -243,9 +287,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
243
287
  version: '2.6'
244
288
  required_rubygems_version: !ruby/object:Gem::Requirement
245
289
  requirements:
246
- - - ">="
290
+ - - ">"
247
291
  - !ruby/object:Gem::Version
248
- version: '0'
292
+ version: 1.3.1
249
293
  requirements: []
250
294
  rubygems_version: 3.0.1
251
295
  signing_key: