little-plugger 1.1.0 → 1.1.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/History.txt +5 -0
  2. data/Rakefile +3 -2
  3. data/lib/little-plugger.rb +2 -2
  4. metadata +13 -3
@@ -1,3 +1,8 @@
1
+ == 1.1.1 / 2009-11-08
2
+
3
+ * 1 bug fix
4
+ * Catching script errors and standard errors when loading plugins
5
+
1
6
  == 1.1.0 / 2009-11-04
2
7
 
3
8
  * 2 minor enhancements
data/Rakefile CHANGED
@@ -2,13 +2,14 @@
2
2
  begin
3
3
  require 'bones'
4
4
  rescue LoadError
5
- raise RuntimeError, '### please install the "bones" gem ###'
5
+ abort '### please install the "bones" gem ###'
6
6
  end
7
7
 
8
8
  ensure_in_path 'lib'
9
9
  require 'little-plugger'
10
10
 
11
11
  task :default => 'spec:specdoc'
12
+ task 'gem:release' => 'spec:run'
12
13
 
13
14
  Bones.disregard_plugin :rubyforge
14
15
  Bones {
@@ -17,7 +18,6 @@ Bones {
17
18
  email 'tim.pease@gmail.com'
18
19
  url 'http://gemcutter.org/gems/little-plugger'
19
20
  version LittlePlugger::VERSION
20
- exclude << 'little-plugger.gemspec'
21
21
  readme_file 'README.rdoc'
22
22
  ignore_file '.gitignore'
23
23
 
@@ -27,6 +27,7 @@ Bones {
27
27
  enable_sudo
28
28
 
29
29
  depend_on 'rspec', :development => true
30
+ depend_on 'bones-git', :development => true
30
31
  depend_on 'bones-extras', :development => true
31
32
  }
32
33
 
@@ -110,7 +110,7 @@
110
110
  #
111
111
  module LittlePlugger
112
112
 
113
- VERSION = '1.1.0' # :nodoc:
113
+ VERSION = '1.1.1' # :nodoc:
114
114
 
115
115
  # Returns the version string for the library.
116
116
  #
@@ -199,7 +199,7 @@ module LittlePlugger
199
199
  next if @loaded[name]
200
200
  begin
201
201
  @loaded[name] = load path
202
- rescue LoadError => err
202
+ rescue ScriptError, StandardError => err
203
203
  warn "Error loading #{path.inspect}: #{err.message}. skipping..."
204
204
  end
205
205
  }.any?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: little-plugger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-04 00:00:00 -07:00
12
+ date: 2009-11-08 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -23,7 +23,7 @@ dependencies:
23
23
  version: 1.2.8
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
- name: bones-extras
26
+ name: bones-git
27
27
  type: :development
28
28
  version_requirement:
29
29
  version_requirements: !ruby/object:Gem::Requirement
@@ -32,6 +32,16 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.0.0
34
34
  version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: bones-extras
37
+ type: :development
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 1.0.1
44
+ version:
35
45
  - !ruby/object:Gem::Dependency
36
46
  name: bones
37
47
  type: :development