ruby_leiningen 0.12.0.pre.2 → 0.17.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/Gemfile.lock +11 -11
- data/lib/ruby_leiningen/commands.rb +3 -0
- data/lib/ruby_leiningen/commands/check.rb +2 -0
- data/lib/ruby_leiningen/commands/clean.rb +2 -0
- data/lib/ruby_leiningen/commands/deps.rb +2 -0
- data/lib/ruby_leiningen/commands/mixins/environment.rb +29 -0
- data/lib/ruby_leiningen/commands/mixins/profile.rb +1 -0
- data/lib/ruby_leiningen/commands/release.rb +2 -0
- data/lib/ruby_leiningen/commands/run.rb +2 -0
- data/lib/ruby_leiningen/commands/uberjar.rb +2 -0
- data/lib/ruby_leiningen/commands/version.rb +5 -0
- data/lib/ruby_leiningen/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b52c9c7d4a2b30b097aa286a0a2a601737feb4bd9679cf9c9b08459f6b9a920f
|
4
|
+
data.tar.gz: 7d220062be98c61666063da1217a0228917b719ea47314b8e0c76a1963573065
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67107ff8fa656228f966980d7a5acb552be8690f580e95eba2f2df37b37efc3d043a9e9a5a7044cbd677ff7401f2573a8fe851cb55cecf95f57d3e4b5143bc67
|
7
|
+
data.tar.gz: fd355e6468c1ff7ddbb42cc5a408c42d46428ada7807a1c3cbd36dd0166563f60ebe8d803702fa5680dc3ba57718f378693e8f1a8bfa558562712ca97a619dba
|
data/Gemfile.lock
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby_leiningen (0.
|
4
|
+
ruby_leiningen (0.17.0)
|
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.
|
11
|
+
activesupport (6.0.3.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
|
-
zeitwerk (~> 2.2)
|
16
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
17
17
|
addressable (2.7.0)
|
18
18
|
public_suffix (>= 2.0.2, < 5.0)
|
19
19
|
colored2 (3.1.2)
|
@@ -27,18 +27,18 @@ GEM
|
|
27
27
|
concurrent-ruby (~> 1.0)
|
28
28
|
i18n (1.8.2)
|
29
29
|
concurrent-ruby (~> 1.0)
|
30
|
-
lino (1.
|
30
|
+
lino (1.3.0)
|
31
31
|
hamster (~> 3.0)
|
32
32
|
open4 (~> 1.3)
|
33
|
-
minitest (5.14.
|
33
|
+
minitest (5.14.1)
|
34
34
|
multipart-post (2.1.1)
|
35
35
|
octokit (4.18.0)
|
36
36
|
faraday (>= 0.9)
|
37
37
|
sawyer (~> 0.8.0, >= 0.5.3)
|
38
38
|
open4 (1.3.4)
|
39
|
-
public_suffix (4.0.
|
39
|
+
public_suffix (4.0.5)
|
40
40
|
rake (13.0.1)
|
41
|
-
rake_circle_ci (0.
|
41
|
+
rake_circle_ci (0.7.0)
|
42
42
|
colored2 (~> 3.1)
|
43
43
|
excon (~> 0.72)
|
44
44
|
rake_factory (~> 0.23)
|
@@ -59,15 +59,15 @@ GEM
|
|
59
59
|
rspec-core (~> 3.9.0)
|
60
60
|
rspec-expectations (~> 3.9.0)
|
61
61
|
rspec-mocks (~> 3.9.0)
|
62
|
-
rspec-core (3.9.
|
63
|
-
rspec-support (~> 3.9.
|
64
|
-
rspec-expectations (3.9.
|
62
|
+
rspec-core (3.9.2)
|
63
|
+
rspec-support (~> 3.9.3)
|
64
|
+
rspec-expectations (3.9.2)
|
65
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
66
66
|
rspec-support (~> 3.9.0)
|
67
67
|
rspec-mocks (3.9.1)
|
68
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
69
69
|
rspec-support (~> 3.9.0)
|
70
|
-
rspec-support (3.9.
|
70
|
+
rspec-support (3.9.3)
|
71
71
|
sawyer (0.8.2)
|
72
72
|
addressable (>= 2.3.5)
|
73
73
|
faraday (> 0.8, < 2.0)
|
@@ -19,6 +19,9 @@ module RubyLeiningen
|
|
19
19
|
unless options[:include_profile_support] == false
|
20
20
|
include Mixins::Profile
|
21
21
|
end
|
22
|
+
unless options[:include_environment_support] == false
|
23
|
+
include Mixins::Environment
|
24
|
+
end
|
22
25
|
|
23
26
|
define_method "configure_command" do |builder, opts|
|
24
27
|
config = (config_block || lambda { |conf, _| conf })
|
@@ -2,11 +2,13 @@ require 'lino'
|
|
2
2
|
|
3
3
|
require_relative 'base'
|
4
4
|
require_relative 'mixins/profile'
|
5
|
+
require_relative 'mixins/environment'
|
5
6
|
|
6
7
|
module RubyLeiningen
|
7
8
|
module Commands
|
8
9
|
class Check < Base
|
9
10
|
include Mixins::Profile
|
11
|
+
include Mixins::Environment
|
10
12
|
|
11
13
|
def configure_command(builder, opts)
|
12
14
|
builder = super(builder, opts)
|
@@ -2,11 +2,13 @@ require 'lino'
|
|
2
2
|
|
3
3
|
require_relative 'base'
|
4
4
|
require_relative 'mixins/profile'
|
5
|
+
require_relative 'mixins/environment'
|
5
6
|
|
6
7
|
module RubyLeiningen
|
7
8
|
module Commands
|
8
9
|
class Clean < Base
|
9
10
|
include Mixins::Profile
|
11
|
+
include Mixins::Environment
|
10
12
|
|
11
13
|
def configure_command(builder, opts)
|
12
14
|
builder = super(builder, opts)
|
@@ -2,11 +2,13 @@ require 'lino'
|
|
2
2
|
|
3
3
|
require_relative 'base'
|
4
4
|
require_relative 'mixins/profile'
|
5
|
+
require_relative 'mixins/environment'
|
5
6
|
|
6
7
|
module RubyLeiningen
|
7
8
|
module Commands
|
8
9
|
class Deps < Base
|
9
10
|
include Mixins::Profile
|
11
|
+
include Mixins::Environment
|
10
12
|
|
11
13
|
def configure_command(builder, opts)
|
12
14
|
builder = super(builder, opts)
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module RubyLeiningen
|
2
|
+
module Commands
|
3
|
+
module Mixins
|
4
|
+
module Environment
|
5
|
+
def initialize(opts={})
|
6
|
+
super(opts)
|
7
|
+
@environment = opts[:environment]
|
8
|
+
end
|
9
|
+
|
10
|
+
def for_environment(environment)
|
11
|
+
@environment = environment
|
12
|
+
self
|
13
|
+
end
|
14
|
+
|
15
|
+
def configure_command(builder, opts)
|
16
|
+
builder = super(builder, opts)
|
17
|
+
environment = opts[:environment] || @environment
|
18
|
+
if environment
|
19
|
+
builder = environment.to_a
|
20
|
+
.inject(builder) do |b, environment_variable|
|
21
|
+
b.with_environment_variable(*environment_variable)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
builder
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -2,11 +2,13 @@ require 'lino'
|
|
2
2
|
|
3
3
|
require_relative 'base'
|
4
4
|
require_relative 'mixins/profile'
|
5
|
+
require_relative 'mixins/environment'
|
5
6
|
|
6
7
|
module RubyLeiningen
|
7
8
|
module Commands
|
8
9
|
class Release < Base
|
9
10
|
include Mixins::Profile
|
11
|
+
include Mixins::Environment
|
10
12
|
|
11
13
|
def configure_command(builder, opts)
|
12
14
|
builder = super(builder, opts)
|
@@ -2,11 +2,13 @@ require 'lino'
|
|
2
2
|
|
3
3
|
require_relative 'base'
|
4
4
|
require_relative 'mixins/profile'
|
5
|
+
require_relative 'mixins/environment'
|
5
6
|
|
6
7
|
module RubyLeiningen
|
7
8
|
module Commands
|
8
9
|
class Run < Base
|
9
10
|
include Mixins::Profile
|
11
|
+
include Mixins::Environment
|
10
12
|
|
11
13
|
def configure_command(builder, opts)
|
12
14
|
builder = super(builder, opts)
|
@@ -2,11 +2,13 @@ require 'lino'
|
|
2
2
|
|
3
3
|
require_relative 'base'
|
4
4
|
require_relative 'mixins/profile'
|
5
|
+
require_relative 'mixins/environment'
|
5
6
|
|
6
7
|
module RubyLeiningen
|
7
8
|
module Commands
|
8
9
|
class Uberjar < Base
|
9
10
|
include Mixins::Profile
|
11
|
+
include Mixins::Environment
|
10
12
|
|
11
13
|
def configure_command(builder, opts)
|
12
14
|
builder = super(builder, opts)
|
@@ -1,9 +1,13 @@
|
|
1
1
|
require 'lino'
|
2
|
+
|
2
3
|
require_relative 'base'
|
4
|
+
require_relative 'mixins/environment'
|
3
5
|
|
4
6
|
module RubyLeiningen
|
5
7
|
module Commands
|
6
8
|
class Version < Base
|
9
|
+
include Mixins::Environment
|
10
|
+
|
7
11
|
def stdout
|
8
12
|
@version_string
|
9
13
|
end
|
@@ -13,6 +17,7 @@ module RubyLeiningen
|
|
13
17
|
end
|
14
18
|
|
15
19
|
def configure_command(builder, opts)
|
20
|
+
builder = super(builder, opts)
|
16
21
|
builder.with_argument('version')
|
17
22
|
end
|
18
23
|
|
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.
|
4
|
+
version: 0.17.0
|
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-
|
11
|
+
date: 2020-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lino
|
@@ -184,6 +184,7 @@ files:
|
|
184
184
|
- lib/ruby_leiningen/commands/check.rb
|
185
185
|
- lib/ruby_leiningen/commands/clean.rb
|
186
186
|
- lib/ruby_leiningen/commands/deps.rb
|
187
|
+
- lib/ruby_leiningen/commands/mixins/environment.rb
|
187
188
|
- lib/ruby_leiningen/commands/mixins/profile.rb
|
188
189
|
- lib/ruby_leiningen/commands/plugins/bikeshed.rb
|
189
190
|
- lib/ruby_leiningen/commands/plugins/cljfmt.rb
|
@@ -219,9 +220,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
219
220
|
version: '2.6'
|
220
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
222
|
requirements:
|
222
|
-
- - "
|
223
|
+
- - ">="
|
223
224
|
- !ruby/object:Gem::Version
|
224
|
-
version:
|
225
|
+
version: '0'
|
225
226
|
requirements: []
|
226
227
|
rubygems_version: 3.0.1
|
227
228
|
signing_key:
|