rake_leiningen 0.23.0.pre.1 → 0.27.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: c667b2cdb1386f88149380c1509b7391bb68a6fc878abe0c220db1d72c3e2412
4
- data.tar.gz: 6cb7bda50cdc11b9f1e8a708d37d6acde8d8c99cb560ac067c18809404a02534
3
+ metadata.gz: 2b139d2e8ec3d955cf95e3a2ca347029125f038514ef658efd726f5a07aecdc8
4
+ data.tar.gz: f0bf665eaf3881003c2171d40ce3dbd7156c5bda0e6c230bee517dd5ba6088e4
5
5
  SHA512:
6
- metadata.gz: 32cdece8b46e950165e320f357734451f351491cb1ffd63b50e5b8a1d0b78d0dd63a0a53a79f57be2c9c9c7c3f6c45d867cb38cfdde6e6fb7676e3e2cbc461f2
7
- data.tar.gz: aefd9949e7877f5501d567ee3d741701af6f445012677d0dcb10367b877bf4d22ad5bbc35a90a168e4ac2712e347f38a7daf4b42219578095e10731e05d8204e
6
+ metadata.gz: a15d0012f67cb99fe7231b6ed115ce55c75d949b24c4ce8730ba49a96463e33a900ef04492b131918921ef3ed01384005cb0600e2b0671ca1eabdcab155a6183
7
+ data.tar.gz: 057502d5f0d1f85a0365012c8b1ed1f0f251765eacb932e4d7a4b0ae8f1e84c29c3815a21d5496f4ad0d49b578f8942251b586afd27aebe459cee001f78434c5
@@ -1,48 +1,49 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_leiningen (0.23.0.pre.1)
4
+ rake_leiningen (0.27.0.pre.1)
5
5
  rake_dependencies (~> 2, < 3)
6
6
  rake_factory (>= 0.23, < 1)
7
- ruby_leiningen (~> 0.13)
7
+ ruby_leiningen (>= 0.21)
8
8
  semantic (~> 1.6.1)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (6.0.3.1)
13
+ activesupport (6.1.0)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
- i18n (>= 0.7, < 2)
16
- minitest (~> 5.1)
17
- tzinfo (~> 1.1)
18
- zeitwerk (~> 2.2, >= 2.2.2)
15
+ i18n (>= 1.6, < 2)
16
+ minitest (>= 5.1)
17
+ tzinfo (~> 2.0)
18
+ zeitwerk (~> 2.3)
19
19
  addressable (2.7.0)
20
20
  public_suffix (>= 2.0.2, < 5.0)
21
21
  colored2 (3.1.2)
22
- concurrent-ruby (1.1.6)
23
- diff-lcs (1.3)
24
- docile (1.3.2)
25
- excon (0.73.0)
26
- fakefs (1.2.2)
27
- faraday (1.0.1)
22
+ concurrent-ruby (1.1.7)
23
+ diff-lcs (1.4.4)
24
+ docile (1.3.3)
25
+ excon (0.78.1)
26
+ fakefs (1.3.0)
27
+ faraday (1.1.0)
28
28
  multipart-post (>= 1.2, < 3)
29
- gem-release (2.1.1)
29
+ ruby2_keywords
30
+ gem-release (2.2.0)
30
31
  hamster (3.0.0)
31
32
  concurrent-ruby (~> 1.0)
32
- i18n (1.8.2)
33
+ i18n (1.8.5)
33
34
  concurrent-ruby (~> 1.0)
34
- lino (1.3.0)
35
+ lino (1.5.0)
35
36
  hamster (~> 3.0)
36
37
  open4 (~> 1.3)
37
38
  minitar (0.9)
38
- minitest (5.14.1)
39
+ minitest (5.14.2)
39
40
  multipart-post (2.1.1)
40
- octokit (4.18.0)
41
+ octokit (4.19.0)
41
42
  faraday (>= 0.9)
42
43
  sawyer (~> 0.8.0, >= 0.5.3)
43
44
  open4 (1.3.4)
44
- public_suffix (4.0.5)
45
- rake (13.0.1)
45
+ public_suffix (4.0.6)
46
+ rake (13.0.3)
46
47
  rake_circle_ci (0.7.0)
47
48
  colored2 (~> 3.1)
48
49
  excon (~> 0.72)
@@ -65,39 +66,43 @@ GEM
65
66
  colored2 (~> 3.1)
66
67
  rake_factory (~> 0.23)
67
68
  sshkey (~> 2.0)
68
- rspec (3.9.0)
69
- rspec-core (~> 3.9.0)
70
- rspec-expectations (~> 3.9.0)
71
- rspec-mocks (~> 3.9.0)
72
- rspec-core (3.9.2)
73
- rspec-support (~> 3.9.3)
74
- rspec-expectations (3.9.2)
69
+ rspec (3.10.0)
70
+ rspec-core (~> 3.10.0)
71
+ rspec-expectations (~> 3.10.0)
72
+ rspec-mocks (~> 3.10.0)
73
+ rspec-core (3.10.0)
74
+ rspec-support (~> 3.10.0)
75
+ rspec-expectations (3.10.0)
75
76
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.9.0)
77
- rspec-mocks (3.9.1)
77
+ rspec-support (~> 3.10.0)
78
+ rspec-mocks (3.10.0)
78
79
  diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.9.0)
80
- rspec-support (3.9.3)
81
- ruby_leiningen (0.13.0)
80
+ rspec-support (~> 3.10.0)
81
+ rspec-support (3.10.0)
82
+ ruby2_keywords (0.0.2)
83
+ ruby_leiningen (0.21.0)
82
84
  activesupport (~> 6.0, >= 6.0.2)
83
- lino (~> 1.1)
85
+ lino (>= 1.5)
84
86
  rubyzip (2.3.0)
85
87
  sawyer (0.8.2)
86
88
  addressable (>= 2.3.5)
87
89
  faraday (> 0.8, < 2.0)
88
90
  semantic (1.6.1)
89
- simplecov (0.18.5)
91
+ simplecov (0.20.0)
90
92
  docile (~> 1.1)
91
93
  simplecov-html (~> 0.11)
92
- simplecov-html (0.12.2)
94
+ simplecov_json_formatter (~> 0.1)
95
+ simplecov-html (0.12.3)
96
+ simplecov_json_formatter (0.1.2)
93
97
  sshkey (2.0.0)
94
- thread_safe (0.3.6)
95
- tzinfo (1.2.7)
96
- thread_safe (~> 0.1)
97
- zeitwerk (2.3.0)
98
+ tzinfo (2.0.4)
99
+ concurrent-ruby (~> 1.0)
100
+ zeitwerk (2.4.2)
98
101
 
99
102
  PLATFORMS
100
103
  ruby
104
+ x86_64-darwin-19
105
+ x86_64-linux
101
106
 
102
107
  DEPENDENCIES
103
108
  activesupport (>= 5.2)
@@ -113,4 +118,4 @@ DEPENDENCIES
113
118
  simplecov (~> 0.16)
114
119
 
115
120
  BUNDLED WITH
116
- 2.1.4
121
+ 2.2.3
data/Rakefile CHANGED
@@ -72,8 +72,5 @@ task :release do
72
72
  end
73
73
 
74
74
  def bump_version_for(version_type)
75
- sh "gem bump --version #{version_type} " +
76
- "&& bundle install " +
77
- "&& export LAST_MESSAGE=\"$(git log -1 --pretty=%B)\" " +
78
- "&& git commit -a --amend -m \"${LAST_MESSAGE} [ci skip]\""
75
+ sh "gem bump --version #{version_type}"
79
76
  end
@@ -6,6 +6,7 @@ require_relative '../tasks/idiomise'
6
6
  require_relative '../tasks/format'
7
7
  require_relative '../tasks/pedantise'
8
8
  require_relative '../tasks/check'
9
+ require_relative '../tasks/style'
9
10
 
10
11
  module RakeLeiningen
11
12
  module TaskSets
@@ -13,6 +14,7 @@ module RakeLeiningen
13
14
  parameter :argument_names, default: []
14
15
 
15
16
  parameter :profile
17
+ parameter :environment
16
18
  parameter :directory, default: '.'
17
19
  parameter :fix, default: false
18
20
 
@@ -8,3 +8,4 @@ require_relative 'tasks/build'
8
8
  require_relative 'tasks/release'
9
9
  require_relative 'tasks/start'
10
10
  require_relative 'tasks/test'
11
+ require_relative 'tasks/style'
@@ -17,6 +17,7 @@ module RakeLeiningen
17
17
 
18
18
  parameter :main_namespace
19
19
  parameter :profile
20
+ parameter :environment
20
21
 
21
22
  parameter :directory, default: '.'
22
23
 
@@ -28,7 +29,8 @@ module RakeLeiningen
28
29
  in_directory(t.directory) do
29
30
  RubyLeiningen.uberjar(
30
31
  main_namespace: t.main_namespace,
31
- profile: t.profile)
32
+ profile: t.profile,
33
+ environment: t.environment)
32
34
  end
33
35
  end
34
36
  end
@@ -18,6 +18,7 @@ module RakeLeiningen
18
18
  parameter :mode
19
19
  parameter :paths
20
20
  parameter :profile
21
+ parameter :environment
21
22
 
22
23
  parameter :directory, default: '.'
23
24
 
@@ -30,7 +31,8 @@ module RakeLeiningen
30
31
  RubyLeiningen.cljfmt(
31
32
  mode: t.mode,
32
33
  paths: t.paths,
33
- profile: t.profile)
34
+ profile: t.profile,
35
+ environment: t.environment)
34
36
  end
35
37
  end
36
38
  end
@@ -20,6 +20,7 @@ module RakeLeiningen
20
20
  parameter :reporter
21
21
  parameter :paths
22
22
  parameter :profile
23
+ parameter :environment
23
24
 
24
25
  parameter :directory, default: '.'
25
26
 
@@ -34,7 +35,8 @@ module RakeLeiningen
34
35
  interactive: t.interactive,
35
36
  reporter: t.reporter,
36
37
  paths: t.paths,
37
- profile: t.profile)
38
+ profile: t.profile,
39
+ environment: t.environment)
38
40
  end
39
41
  end
40
42
  end
@@ -17,6 +17,7 @@ module RakeLeiningen
17
17
 
18
18
  parameter :config
19
19
  parameter :profile
20
+ parameter :environment
20
21
 
21
22
  parameter :directory, default: '.'
22
23
 
@@ -28,7 +29,8 @@ module RakeLeiningen
28
29
  in_directory(t.directory) do
29
30
  RubyLeiningen.eastwood(
30
31
  config: t.config,
31
- profile: t.profile)
32
+ profile: t.profile,
33
+ environment: t.environment)
32
34
  end
33
35
  end
34
36
  end
@@ -16,6 +16,7 @@ module RakeLeiningen
16
16
  }
17
17
 
18
18
  parameter :profile
19
+ parameter :environment
19
20
 
20
21
  parameter :directory, default: '.'
21
22
 
@@ -26,7 +27,8 @@ module RakeLeiningen
26
27
 
27
28
  in_directory(t.directory) do
28
29
  RubyLeiningen.check(
29
- profile: t.profile)
30
+ profile: t.profile,
31
+ environment: t.environment)
30
32
  end
31
33
  end
32
34
  end
@@ -26,6 +26,7 @@ module RakeLeiningen
26
26
  parameter :name_collisions
27
27
  parameter :exclude_profiles
28
28
  parameter :profile
29
+ parameter :environment
29
30
 
30
31
  parameter :directory, default: '.'
31
32
 
@@ -46,7 +47,8 @@ module RakeLeiningen
46
47
  docstrings: t.docstrings,
47
48
  name_collisions: t.name_collisions,
48
49
  exclude_profiles: t.exclude_profiles,
49
- profile: t.profile)
50
+ profile: t.profile,
51
+ environment: t.environment)
50
52
  end
51
53
  end
52
54
  end
@@ -17,6 +17,7 @@ module RakeLeiningen
17
17
 
18
18
  parameter :level
19
19
  parameter :profile
20
+ parameter :environment
20
21
 
21
22
  parameter :directory, default: '.'
22
23
 
@@ -28,7 +29,8 @@ module RakeLeiningen
28
29
  in_directory(t.directory) do
29
30
  RubyLeiningen.release(
30
31
  level: t.level,
31
- profile: t.profile)
32
+ profile: t.profile,
33
+ environment: t.environment)
32
34
  end
33
35
  end
34
36
  end
@@ -19,6 +19,7 @@ module RakeLeiningen
19
19
  parameter :arguments
20
20
  parameter :quote_arguments
21
21
  parameter :profile
22
+ parameter :environment
22
23
 
23
24
  parameter :directory, default: '.'
24
25
 
@@ -32,7 +33,8 @@ module RakeLeiningen
32
33
  main_function: t.main_function,
33
34
  arguments: t.arguments,
34
35
  quote_arguments: t.quote_arguments,
35
- profile: t.profile)
36
+ profile: t.profile,
37
+ environment: t.environment)
36
38
  end
37
39
  end
38
40
  end
@@ -0,0 +1,36 @@
1
+ require 'rake_factory'
2
+ require 'ruby_leiningen'
3
+ require 'ruby_leiningen/plugins'
4
+
5
+ require_relative '../mixins/directoried'
6
+
7
+ module RakeLeiningen
8
+ module Tasks
9
+ class Style < RakeFactory::Task
10
+ include Mixins::Directoried
11
+
12
+ default_name :style
13
+ default_description "Make all clojure files conform to a style."
14
+ default_prerequisites RakeFactory::DynamicValue.new { |t|
15
+ t.ensure_task_name ? [t.ensure_task_name] : []
16
+ }
17
+
18
+ parameter :mode
19
+ parameter :paths
20
+
21
+ parameter :directory, default: '.'
22
+
23
+ parameter :ensure_task_name, default: 'leiningen:ensure'
24
+
25
+ action do |t|
26
+ puts "Styling all clojure files..."
27
+
28
+ in_directory(t.directory) do
29
+ RubyLeiningen.cljstyle(
30
+ mode: t.mode,
31
+ paths: t.paths)
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -24,6 +24,7 @@ module RakeLeiningen
24
24
  parameter :namespaces
25
25
  parameter :files
26
26
  parameter :profile
27
+ parameter :environment
27
28
 
28
29
  parameter :directory, default: '.'
29
30
 
@@ -38,7 +39,8 @@ module RakeLeiningen
38
39
  test_selectors: t.test_selectors,
39
40
  namespaces: t.namespaces,
40
41
  files: t.files,
41
- profile: t.profile)
42
+ profile: t.profile,
43
+ environment: t.environment)
42
44
  end
43
45
  end
44
46
  end
@@ -1,3 +1,3 @@
1
1
  module RakeLeiningen
2
- VERSION = '0.23.0.pre.1'
2
+ VERSION = '0.27.0.pre.1'
3
3
  end
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_dependency 'rake_dependencies', '~> 2', '< 3'
28
28
  spec.add_dependency 'rake_factory', '>= 0.23', '< 1'
29
- spec.add_dependency 'ruby_leiningen', '~> 0.13'
29
+ spec.add_dependency 'ruby_leiningen', '>= 0.21'
30
30
  spec.add_dependency 'semantic', '~> 1.6.1'
31
31
 
32
32
  spec.add_development_dependency 'bundler', '~> 2.1'
@@ -10,6 +10,11 @@ PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
10
10
  cd "$PROJECT_DIR"
11
11
 
12
12
  ./go version:bump[pre]
13
+
14
+ bundle install
15
+ LAST_MESSAGE="$(git log -1 --pretty=%B)"
16
+ git commit -a --amend -m "${LAST_MESSAGE} [ci skip]"
17
+
13
18
  ./go release
14
19
 
15
20
  git status
@@ -12,6 +12,11 @@ cd "$PROJECT_DIR"
12
12
  git pull
13
13
 
14
14
  ./go version:bump[minor]
15
+
16
+ bundle install
17
+ LAST_MESSAGE="$(git log -1 --pretty=%B)"
18
+ git commit -a --amend -m "${LAST_MESSAGE} [ci skip]"
19
+
15
20
  ./go release
16
21
 
17
22
  git status
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_leiningen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0.pre.1
4
+ version: 0.27.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-05-25 00:00:00.000000000 Z
11
+ date: 2020-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake_dependencies
@@ -54,16 +54,16 @@ dependencies:
54
54
  name: ruby_leiningen
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
57
+ - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: '0.13'
59
+ version: '0.21'
60
60
  type: :runtime
61
61
  prerelease: false
62
62
  version_requirements: !ruby/object:Gem::Requirement
63
63
  requirements:
64
- - - "~>"
64
+ - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: '0.13'
66
+ version: '0.21'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: semantic
69
69
  requirement: !ruby/object:Gem::Requirement
@@ -269,6 +269,7 @@ files:
269
269
  - lib/rake_leiningen/tasks/pedantise.rb
270
270
  - lib/rake_leiningen/tasks/release.rb
271
271
  - lib/rake_leiningen/tasks/start.rb
272
+ - lib/rake_leiningen/tasks/style.rb
272
273
  - lib/rake_leiningen/tasks/test.rb
273
274
  - lib/rake_leiningen/version.rb
274
275
  - rake_leiningen.gemspec