brice 0.2.7 → 0.2.8

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: 81717cf047b6afd08d1cb17b42f565add7b6dd6b
4
- data.tar.gz: ebacf76e138a3814df59373f36cd7ec67b498afd
3
+ metadata.gz: 17a8fb5226397ca8922e81decc7ac9257a2f55b2
4
+ data.tar.gz: b982e783401e4135050b3c9a050cb4a6886b4d36
5
5
  SHA512:
6
- metadata.gz: f22d00dabb90fca711a6e6eb3f3f2490f9ce723fb47cb5ebf50faabd4cc9ae24846dec66cdbac38f6b1929ead06ab15cdd9d03d68fa277300dbf44477520e2ef
7
- data.tar.gz: cfdf639c8d90a7a6fdced81bb8acb4d98e5aefac8c758aa301c0e5d9dee7c8c47b6fe631f17676fecaf95e546a0d4a0f0975fac8bc04d579c1799e7be642eddb
6
+ metadata.gz: 3ea3bf6fdbd2e9e78a4d007d648e0bd708fdaed2738ffd335dd1c17a91552a84743b5c0cde32effe076c517844bf9ebbc9d23f87c002514398ffe1907c4f10e7
7
+ data.tar.gz: 6e36c1b51e274c1b804cfbc0806530cb2aa0d80277248c723bfecaa54dd66a399ba1c0cd59fe95b999aeabf5f1b163f308ae8f9033e18df58ab238364845c225
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to brice version 0.2.7
5
+ This documentation refers to brice version 0.2.8
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -65,9 +65,9 @@ guaranteed to have any effect after <tt>Brice.init</tt> has been called.
65
65
  == LINKS
66
66
 
67
67
  <b></b>
68
- Documentation:: http://prometheus.rubyforge.org/brice
69
- Source code:: http://github.com/blackwinter/brice
70
- RubyForge project:: http://rubyforge.org/projects/prometheus
68
+ Documentation:: http://blackwinter.github.com/brice
69
+ Source code:: http://github.com/blackwinter/brice
70
+ RubyGem:: http://rubygems.org/gems/brice
71
71
 
72
72
 
73
73
  == AUTHORS
data/Rakefile CHANGED
@@ -4,16 +4,13 @@ begin
4
4
  require 'hen'
5
5
 
6
6
  Hen.lay! {{
7
- :rubyforge => {
8
- :project => %q{prometheus},
9
- :package => %q{brice}
10
- },
11
-
12
7
  :gem => {
8
+ :name => %q{brice},
13
9
  :version => Brice::VERSION,
14
10
  :summary => %q{Extra cool IRb goodness for the masses},
15
11
  :author => %q{Jens Wille},
16
12
  :email => %q{jens.wille@gmail.com},
13
+ :homepage => :blackwinter,
17
14
  :dependencies => [['ruby-nuggets', '>= 0.5.2']]
18
15
  }
19
16
  }}
data/lib/brice/dsl.rb CHANGED
@@ -74,19 +74,21 @@ module Brice
74
74
  res = send(what, *args)
75
75
 
76
76
  block_given? ? yield : res
77
- rescue Exception => err
78
- raise unless err.is_a?(error)
79
-
80
- unless quiet
81
- # FIXME: ideally, we'd want the __FILE__ and __LINE__ of the
82
- # rc file where the error occurred.
83
- location = caller.find { |c| c !~ %r{(?:\A|/)lib/brice[/.]} }
84
- warn "#{err.class}: #{err} [#{location}]"
85
-
86
- warn err.backtrace.map { |line|
87
- " from #{line}"
88
- }.join("\n") if Brice.verbose
89
- end
77
+ rescue error => err
78
+ return if quiet
79
+
80
+ # ideally, we'd want the __FILE__ and __LINE__
81
+ # of the rc file where the error occurred.
82
+ location = caller.find { |c|
83
+ c =~ %r{(?:\A|/)lib/brice/rc/} ||
84
+ c !~ %r{(?:\A|/)lib/brice[/.]}
85
+ }
86
+
87
+ warn "#{err.class}: #{err} [#{location}]"
88
+
89
+ warn err.backtrace.map { |line|
90
+ " from #{line}"
91
+ }.join("\n") if Brice.verbose
90
92
  end
91
93
 
92
94
  # call-seq:
@@ -10,7 +10,6 @@ brice 'libs' => nil do |config|
10
10
  yaml
11
11
  tempfile
12
12
  benchmark
13
- backports
14
13
  what_methods
15
14
  irb/completion
16
15
  ].each { |lib| brice_require lib, true }
data/lib/brice/version.rb CHANGED
@@ -4,7 +4,7 @@ module Brice
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 2
7
- TINY = 7
7
+ TINY = 8
8
8
 
9
9
  class << self
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-18 00:00:00.000000000 Z
11
+ date: 2013-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-nuggets
@@ -60,7 +60,7 @@ files:
60
60
  - spec/brice/history_spec.rb
61
61
  - spec/spec_helper.rb
62
62
  - .rspec
63
- homepage: http://prometheus.rubyforge.org/brice
63
+ homepage: http://github.com/blackwinter/brice
64
64
  licenses: []
65
65
  metadata: {}
66
66
  post_install_message:
@@ -70,7 +70,7 @@ rdoc_options:
70
70
  - --line-numbers
71
71
  - --all
72
72
  - --title
73
- - brice Application documentation (v0.2.7)
73
+ - brice Application documentation (v0.2.8)
74
74
  - --main
75
75
  - README
76
76
  require_paths:
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
- rubyforge_project: prometheus
89
+ rubyforge_project:
90
90
  rubygems_version: 2.0.3
91
91
  signing_key:
92
92
  specification_version: 4