ruby_leiningen 0.14.0.pre.1 → 0.19.0

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: d78a013141f064967ed18c7f4f456a401f7f906bf10444482f63fd6694299153
4
- data.tar.gz: f007a1ad771a374d7d9361597f9b55e2e5c220ad4b0a80e62484da165c5120f2
3
+ metadata.gz: 9cbcb1b26c32997a411397268e1d4cfbfde117190c8d3a3bd19003b9faea1656
4
+ data.tar.gz: 21a1c6821c899be4cb7791ceb8459143d54b03cd167fdd8e6827156b206d4bb7
5
5
  SHA512:
6
- metadata.gz: 4c6f6148d514745124c1ec304d280c5e87c1d9dd53bd48e15f12a9e2981034e267299816fb89091b07dabefd300724c6a67b94509649e024aa4f05a59da4072c
7
- data.tar.gz: a00f8361dd715b3401597b54540eb0f05e9e27ac0805d4c4cb428681c3cc3c36f280ab8cdcaf1a25d2182f9d67e4fc379013f92a66ec4f8690e48c375d15259c
6
+ metadata.gz: ff805c00cff5e8e881c70f8a4bfe31525cf09756debf815a07bbe53c3a180b82c9c719a578aa022d036d57017aa5da4ba2982a6849c7ca1a3ecaf1f3f90409b0
7
+ data.tar.gz: 2c7ef5a71c63315ef6c93532c2c6fb071ff2879c8df5c1bdbe67d44eb1c0995de72a0ee5aee208c67d79016f36f698ce23102413d961ea23e6b93111bdcbe9f3
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby_leiningen (0.14.0.pre.1)
4
+ ruby_leiningen (0.19.0)
5
5
  activesupport (~> 6.0, >= 6.0.2)
6
- lino (~> 1.1)
6
+ lino (>= 1.5)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (6.0.3.1)
11
+ activesupport (6.0.3.4)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 0.7, < 2)
14
14
  minitest (~> 5.1)
@@ -17,26 +17,27 @@ GEM
17
17
  addressable (2.7.0)
18
18
  public_suffix (>= 2.0.2, < 5.0)
19
19
  colored2 (3.1.2)
20
- concurrent-ruby (1.1.6)
21
- diff-lcs (1.3)
22
- excon (0.73.0)
23
- faraday (1.0.1)
20
+ concurrent-ruby (1.1.7)
21
+ diff-lcs (1.4.4)
22
+ excon (0.78.0)
23
+ faraday (1.1.0)
24
24
  multipart-post (>= 1.2, < 3)
25
- gem-release (2.1.1)
25
+ ruby2_keywords
26
+ gem-release (2.2.0)
26
27
  hamster (3.0.0)
27
28
  concurrent-ruby (~> 1.0)
28
- i18n (1.8.2)
29
+ i18n (1.8.5)
29
30
  concurrent-ruby (~> 1.0)
30
- lino (1.3.0)
31
+ lino (1.5.0)
31
32
  hamster (~> 3.0)
32
33
  open4 (~> 1.3)
33
- minitest (5.14.1)
34
+ minitest (5.14.2)
34
35
  multipart-post (2.1.1)
35
- octokit (4.18.0)
36
+ octokit (4.19.0)
36
37
  faraday (>= 0.9)
37
38
  sawyer (~> 0.8.0, >= 0.5.3)
38
39
  open4 (1.3.4)
39
- public_suffix (4.0.5)
40
+ public_suffix (4.0.6)
40
41
  rake (13.0.1)
41
42
  rake_circle_ci (0.7.0)
42
43
  colored2 (~> 3.1)
@@ -55,27 +56,28 @@ GEM
55
56
  colored2 (~> 3.1)
56
57
  rake_factory (~> 0.23)
57
58
  sshkey (~> 2.0)
58
- rspec (3.9.0)
59
- rspec-core (~> 3.9.0)
60
- rspec-expectations (~> 3.9.0)
61
- rspec-mocks (~> 3.9.0)
62
- rspec-core (3.9.2)
63
- rspec-support (~> 3.9.3)
64
- rspec-expectations (3.9.2)
59
+ rspec (3.10.0)
60
+ rspec-core (~> 3.10.0)
61
+ rspec-expectations (~> 3.10.0)
62
+ rspec-mocks (~> 3.10.0)
63
+ rspec-core (3.10.0)
64
+ rspec-support (~> 3.10.0)
65
+ rspec-expectations (3.10.0)
65
66
  diff-lcs (>= 1.2.0, < 2.0)
66
- rspec-support (~> 3.9.0)
67
- rspec-mocks (3.9.1)
67
+ rspec-support (~> 3.10.0)
68
+ rspec-mocks (3.10.0)
68
69
  diff-lcs (>= 1.2.0, < 2.0)
69
- rspec-support (~> 3.9.0)
70
- rspec-support (3.9.3)
70
+ rspec-support (~> 3.10.0)
71
+ rspec-support (3.10.0)
72
+ ruby2_keywords (0.0.2)
71
73
  sawyer (0.8.2)
72
74
  addressable (>= 2.3.5)
73
75
  faraday (> 0.8, < 2.0)
74
76
  sshkey (2.0.0)
75
77
  thread_safe (0.3.6)
76
- tzinfo (1.2.7)
78
+ tzinfo (1.2.8)
77
79
  thread_safe (~> 0.1)
78
- zeitwerk (2.3.0)
80
+ zeitwerk (2.4.1)
79
81
 
80
82
  PLATFORMS
81
83
  ruby
@@ -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
@@ -13,6 +13,7 @@ module RubyLeiningen
13
13
  end
14
14
 
15
15
  def configure_command(builder, opts)
16
+ builder = super(builder, opts)
16
17
  profile = opts[:profile] || @profile
17
18
  if profile
18
19
  builder = builder
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module RubyLeiningen
2
- VERSION = '0.14.0.pre.1'
2
+ VERSION = '0.19.0'
3
3
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.required_ruby_version = '>= 2.6'
26
26
 
27
- spec.add_dependency 'lino', '~> 1.1'
27
+ spec.add_dependency 'lino', '>= 1.5'
28
28
  spec.add_dependency 'activesupport', '~> 6.0', '>= 6.0.2'
29
29
 
30
30
  spec.add_development_dependency 'bundler', '~> 2.0'
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_leiningen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0.pre.1
4
+ version: 0.19.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-05-25 00:00:00.000000000 Z
11
+ date: 2020-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lino
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.1'
19
+ version: '1.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.1'
26
+ version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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: 1.3.1
225
+ version: '0'
225
226
  requirements: []
226
227
  rubygems_version: 3.0.1
227
228
  signing_key: