active_wrapper 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -3,7 +3,11 @@ require File.dirname(__FILE__) + '/lib/active_wrapper/gems'
3
3
  ActiveWrapper::Gems.activate %w(rake rspec)
4
4
 
5
5
  require 'rake'
6
- require 'spec/rake/spectask'
6
+
7
+ begin
8
+ require 'spec/rake/spectask'
9
+ rescue Exception => e
10
+ end
7
11
 
8
12
  def gemspec
9
13
  @gemspec ||= begin
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.add_development_dependency g.to_s, ActiveWrapper::Gems.versions[g]
26
26
  end
27
27
 
28
- s.executables = `cd #{root} && git ls-files -- {bin}/*`.split("\n").collect { |f| File.basename(f) }
28
+ s.executables = `cd #{root} && git ls-files bin/*`.split("\n").collect { |f| File.basename(f) }
29
29
  s.files = `cd #{root} && git ls-files`.split("\n")
30
30
  s.require_paths = %w(lib)
31
31
  s.test_files = `cd #{root} && git ls-files -- {features,test,spec}/*`.split("\n")
data/config/gemspec.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  name: active_wrapper
2
- version: 0.4.4
2
+ version: 0.4.5
3
3
  authors:
4
4
  - Winton Welsh
5
5
  email: mail@wintoni.us
@@ -36,15 +36,20 @@ unless defined?(ActiveWrapper::Gems)
36
36
 
37
37
  self.gemset ||= gemset_from_loaded_specs
38
38
 
39
- gems.flatten.collect(&:to_sym).each do |name|
39
+ gems.flatten.collect { |g| g.to_sym }.each do |name|
40
40
  version = @versions[name]
41
41
  vendor = File.expand_path("../../../vendor/#{name}/lib", __FILE__)
42
+ warning = "#{name} #{"(#{version})" if version} failed to activate"
42
43
  if File.exists?(vendor)
43
44
  $:.unshift vendor
44
45
  elsif defined?(gem)
45
- gem name.to_s, version
46
+ begin
47
+ gem name.to_s, version
48
+ rescue Exception => e
49
+ puts warning if @config.warn
50
+ end
46
51
  else
47
- puts "#{name} #{"(#{version})" if version} failed to activate" if @config.warn
52
+ puts warning if @config.warn
48
53
  end
49
54
  end
50
55
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 5
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 4
8
- - 4
9
- version: 0.4.4
9
+ - 5
10
+ version: 0.4.5
10
11
  platform: ruby
11
12
  authors:
12
13
  - Winton Welsh
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-01-09 00:00:00 -08:00
18
+ date: 2011-04-06 00:00:00 -07:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ~>
27
28
  - !ruby/object:Gem::Version
29
+ hash: 7
28
30
  segments:
29
31
  - 3
30
32
  - 0
@@ -39,6 +41,7 @@ dependencies:
39
41
  requirements:
40
42
  - - ">="
41
43
  - !ruby/object:Gem::Version
44
+ hash: 49
42
45
  segments:
43
46
  - 0
44
47
  - 8
@@ -54,6 +57,7 @@ dependencies:
54
57
  requirements:
55
58
  - - ~>
56
59
  - !ruby/object:Gem::Version
60
+ hash: 15
57
61
  segments:
58
62
  - 1
59
63
  - 0
@@ -106,6 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
110
  requirements:
107
111
  - - ">="
108
112
  - !ruby/object:Gem::Version
113
+ hash: 3
109
114
  segments:
110
115
  - 0
111
116
  version: "0"
@@ -114,13 +119,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
119
  requirements:
115
120
  - - ">="
116
121
  - !ruby/object:Gem::Version
122
+ hash: 3
117
123
  segments:
118
124
  - 0
119
125
  version: "0"
120
126
  requirements: []
121
127
 
122
128
  rubyforge_project:
123
- rubygems_version: 1.3.7
129
+ rubygems_version: 1.4.2
124
130
  signing_key:
125
131
  specification_version: 3
126
132
  summary: Wraps ActiveRecord and Logger for use in non-Rails environments