ruby_leiningen 0.7.0 → 0.8.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: 9d9dd8671b46b6acb9f02a127b78e873b9dc67840afb52e97882c098207c6dc2
4
- data.tar.gz: 4359b30ebf2e87759b812b89bc3717d65dfbc6fc93e44e886e084b40ed0f744b
3
+ metadata.gz: a631447731dff70458a7c8e99d04860874ce206aa6a99b39bd6dda7fe9872cef
4
+ data.tar.gz: 9889589369ce4ce1b5fa80f7762325b7c8a6c1cd982231ec24702a3724f3ea75
5
5
  SHA512:
6
- metadata.gz: b77bce601f72fe86a3c33e531e8b48a3887be5b71ad2f6cbc2c09663db08f06aec709ab4dabe5b4ccdffbfa0b6eb238733f804e1896bc6ea466b48ed2401b1bd
7
- data.tar.gz: dee1be86bd1d315a46e78158e317a3f0d63cbde5067026c498d534fb520e448df94e625359610007150a55a44883e10f644e69e4ba0130f150aefc10fe92f43a
6
+ metadata.gz: 34396a75562c4b5fd01dccad80e580c3a09f58da51ced0e86060696bf08936594137905e9092ec3a3a78af5cf320dc87dfe27219984992ec59160ef01b7e29d4
7
+ data.tar.gz: 0d89d4189f0d02992e47a4e90c2a2c2f79da87a19c4c3710b10f4e5fef251cc06f4edc06a1bda1a63fbeb04f62d931fc2c3a9cda788528aea43dd04824c3217a
data/Gemfile.lock CHANGED
@@ -1,49 +1,81 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_leiningen (0.7.0)
4
+ ruby_leiningen (0.8.0.pre.1)
5
5
  activesupport (~> 6.0, >= 6.0.2)
6
6
  lino (~> 1.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (6.0.2)
11
+ activesupport (6.0.2.1)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 0.7, < 2)
14
14
  minitest (~> 5.1)
15
15
  tzinfo (~> 1.1)
16
16
  zeitwerk (~> 2.2)
17
- concurrent-ruby (1.1.5)
17
+ addressable (2.7.0)
18
+ public_suffix (>= 2.0.2, < 5.0)
19
+ colored2 (3.1.2)
20
+ concurrent-ruby (1.1.6)
18
21
  diff-lcs (1.3)
22
+ excon (0.72.0)
23
+ faraday (1.0.0)
24
+ multipart-post (>= 1.2, < 3)
19
25
  gem-release (2.1.1)
20
26
  hamster (3.0.0)
21
27
  concurrent-ruby (~> 1.0)
22
- i18n (1.7.0)
28
+ i18n (1.8.2)
23
29
  concurrent-ruby (~> 1.0)
24
30
  lino (1.1.0)
25
31
  hamster (~> 3.0)
26
32
  open4 (~> 1.3)
27
- minitest (5.13.0)
33
+ minitest (5.14.0)
34
+ multipart-post (2.1.1)
35
+ octokit (4.17.0)
36
+ faraday (>= 0.9)
37
+ sawyer (~> 0.8.0, >= 0.5.3)
28
38
  open4 (1.3.4)
39
+ public_suffix (4.0.3)
29
40
  rake (13.0.1)
41
+ rake_circle_ci (0.5.0)
42
+ colored2 (~> 3.1)
43
+ excon (~> 0.72)
44
+ rake_factory (~> 0.23)
45
+ sshkey (~> 2.0)
46
+ rake_factory (0.27.0)
47
+ activesupport (>= 4)
48
+ rake (~> 13.0)
49
+ rake_github (0.5.0)
50
+ colored2 (~> 3.1)
51
+ octokit (~> 4.16)
52
+ rake_factory (~> 0.23)
53
+ sshkey (~> 2.0)
54
+ rake_ssh (0.4.0)
55
+ colored2 (~> 3.1)
56
+ rake_factory (~> 0.23)
57
+ sshkey (~> 2.0)
30
58
  rspec (3.9.0)
31
59
  rspec-core (~> 3.9.0)
32
60
  rspec-expectations (~> 3.9.0)
33
61
  rspec-mocks (~> 3.9.0)
34
- rspec-core (3.9.0)
35
- rspec-support (~> 3.9.0)
36
- rspec-expectations (3.9.0)
62
+ rspec-core (3.9.1)
63
+ rspec-support (~> 3.9.1)
64
+ rspec-expectations (3.9.1)
37
65
  diff-lcs (>= 1.2.0, < 2.0)
38
66
  rspec-support (~> 3.9.0)
39
- rspec-mocks (3.9.0)
67
+ rspec-mocks (3.9.1)
40
68
  diff-lcs (>= 1.2.0, < 2.0)
41
69
  rspec-support (~> 3.9.0)
42
- rspec-support (3.9.0)
70
+ rspec-support (3.9.2)
71
+ sawyer (0.8.2)
72
+ addressable (>= 2.3.5)
73
+ faraday (> 0.8, < 2.0)
74
+ sshkey (2.0.0)
43
75
  thread_safe (0.3.6)
44
- tzinfo (1.2.5)
76
+ tzinfo (1.2.6)
45
77
  thread_safe (~> 0.1)
46
- zeitwerk (2.2.2)
78
+ zeitwerk (2.3.0)
47
79
 
48
80
  PLATFORMS
49
81
  ruby
@@ -52,7 +84,10 @@ DEPENDENCIES
52
84
  bundler (~> 2.0)
53
85
  gem-release (~> 2.0)
54
86
  rake (~> 13.0)
55
- rspec (~> 3.8)
87
+ rake_circle_ci (~> 0.3)
88
+ rake_github (~> 0.3)
89
+ rake_ssh (~> 0.2)
90
+ rspec (~> 3.9)
56
91
  ruby_leiningen!
57
92
 
58
93
  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/ruby_leiningen'
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/ruby_leiningen',
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 RubyLeiningen
2
- VERSION = '0.7.0'
2
+ VERSION = '0.8.0.pre.1'
3
3
  end
@@ -29,6 +29,9 @@ Gem::Specification.new do |spec|
29
29
 
30
30
  spec.add_development_dependency 'bundler', '~> 2.0'
31
31
  spec.add_development_dependency 'rake', '~> 13.0'
32
- spec.add_development_dependency 'rspec', '~> 3.8'
32
+ spec.add_development_dependency 'rake_circle_ci', '~> 0.3'
33
+ spec.add_development_dependency 'rake_github', '~> 0.3'
34
+ spec.add_development_dependency 'rake_ssh', '~> 0.2'
35
+ spec.add_development_dependency 'rspec', '~> 3.9'
33
36
  spec.add_development_dependency 'gem-release', '~> 2.0'
34
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_leiningen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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: lino
@@ -72,20 +72,62 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '13.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rake_circle_ci
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '0.3'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '0.3'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rake_github
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.3'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.3'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rake_ssh
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '0.2'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '0.2'
75
117
  - !ruby/object:Gem::Dependency
76
118
  name: rspec
77
119
  requirement: !ruby/object:Gem::Requirement
78
120
  requirements:
79
121
  - - "~>"
80
122
  - !ruby/object:Gem::Version
81
- version: '3.8'
123
+ version: '3.9'
82
124
  type: :development
83
125
  prerelease: false
84
126
  version_requirements: !ruby/object:Gem::Requirement
85
127
  requirements:
86
128
  - - "~>"
87
129
  - !ruby/object:Gem::Version
88
- version: '3.8'
130
+ version: '3.9'
89
131
  - !ruby/object:Gem::Dependency
90
132
  name: gem-release
91
133
  requirement: !ruby/object:Gem::Requirement
@@ -132,6 +174,8 @@ files:
132
174
  - config/secrets/ci/gpg.public
133
175
  - config/secrets/ci/ssh.private
134
176
  - config/secrets/ci/ssh.public
177
+ - config/secrets/circle_ci/config.yaml
178
+ - config/secrets/github/config.yaml
135
179
  - config/secrets/rubygems/credentials
136
180
  - go
137
181
  - lib/ruby_leiningen.rb
@@ -174,9 +218,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
174
218
  version: '2.6'
175
219
  required_rubygems_version: !ruby/object:Gem::Requirement
176
220
  requirements:
177
- - - ">="
221
+ - - ">"
178
222
  - !ruby/object:Gem::Version
179
- version: '0'
223
+ version: 1.3.1
180
224
  requirements: []
181
225
  rubygems_version: 3.0.1
182
226
  signing_key: