outback 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ *0.0.12 (August 16, 2012)*
2
+
3
+ * Fix warning caused by methodphitamine.rb
4
+ * Require at least Ruby 1.9.1
5
+
1
6
  *0.0.11 (March 26, 2012)*
2
7
 
3
8
  * Fix broken tar call, which ignored exclude option
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.11
1
+ 0.0.12
@@ -4,10 +4,10 @@ module Kernel
4
4
  alias its it
5
5
  end
6
6
 
7
- class It
8
-
9
- undef_method(*(instance_methods - ['__id__', '__send__', :__id__, :__send__]))
10
-
7
+ class It < BasicObject
8
+
9
+ undef_method(*(instance_methods - [:__id__, :__send__]))
10
+
11
11
  def initialize
12
12
  @methods = []
13
13
  end
@@ -18,10 +18,8 @@ class It
18
18
  end
19
19
 
20
20
  def to_proc
21
- lambda do |obj|
22
- @methods.inject(obj) do |current,(args,block)|
23
- current.send(*args, &block)
24
- end
21
+ ::Kernel.lambda do |obj|
22
+ @methods.inject(obj) { |current, (args,block)| current.send(*args, &block) }
25
23
  end
26
24
  end
27
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: outback
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-21 00:00:00.000000000 Z
13
+ date: 2012-08-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: s3
17
- requirement: &3523290 !ruby/object:Gem::Requirement
17
+ requirement: &2151919700 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *3523290
25
+ version_requirements: *2151919700
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: activesupport
28
- requirement: &3523030 !ruby/object:Gem::Requirement
28
+ requirement: &2151919020 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 3.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *3523030
36
+ version_requirements: *2151919020
37
37
  description: A Ruby backup tool
38
38
  email: admin@onrooby.com
39
39
  executables:
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ! '>='
83
83
  - !ruby/object:Gem::Version
84
- version: '0'
84
+ version: 1.9.1
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements: