rim 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Changelog +3 -0
  2. data/lib/rim.rb +1 -1
  3. data/lib/rim/test.rb +5 -0
  4. metadata +33 -35
data/Changelog CHANGED
@@ -1,3 +1,6 @@
1
+ 1.6.1
2
+ New option test_reqiure_paths for test task.
3
+
1
4
  1.6.0
2
5
  New task: pry
3
6
 
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 = '1.6.0'
12
+ VERSION = '1.6.1'
13
13
 
14
14
  begin
15
15
  require 'rake/dsl_definition'
data/lib/rim/test.rb CHANGED
@@ -2,10 +2,14 @@
2
2
  class Rim
3
3
  # Test files (default: <code>'test/\*\*/\*.rb')</code>
4
4
  attr_accessor :test_files
5
+
6
+ # Require dirs for tests (default: <code>%w(lib test)</code>)
7
+ attr_accessor :test_require_paths
5
8
  end
6
9
 
7
10
  Rim.defaults do
8
11
  test_files filelist('test/**/*.rb')
12
+ test_require_paths %w(lib test)
9
13
  end
10
14
 
11
15
  Rim.after_setup do
@@ -13,6 +17,7 @@ Rim.after_setup do
13
17
  require 'rake/testtask'
14
18
  Rake::TestTask.new do |t|
15
19
  t.test_files = test_files
20
+ t.libs << test_require_paths
16
21
  end
17
22
  task :default => :test
18
23
  end
metadata CHANGED
@@ -1,40 +1,42 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rim
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.1
4
5
  prerelease:
5
- version: 1.6.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Jan Friedrich
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-06-04 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-06-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: rim
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
18
+ requirements:
21
19
  - - ~>
22
- - !ruby/object:Gem::Version
23
- version: 1.6.0
20
+ - !ruby/object:Gem::Version
21
+ version: 1.6.1
24
22
  type: :development
25
- version_requirements: *id001
26
- description: |
27
- Goal is to have a project managing that just works on many Ruby
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.6.1
30
+ description: ! 'Goal is to have a project managing that just works on many Ruby
31
+
28
32
  versions as possible and is easy to extend. Feel free to dislike it. ;)
29
33
 
34
+ '
30
35
  email: janfri26@gmail.com
31
36
  executables: []
32
-
33
37
  extensions: []
34
-
35
38
  extra_rdoc_files: []
36
-
37
- files:
39
+ files:
38
40
  - README.rdoc
39
41
  - Changelog
40
42
  - LICENSE
@@ -56,30 +58,26 @@ files:
56
58
  - test/test_helper_methods.rb
57
59
  homepage: http://gitorious.org/rim
58
60
  licenses: []
59
-
60
61
  post_install_message:
61
62
  rdoc_options: []
62
-
63
- require_paths:
63
+ require_paths:
64
64
  - lib
65
- required_ruby_version: !ruby/object:Gem::Requirement
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  none: false
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: "0"
71
- required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
77
  requirements: []
78
-
79
78
  rubyforge_project:
80
79
  rubygems_version: 1.8.23
81
80
  signing_key:
82
81
  specification_version: 3
83
82
  summary: A simple project / gem manager
84
83
  test_files: []
85
-