rim 2.3.1 → 2.4.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: 303bf2e29cb506d66d000b5f241734a9969fc82e
4
- data.tar.gz: a3f73bfcddc413dd62831c1c48c9d0834513f514
3
+ metadata.gz: b7398382188f216a2496ca36c57513575d1894d1
4
+ data.tar.gz: d34d216b65fa2297682c27652c0df14a1f2440f0
5
5
  SHA512:
6
- metadata.gz: f87d304a9d40827c247593ebfc6da8c5bd607d57530b45e9cdefaac2e5796b1a6416eddfcbabf92258d9890e6c765f4e5fefa5dba3f8c12d5ff6c87f4f6c53c5
7
- data.tar.gz: 47cb17010a8f2b9401410af926e73ba622576d519323ceb179224b32f3676d6689ea8163fa5ac17f3bddfc68ce9ff255b1c71cd2024d5b227bef0a6a397c3af6
6
+ metadata.gz: 10583b2f28dcaa9dd66dd9f90442655e4035bc1b6f77991156c3a19a00360e5777df445bc3e10371268312bf9150d267fc312b17bca521a7af5348cafa1b08ee
7
+ data.tar.gz: 5c75ac420fc777c4563edd9f3b6aab44502fe0f61474d12f77b6bf802e0f1dbcea5b2999480f498dcd6ac96ba12cf6bb7444a169d08eb227f17452f8a410d37f
data/Changelog CHANGED
@@ -1,3 +1,8 @@
1
+ 2.4.0
2
+ New Tasks: rspec and yard.
3
+ Move checking dependencies from gem to gem:push to allow easy local
4
+ installation of newer versions.
5
+
1
6
  2.3.1
2
7
  Build gem file only if necessary.
3
8
  Bugfix: Add pkg dir to CLOBBER only if it exists.
data/lib/rim/git.rb CHANGED
@@ -32,7 +32,7 @@ Rim.after_setup do
32
32
  end
33
33
  end
34
34
  if feature_loaded? 'rim/gem'
35
- task :gem => 'git:check'
35
+ task 'gem:push' => 'git:check'
36
36
  task 'git:tag' => 'gem:push'
37
37
  end
38
38
  if feature_loaded? 'rim/release'
data/lib/rim/rspec.rb ADDED
@@ -0,0 +1,28 @@
1
+ # -- encoding: utf-8 --
2
+ class Rim
3
+ # RSpec files (default: <code>'spec/**/*.rb')</code>
4
+ attr_accessor :rspec_files
5
+
6
+ # Require dirs for tests (default: <code>%w(lib spec)</code>)
7
+ attr_accessor :rspec_require_paths
8
+ end
9
+
10
+ Rim.defaults do
11
+ rspec_files filelist('spec/**/*.rb')
12
+ rspec_require_paths %w(lib spec)
13
+ end
14
+
15
+ Rim.after_setup do
16
+ unless Array(rspec_files).empty?
17
+ task :rspec do
18
+ sh "rspec -I #{rspec_require_paths.join(':')} #{rspec_files}"
19
+ end
20
+ task :default => :rspec
21
+ if feature_loaded? 'rim/gem'
22
+ task :gem => :rspec
23
+ end
24
+ if feature_loaded? 'rim/release'
25
+ task :release => :rspec
26
+ end
27
+ end
28
+ end
data/lib/rim/test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # -- encoding: utf-8 --
2
2
  class Rim
3
- # Test files (default: <code>'test/\*\*/\*.rb')</code>
3
+ # Test files (default: <code>'test/**/*.rb')</code>
4
4
  attr_accessor :test_files
5
5
 
6
6
  # Require dirs for tests (default: <code>%w(lib test)</code>)
data/lib/rim/version.rb CHANGED
@@ -17,7 +17,7 @@ Rim.after_setup do
17
17
  end
18
18
  end
19
19
  if feature_loaded? 'rim/gem'
20
- task :gem => 'version:check'
20
+ task 'gem:push' => 'version:check'
21
21
  end
22
22
  if feature_loaded? 'rim/release'
23
23
  task :release => 'version:check'
data/lib/rim/yard.rb ADDED
@@ -0,0 +1,6 @@
1
+ # -- encoding: utf-8 --
2
+ CLEAN.include(FileList['.yardoc'].existing)
3
+ CLOBBER.include(FileList['doc'].existing)
4
+ task :yard do
5
+ sh 'yard'
6
+ 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.3.1'
12
+ VERSION = '2.4.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.3.1
4
+ version: 2.4.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: 2014-03-25 00:00:00.000000000 Z
11
+ date: 2014-03-31 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.3'
19
+ version: '2.4'
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.3'
26
+ version: '2.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: regtest
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -64,9 +64,11 @@ files:
64
64
  - lib/rim/release.rb
65
65
  - lib/rim/rimrc.rb
66
66
  - lib/rim/ripl.rb
67
+ - lib/rim/rspec.rb
67
68
  - lib/rim/test.rb
68
69
  - lib/rim/tire.rb
69
70
  - lib/rim/version.rb
71
+ - lib/rim/yard.rb
70
72
  - regtest/execution.rb
71
73
  - regtest/global_deps.rb
72
74
  - regtest/mod_deps.rb