origin 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/Rakefile +1 -0
- data/lib/origin/forwardable.rb +6 -2
- data/lib/origin/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -21,6 +21,7 @@ task :release => :build do
|
|
21
21
|
system "git tag -a v#{Origin::VERSION} -m 'Tagging #{Origin::VERSION}'"
|
22
22
|
system "git push --tags"
|
23
23
|
system "gem push origin-#{Origin::VERSION}.gem"
|
24
|
+
system "rm origin-#{Origin::VERSION}.gem"
|
24
25
|
end
|
25
26
|
|
26
27
|
RSpec::Core::RakeTask.new("spec") do |spec|
|
data/lib/origin/forwardable.rb
CHANGED
@@ -45,11 +45,15 @@ module Origin
|
|
45
45
|
def __forward__(name, receiver)
|
46
46
|
if self.class == Module
|
47
47
|
module_eval <<-SEL
|
48
|
-
|
48
|
+
def #{name}(*args, &block)
|
49
|
+
#{receiver}.__send__(:#{name}, *args, &block)
|
50
|
+
end
|
49
51
|
SEL
|
50
52
|
else
|
51
53
|
(class << self; self; end).class_eval <<-SEL
|
52
|
-
|
54
|
+
def #{name}(*args, &block)
|
55
|
+
#{receiver}.__send__(:#{name}, *args, &block)
|
56
|
+
end
|
53
57
|
SEL
|
54
58
|
end
|
55
59
|
end
|
data/lib/origin/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
segments:
|
147
147
|
- 0
|
148
|
-
hash:
|
148
|
+
hash: 844686172235787907
|
149
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
150
|
none: false
|
151
151
|
requirements:
|