rim 2.4.0 → 2.5.0

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 +3 -0
  3. data/lib/rim/irb.rb +11 -1
  4. data/lib/rim.rb +1 -1
  5. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7398382188f216a2496ca36c57513575d1894d1
4
- data.tar.gz: d34d216b65fa2297682c27652c0df14a1f2440f0
3
+ metadata.gz: f37911de1d3e4ececee0744963942a38119f0229
4
+ data.tar.gz: 1e64a305082de5276fbc89d3e82d452869963c54
5
5
  SHA512:
6
- metadata.gz: 10583b2f28dcaa9dd66dd9f90442655e4035bc1b6f77991156c3a19a00360e5777df445bc3e10371268312bf9150d267fc312b17bca521a7af5348cafa1b08ee
7
- data.tar.gz: 5c75ac420fc777c4563edd9f3b6aab44502fe0f61474d12f77b6bf802e0f1dbcea5b2999480f498dcd6ac96ba12cf6bb7444a169d08eb227f17452f8a410d37f
6
+ metadata.gz: f7a30cb7f03b57de93786e5b0d46b0ddc1d94a887d7c3f564246b80ee77dbfc69dbc6ec46305026751a4d89f8acf7d13438a58b2d70ceab845b20e9f016e4c03
7
+ data.tar.gz: ffcf39c0734e488c1fc47bbfa0c310dff11236fc4eca5689864d3eb4346b856e869253957edb5980572efc3ad118cae8f4af145ac0561bd1d08ce22789e4dbeb
data/Changelog CHANGED
@@ -1,3 +1,6 @@
1
+ 2.5.0
2
+ New option irb_requires
3
+
1
4
  2.4.0
2
5
  New Tasks: rspec and yard.
3
6
  Move checking dependencies from gem to gem:push to allow easy local
data/lib/rim/irb.rb CHANGED
@@ -1,8 +1,18 @@
1
1
  # -- encoding: utf-8 --
2
+ class Rim
3
+ # Required files for irb (default: Rim#name)
4
+ attr_accessor :irb_requires
5
+ end
6
+
7
+ Rim.defaults do
8
+ irb_requires name
9
+ end
10
+
2
11
  Rim.after_setup do
3
12
  desc 'Start an irb session and loading lib'
4
13
  task :irb do
5
14
  i_params = Array(require_paths).map {|e| '-I ' << e}.join(' ')
6
- sh "irb #{i_params} -r #{name}"
15
+ r_params = Array(irb_requires).map {|e| '-r' << e}.join(' ')
16
+ sh "irb #{i_params} #{r_params}"
7
17
  end
8
18
  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.4.0'
12
+ VERSION = '2.5.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.4.0
4
+ version: 2.5.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-31 00:00:00.000000000 Z
11
+ date: 2015-03-27 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.4'
19
+ version: '2.5'
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.4'
26
+ version: '2.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: regtest
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.2.2
96
+ rubygems_version: 2.4.5
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: A simple project / gem manager