brice 0.4.0 → 0.4.1

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: d96bffd26231c8896400dfbc6f7ba78abfd71fe1
4
- data.tar.gz: 08437c2a60a49448f72b0175653164708afdbc54
3
+ metadata.gz: ddba70d209c217914a89b04cabb534d265361553
4
+ data.tar.gz: 301300658dfad33b7bc0c8ec3c476333ba311656
5
5
  SHA512:
6
- metadata.gz: f551999b288415c4d70c87bf3c9591d150f1ac7059e7b3546689b9a9f53cfd53590a54011daed0b3cbff1e174e22baf1630b742764e95a612e2baffc80a930dc
7
- data.tar.gz: 71cd29a11628b99ca99cf286109ef017d28b6647edff9a1aca741a21ab64731f5437f1164469b0c571755b8abb2aff7ef158facd189a16c817e1a8aac3af90cd
6
+ metadata.gz: b37341fda49b517f99dfe9a4b0c752df4b5e594ccdc8f09c5fcee672bb8fb516918849c6c75a39ab96f809cdeeed477c70ea1003bceeb729005d3afe39ec755f
7
+ data.tar.gz: fc851d3cb88d455fa4926722e960aa67a38d532c95dd88f744431319f7dcb210d3a2e99c9e81a915b944cf7799913308ac4b4e650dba0d2a43df5315216d6927
data/ChangeLog CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  = Revision history for brice
4
4
 
5
+ == 0.4.1 [2016-03-29]
6
+
7
+ * To mark default packages as optional, use underscore in addition to question
8
+ mark, since the latter is not supported on Windows file systems (issue #10
9
+ by Hovis Biddle).
10
+
5
11
  == 0.4.0 [2014-10-31]
6
12
 
7
13
  * Require at least Ruby 1.9.3.
data/README CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to brice version 0.4.0
5
+ This documentation refers to brice version 0.4.1
6
6
 
7
7
 
8
8
  == DESCRIPTION
@@ -75,7 +75,7 @@ Travis CI:: https://travis-ci.org/blackwinter/brice
75
75
 
76
76
  == LICENSE AND COPYRIGHT
77
77
 
78
- Copyright (C) 2008-2014 Jens Wille
78
+ Copyright (C) 2008-2016 Jens Wille
79
79
 
80
80
  brice is free software: you can redistribute it and/or modify it under the
81
81
  terms of the GNU Affero General Public License as published by the Free
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ begin
12
12
  email: %q{jens.wille@gmail.com},
13
13
  license: %q{AGPL-3.0},
14
14
  homepage: :blackwinter,
15
- dependencies: %w[nuggets],
15
+ dependencies: { nuggets: '~> 1.4' },
16
16
 
17
17
  required_ruby_version: '>= 1.9.3'
18
18
  }
@@ -3,7 +3,7 @@
3
3
  # #
4
4
  # brice -- Extra cool IRb goodness for the masses #
5
5
  # #
6
- # Copyright (C) 2008-2014 Jens Wille #
6
+ # Copyright (C) 2008-2016 Jens Wille #
7
7
  # #
8
8
  # Authors: #
9
9
  # Jens Wille <jens.wille@gmail.com> #
@@ -61,7 +61,7 @@ module Brice
61
61
 
62
62
  packages = rc_files(true).map { |rc|
63
63
  File.basename(rc, '.rb').sub(/\A\d+_/, '')
64
- }.reject { |rc| rc.end_with?('?') }
64
+ }.reject { |rc| rc.end_with?('?') || rc.end_with?('_') }
65
65
 
66
66
  warn "Default packages: #{packages.join(', ')}" if verbose
67
67
 
@@ -195,7 +195,8 @@ module Brice
195
195
  }
196
196
 
197
197
  res
198
- rescue
198
+ rescue => err
199
+ warn "#{err.backtrace.first}: #{err} (#{err.class})"
199
200
  str
200
201
  end
201
202
 
@@ -283,7 +284,7 @@ module Brice
283
284
  when '>' then yield :refers, '=>' if last_char == '='
284
285
  when '.' then yield :range, '..' if last_char == '.'
285
286
  when '=' then nil
286
- else yield :unknown, char
287
+ else yield :unknown, char if char
287
288
  end
288
289
  when :symbol
289
290
  if char =~ /[a-z0-9_!?]/ # should have =, but that messes up foo=>bar
@@ -4,7 +4,7 @@ module Brice
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 4
7
- TINY = 0
7
+ TINY = 1
8
8
 
9
9
  class << self
10
10
 
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Wille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-31 00:00:00.000000000 Z
11
+ date: 2016-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nuggets
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '1.4'
20
20
  type: :runtime
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: '0'
26
+ version: '1.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: hen
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0.8'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 0.8.0
36
+ version: 0.8.3
37
37
  type: :development
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0.8'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 0.8.0
46
+ version: 0.8.3
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -93,7 +93,7 @@ files:
93
93
  - lib/brice/history.rb
94
94
  - lib/brice/init.rb
95
95
  - lib/brice/loud.rb
96
- - lib/brice/rc/010_added_methods?.rb
96
+ - lib/brice/rc/010_added_methods_.rb
97
97
  - lib/brice/rc/020_libs.rb
98
98
  - lib/brice/rc/030_history.rb
99
99
  - lib/brice/rc/040_colours.rb
@@ -113,15 +113,15 @@ licenses:
113
113
  metadata: {}
114
114
  post_install_message: |2+
115
115
 
116
- brice-0.4.0 [2014-10-31]:
116
+ brice-0.4.1 [2016-03-29]:
117
117
 
118
- * Require at least Ruby 1.9.3.
119
- * Only set prompt if left at default.
120
- * Default package +added_methods+ now optional.
118
+ * To mark default packages as optional, use underscore in addition to question
119
+ mark, since the latter is not supported on Windows file systems (issue #10
120
+ by Hovis Biddle).
121
121
 
122
122
  rdoc_options:
123
123
  - "--title"
124
- - brice Application documentation (v0.4.0)
124
+ - brice Application documentation (v0.4.1)
125
125
  - "--charset"
126
126
  - UTF-8
127
127
  - "--line-numbers"
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  version: '0'
143
143
  requirements: []
144
144
  rubyforge_project:
145
- rubygems_version: 2.4.2
145
+ rubygems_version: 2.6.2
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Extra cool IRb goodness for the masses