rim 2.15.0 → 2.17.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
  SHA1:
3
- metadata.gz: 934055c17c24f3de0c4f69f6353e09812462a246
4
- data.tar.gz: f4bb6d15771a487e4c62a131267759b5af7e2fd1
3
+ metadata.gz: fdbc34a048b03cdfdfc4d838ca4137f0953888b5
4
+ data.tar.gz: ce1605a8f3ce7b779ae654eeb121f036e4094131
5
5
  SHA512:
6
- metadata.gz: a47823987e509c63e6128d7bec5935d64829a01c3386bfdd5101aa39ca61b94d06d70b9d556afcaabd9aff3c73a7e7d22c9be145af45303e64b695fb49ae4243
7
- data.tar.gz: a9ba47575c5241eae41f12670bc0e684badca84041ce8f82037dd3430a6e7d5773da9e972878c9d6b0e31a0d0e82c9e7b68431ff1639e6246a58ce707c6c995a
6
+ metadata.gz: f44f2f0aa22d5887dbe433007d680c65f291484012870a36cb1400d8481cc6eb6191e5f45771012ee662dab529e5a3694700f4b3e62972279f7f67715e7087bc
7
+ data.tar.gz: 2c2713ad47620fd55a67d0ed76cb13d2f4bbedd97463c6249faad09d672cdcae1772e7c402e45fb9ee1f54bef000faf6a8acd6f153153d7b38ab96d64279dbae
data/Changelog CHANGED
@@ -1,3 +1,13 @@
1
+ 2.17.0
2
+ Determine Regtest version and add it to development dependencies only if it is
3
+ not yet set in Rakefile.
4
+ New attribute Rim#run_regtest_before_release to invoke regtest task before
5
+ releasing this means it is a precondition for tasks prepare_release and
6
+ release.
7
+
8
+ 2.16.0
9
+ accidentally yanked.
10
+
1
11
  2.15.0
2
12
  Allow pre-release version numbers.
3
13
 
data/lib/rim.rb CHANGED
@@ -9,7 +9,7 @@ require 'singleton'
9
9
  # versions as possible and is easy to extend. Feel free to dislike it. ;)
10
10
  class Rim
11
11
 
12
- VERSION = '2.15.0'
12
+ VERSION = '2.17.0'
13
13
 
14
14
  begin
15
15
  require 'rake/dsl_definition'
@@ -8,17 +8,30 @@ class Rim
8
8
 
9
9
  # Sample files (Ruby files) for regtest (default: <tt>REGTEST_FILES_RB</tt>)
10
10
  attr_accessor :regtest_files_rb
11
+
12
+ # Flag if task regtest is invoked before releasing this means it is a
13
+ # precondition for tasks prepare_release and release (default: <tt>true</tt>)
14
+ attr_accessor :run_regtest_before_release
11
15
  end
12
16
 
13
17
  Rim.defaults do
14
18
  regtest_files_rb ::REGTEST_FILES_RB
15
19
  regtest_files ::REGTEST_FILES
20
+ run_regtest_before_release true
16
21
  end
17
22
 
18
23
  Rim.after_setup do
19
24
  if feature_loaded? 'rim/gem'
20
25
  self.gem_files += regtest_files
21
- development_dependencies << %w(regtest ~>1.0)
26
+ unless development_dependencies.flatten.include? 'regtest'
27
+ begin
28
+ require 'regtest/version'
29
+ v = Regtest::VERSION.sub(/\.\d+(?:\.?\w+)?$/, '')
30
+ development_dependencies << %W(regtest ~>#{v})
31
+ rescue LoadError
32
+ development_dependencies << %w(regtest ~>1.0)
33
+ end
34
+ end
22
35
  end
23
36
  if regtest_files_rb != REGTEST_FILES_RB
24
37
  (::REGTEST_FILES_RB.clear << regtest_files_rb).flatten!
@@ -26,4 +39,10 @@ Rim.after_setup do
26
39
  if regtest_files != REGTEST_FILES
27
40
  (::REGTEST_FILES.clear << regtest_files).flatten!
28
41
  end
42
+ if feature_loaded? 'rim/release'
43
+ if run_regtest_before_release
44
+ task :prepare_release => :regtest
45
+ task :release => :regtest
46
+ end
47
+ end
29
48
  end
@@ -23,6 +23,7 @@ result:
23
23
  ---
24
24
  sample: rake -n gem
25
25
  result:
26
+ - "** Execute (dry run) rim.gemspec"
26
27
  - "** Execute (dry run) gem:spec"
27
28
  - "** Execute (dry run) test"
28
29
  - "** Execute (dry run) pkg"
@@ -34,6 +35,7 @@ sample: rake -n gem:push
34
35
  result:
35
36
  - "** Execute (dry run) aspell:check"
36
37
  - "** Execute (dry run) git:check"
38
+ - "** Execute (dry run) rim.gemspec"
37
39
  - "** Execute (dry run) gem:spec"
38
40
  - "** Execute (dry run) test"
39
41
  - "** Execute (dry run) pkg"
@@ -45,6 +47,7 @@ result:
45
47
  ---
46
48
  sample: rake -n gem:spec
47
49
  result:
50
+ - "** Execute (dry run) rim.gemspec"
48
51
  - "** Execute (dry run) gem:spec"
49
52
  ---
50
53
  sample: rake -n git:check
@@ -62,6 +65,7 @@ sample: rake -n git:tag
62
65
  result:
63
66
  - "** Execute (dry run) aspell:check"
64
67
  - "** Execute (dry run) git:check"
68
+ - "** Execute (dry run) rim.gemspec"
65
69
  - "** Execute (dry run) gem:spec"
66
70
  - "** Execute (dry run) test"
67
71
  - "** Execute (dry run) pkg"
@@ -78,6 +82,7 @@ result:
78
82
  ---
79
83
  sample: rake -n install
80
84
  result:
85
+ - "** Execute (dry run) rim.gemspec"
81
86
  - "** Execute (dry run) gem:spec"
82
87
  - "** Execute (dry run) test"
83
88
  - "** Execute (dry run) pkg"
@@ -89,7 +94,9 @@ result:
89
94
  sample: rake -n prepare_release
90
95
  result:
91
96
  - "** Execute (dry run) aspell:check"
97
+ - "** Execute (dry run) regtest"
92
98
  - "** Execute (dry run) test"
99
+ - "** Execute (dry run) rim.gemspec"
93
100
  - "** Execute (dry run) gem:spec"
94
101
  - "** Execute (dry run) version:check"
95
102
  - "** Execute (dry run) prepare_release"
@@ -99,6 +106,23 @@ result:
99
106
  - "** Execute (dry run) doc/created.rid"
100
107
  - "** Execute (dry run) rdoc"
101
108
  ---
109
+ sample: rake -n release
110
+ result:
111
+ - "** Execute (dry run) rim.gemspec"
112
+ - "** Execute (dry run) gem:spec"
113
+ - "** Execute (dry run) aspell:check"
114
+ - "** Execute (dry run) git:check"
115
+ - "** Execute (dry run) test"
116
+ - "** Execute (dry run) pkg"
117
+ - "** Execute (dry run) pkg/rim-x.x.x.gem"
118
+ - "** Execute (dry run) gem:build"
119
+ - "** Execute (dry run) gem"
120
+ - "** Execute (dry run) version:check"
121
+ - "** Execute (dry run) gem:push"
122
+ - "** Execute (dry run) git:tag"
123
+ - "** Execute (dry run) regtest"
124
+ - "** Execute (dry run) release"
125
+ ---
102
126
  sample: rake -n rerdoc
103
127
  result:
104
128
  - "** Execute (dry run) clobber_rdoc"
@@ -116,5 +140,6 @@ result:
116
140
  ---
117
141
  sample: rake -n version:check
118
142
  result:
143
+ - "** Execute (dry run) rim.gemspec"
119
144
  - "** Execute (dry run) gem:spec"
120
145
  - "** Execute (dry run) version:check"
@@ -62,6 +62,7 @@ result: |
62
62
  rim.gemspec
63
63
  rake prepare_release
64
64
  aspell:check
65
+ regtest
65
66
  test
66
67
  version:check
67
68
  rake rdoc
@@ -73,6 +74,7 @@ result: |
73
74
  gem:spec
74
75
  git:check
75
76
  git:tag
77
+ regtest
76
78
  test
77
79
  version:check
78
80
  rake rerdoc
@@ -105,6 +107,7 @@ result: |
105
107
  lib/rim/version.rb
106
108
  lib/rim/yard.rb
107
109
  test/test_helper_methods.rb
110
+ ./.aspell.pws
108
111
  rake test
109
112
  rake uninstall
110
113
  rake version:check
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: rim 2.15.0 ruby lib
2
+ # stub: rim 2.17.0 ruby lib
3
3
  #
4
4
  # This file is automatically generated by rim.
5
5
  # PLEASE DO NOT EDIT IT DIRECTLY!
@@ -7,12 +7,12 @@
7
7
 
8
8
  Gem::Specification.new do |s|
9
9
  s.name = "rim"
10
- s.version = "2.15.0"
10
+ s.version = "2.17.0"
11
11
 
12
12
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
13
13
  s.require_paths = ["lib"]
14
14
  s.authors = ["Jan Friedrich"]
15
- s.date = "2017-09-12"
15
+ s.date = "2017-09-20"
16
16
  s.description = "Goal is to have a project managing that just works on as many Ruby\nversions as possible and is easy to extend. Feel free to dislike it. ;)\n"
17
17
  s.email = "janfri26@gmail.com"
18
18
  s.files = ["./.aspell.pws", "Changelog", "Gemfile", "LICENSE", "README.rdoc", "Rakefile", "lib/rim", "lib/rim.rb", "lib/rim/aspell.rb", "lib/rim/check_version.rb", "lib/rim/core.rb", "lib/rim/gem.rb", "lib/rim/git.rb", "lib/rim/info.rb", "lib/rim/irb.rb", "lib/rim/pry.rb", "lib/rim/rdoc.rb", "lib/rim/regtest.rb", "lib/rim/release.rb", "lib/rim/rimrc.rb", "lib/rim/ripl.rb", "lib/rim/rspec.rb", "lib/rim/test.rb", "lib/rim/tire.rb", "lib/rim/version.rb", "lib/rim/yard.rb", "regtest/execution.rb", "regtest/execution.yml", "regtest/global_deps.rb", "regtest/global_deps.yml", "regtest/mod_deps.rb", "regtest/mod_deps.yml", "rim.gemspec", "test/test_helper_methods.rb"]
@@ -26,18 +26,18 @@ Gem::Specification.new do |s|
26
26
 
27
27
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
28
  s.add_development_dependency(%q<rake>, [">= 0"])
29
- s.add_development_dependency(%q<rim>, ["~> 2.15"])
29
+ s.add_development_dependency(%q<rim>, ["~> 2.17"])
30
30
  s.add_development_dependency(%q<test-unit>, ["~> 3"])
31
31
  s.add_development_dependency(%q<regtest>, ["~> 1.0"])
32
32
  else
33
33
  s.add_dependency(%q<rake>, [">= 0"])
34
- s.add_dependency(%q<rim>, ["~> 2.15"])
34
+ s.add_dependency(%q<rim>, ["~> 2.17"])
35
35
  s.add_dependency(%q<test-unit>, ["~> 3"])
36
36
  s.add_dependency(%q<regtest>, ["~> 1.0"])
37
37
  end
38
38
  else
39
39
  s.add_dependency(%q<rake>, [">= 0"])
40
- s.add_dependency(%q<rim>, ["~> 2.15"])
40
+ s.add_dependency(%q<rim>, ["~> 2.17"])
41
41
  s.add_dependency(%q<test-unit>, ["~> 3"])
42
42
  s.add_dependency(%q<regtest>, ["~> 1.0"])
43
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rim
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.0
4
+ version: 2.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Friedrich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-12 00:00:00.000000000 Z
11
+ date: 2017-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.15'
33
+ version: '2.17'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.15'
40
+ version: '2.17'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test-unit
43
43
  requirement: !ruby/object:Gem::Requirement