rim 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Changelog +4 -0
  3. data/lib/rim.rb +1 -1
  4. data/lib/rim/gem.rb +4 -2
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba3a64044bed81c4ba9e3f046fe85623fc9633b1
4
- data.tar.gz: 8e3b38db48ed26354d0c5b9c2faed5c76fec4de0
3
+ metadata.gz: 303bf2e29cb506d66d000b5f241734a9969fc82e
4
+ data.tar.gz: a3f73bfcddc413dd62831c1c48c9d0834513f514
5
5
  SHA512:
6
- metadata.gz: e4f98cd6f7d5367d30fab3899d7aceef972dbe807f677b38a3711c15cd4b5035b70b1cfe3534f5365b2b1db1050f21d03850831bfe75d140e86c6af6d7867c4f
7
- data.tar.gz: 13bdfc0af503ea6f00bc908bdcff856c5e95abf7f6f92d76cf8e936c5ab6c38340bc7b3f79ef1c8c473abf0001eb9dd18e297c8c305dfe951f07e5f3e41b3e96
6
+ metadata.gz: f87d304a9d40827c247593ebfc6da8c5bd607d57530b45e9cdefaac2e5796b1a6416eddfcbabf92258d9890e6c765f4e5fefa5dba3f8c12d5ff6c87f4f6c53c5
7
+ data.tar.gz: 47cb17010a8f2b9401410af926e73ba622576d519323ceb179224b32f3676d6689ea8163fa5ac17f3bddfc68ce9ff255b1c71cd2024d5b227bef0a6a397c3af6
data/Changelog CHANGED
@@ -1,3 +1,7 @@
1
+ 2.3.1
2
+ Build gem file only if necessary.
3
+ Bugfix: Add pkg dir to CLOBBER only if it exists.
4
+
1
5
  2.3.0
2
6
  Complete rewrite of gem specific tasks to make them lazy.
3
7
  New option Rim#regtest_files.
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.3.0'
12
+ VERSION = '2.3.1'
13
13
 
14
14
  begin
15
15
  require 'rake/dsl_definition'
@@ -41,7 +41,7 @@ Rim.defaults do
41
41
  end
42
42
 
43
43
  directory 'pkg'
44
- CLOBBER << 'pkg'
44
+ CLOBBER.include(FileList['pkg'].existing)
45
45
 
46
46
 
47
47
  Rim.after_setup do
@@ -55,7 +55,7 @@ Rim.after_setup do
55
55
 
56
56
  namespace :gem do
57
57
 
58
- task :build => 'pkg' do
58
+ file gem_file => ['pkg', gem_files].flatten do
59
59
  spec = Gem::Specification.new do |s|
60
60
  s.authors = authors
61
61
  s.email = email
@@ -82,6 +82,8 @@ Rim.after_setup do
82
82
  mv File.basename(gem_file), 'pkg'
83
83
  end
84
84
 
85
+ task :build => gem_file
86
+
85
87
  desc "Push the gem #{name} version #{version} to rubygems.org"
86
88
  task :push => :gem do
87
89
  sh "gem push #{gem_file}"
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.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Friedrich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-24 00:00:00.000000000 Z
11
+ date: 2014-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rim