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 +4 -4
- data/Changelog +5 -0
- data/lib/rim/git.rb +1 -1
- data/lib/rim/rspec.rb +28 -0
- data/lib/rim/test.rb +1 -1
- data/lib/rim/version.rb +1 -1
- data/lib/rim/yard.rb +6 -0
- data/lib/rim.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7398382188f216a2496ca36c57513575d1894d1
|
4
|
+
data.tar.gz: d34d216b65fa2297682c27652c0df14a1f2440f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10583b2f28dcaa9dd66dd9f90442655e4035bc1b6f77991156c3a19a00360e5777df445bc3e10371268312bf9150d267fc312b17bca521a7af5348cafa1b08ee
|
7
|
+
data.tar.gz: 5c75ac420fc777c4563edd9f3b6aab44502fe0f61474d12f77b6bf802e0f1dbcea5b2999480f498dcd6ac96ba12cf6bb7444a169d08eb227f17452f8a410d37f
|
data/Changelog
CHANGED
data/lib/rim/git.rb
CHANGED
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
data/lib/rim/version.rb
CHANGED
data/lib/rim/yard.rb
ADDED
data/lib/rim.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
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
|