rim 2.8.2 → 2.9.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: 6a4eb45c0e13ef020b302daa7147e221be48d0a7
4
- data.tar.gz: ac0b031a740c34f4eb17b156531eeb7263c5f382
3
+ metadata.gz: 5a645fecdc79eec44cf194c8ecf5d4ce221b7774
4
+ data.tar.gz: c1a1aa763debfb244888da0619fcba9ebfb81854
5
5
  SHA512:
6
- metadata.gz: 51c2d645c90fadd98a089b6606c545123d388f70fde1e27545399d7d0cceb894045ba891c70094bf7ebfc919a0668fef1b61a5c6300ace9adc96d68e0e92f515
7
- data.tar.gz: c4de64492d5066a6191f09c4e981a753931b3a7aed9445c22639eed1941153da861f2db2b79cccfe9cf0010aa6c27dd1a24baa2bf29dce311390db40eeacc91f
6
+ metadata.gz: 687477b1a896db36b7c72555be083e3d87be5c80259c4bdd1e4f0cf33dcf279abcffb9686a1d1a6b17c66969d5ec7061006d0e244364df3bc5d89c448c8fb26f
7
+ data.tar.gz: 638b7105a7f9fed1eaf206d6990bb04c7a4c3e1f920393212280942aeee9d09892c13c1fa0c88f5d464b4e951650847b60591b8082b1a508535cf585c55ef51b
data/Changelog CHANGED
@@ -1,3 +1,7 @@
1
+ 2.9.0
2
+ New task: prepare_release.
3
+ Bugfix: Setting default value for irb_requires.
4
+
1
5
  2.8.2
2
6
  Bugfix: Setting defaults in irb.
3
7
 
data/lib/rim/aspell.rb CHANGED
@@ -48,6 +48,7 @@ Rim.after_setup do
48
48
  task 'git:check' => 'aspell:check'
49
49
  end
50
50
  if feature_loaded? 'rim/release'
51
+ task :prepare_release => 'aspell:check'
51
52
  task :release => 'aspell:check'
52
53
  end
53
54
  end
@@ -7,6 +7,7 @@ Rim.after_setup do
7
7
  task :gem => 'version:check'
8
8
  end
9
9
  if feature_loaded? 'rim/release'
10
+ task :prepare_release => 'version:check'
10
11
  task :release => 'version:check'
11
12
  end
12
13
  end
data/lib/rim/irb.rb CHANGED
@@ -4,8 +4,10 @@ class Rim
4
4
  attr_accessor :irb_requires
5
5
  end
6
6
 
7
- Rim.defaults do
8
- irb_requires name
7
+ # Use Rim.after_setup because name in not yet set
8
+ # in Rim.defaults
9
+ Rim.after_setup do |r|
10
+ r.irb_requires ||= r.name
9
11
  end
10
12
 
11
13
  Rim.after_setup do
data/lib/rim/release.rb CHANGED
@@ -1,6 +1,8 @@
1
+ # -- encoding: utf-8 --
1
2
  Rim.after_setup do
2
3
  if version
3
4
  desc "Release version #{version}"
4
5
  end
6
+ task :prepare_release
5
7
  task :release
6
8
  end
data/lib/rim/rspec.rb CHANGED
@@ -22,6 +22,7 @@ Rim.after_setup do
22
22
  task :gem => :rspec
23
23
  end
24
24
  if feature_loaded? 'rim/release'
25
+ task :prepare_release => :rspec
25
26
  task :release => :rspec
26
27
  end
27
28
  end
data/lib/rim/test.rb CHANGED
@@ -35,6 +35,7 @@ Rim.after_setup do
35
35
  task :gem => :test
36
36
  end
37
37
  if feature_loaded? 'rim/release'
38
+ task :prepare_release => :test
38
39
  task :release => :test
39
40
  end
40
41
  end
data/lib/rim/version.rb CHANGED
@@ -36,11 +36,17 @@ Rim.after_setup do
36
36
  fail "More than one version information in #{gemspec_file}"
37
37
  end
38
38
  end
39
+
40
+ if feature_loaded? 'rim/release'
41
+ task :check => 'gem:spec'
42
+ end
43
+
39
44
  end
40
45
  if feature_loaded? 'rim/gem'
41
46
  task 'gem:push' => 'version:check'
42
47
  end
43
48
  if feature_loaded? 'rim/release'
49
+ task :prepare_release => 'version:check'
44
50
  task :release => 'version:check'
45
51
  end
46
52
  end
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.8.2'
12
+ VERSION = '2.9.0'
13
13
 
14
14
  begin
15
15
  require 'rake/dsl_definition'
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.8.2
4
+ version: 2.9.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: 2016-06-08 00:00:00.000000000 Z
11
+ date: 2016-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rim
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.8'
19
+ version: '2.9'
20
20
  type: :development
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: '2.8'
26
+ version: '2.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: regtest
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -101,3 +101,4 @@ signing_key:
101
101
  specification_version: 4
102
102
  summary: A simple project / gem manager
103
103
  test_files: []
104
+ has_rdoc: