ed 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -5
- data/lib/ed/version.rb +1 -1
- metadata +11 -13
- data/examples/benchmark.rb +0 -22
- data/examples/pry.rb +0 -24
data/README.md
CHANGED
@@ -15,10 +15,10 @@ __DESCRIPTION__
|
|
15
15
|
It is useful when you'd like to run Ruby code in the context of one or more
|
16
16
|
commits, tags, or branchs.
|
17
17
|
|
18
|
-
It can work with local or remote
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
It can work with local or remote repositories, supports parallel access to
|
19
|
+
the same repository, and offers a thread-local cache to speed up costly clones.
|
20
|
+
The cache expires once the process exits, and as said, each thread has its
|
21
|
+
own cache.
|
22
22
|
|
23
23
|
It is also flexible(e.g: configurable) enough to cover some edge cases I have
|
24
24
|
thought of while writing Ed.
|
@@ -34,7 +34,7 @@ __1.__
|
|
34
34
|
|
35
35
|
Run the tests for tag 'v0.1.0' and tag 'v0.2.0'.
|
36
36
|
|
37
|
-
|
37
|
+
Repository "git://github.com/robgleeson/observe.git" do
|
38
38
|
tag "v0.1.0" do |path|
|
39
39
|
system "cd '#{path}' && rake test"
|
40
40
|
end
|
data/lib/ed/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shell_command
|
16
|
-
requirement: &
|
16
|
+
requirement: &70242273877660 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70242273877660
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: observe
|
27
|
-
requirement: &
|
27
|
+
requirement: &70242273877180 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.2.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70242273877180
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70242273876720 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.9.2
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70242273876720
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: minitest
|
49
|
-
requirement: &
|
49
|
+
requirement: &70242273876220 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '2.6'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70242273876220
|
58
58
|
description: A Domain Specific Language(DSL) that you can use to talk to Git from
|
59
59
|
Ruby.
|
60
60
|
email:
|
@@ -71,8 +71,6 @@ files:
|
|
71
71
|
- README.md
|
72
72
|
- Rakefile
|
73
73
|
- ed.gemspec
|
74
|
-
- examples/benchmark.rb
|
75
|
-
- examples/pry.rb
|
76
74
|
- examples/test-suite.rb
|
77
75
|
- lib/ed.rb
|
78
76
|
- lib/ed/config.rb
|
@@ -104,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
102
|
version: '0'
|
105
103
|
segments:
|
106
104
|
- 0
|
107
|
-
hash:
|
105
|
+
hash: -3866633531619135103
|
108
106
|
requirements: []
|
109
107
|
rubyforge_project: Ed
|
110
108
|
rubygems_version: 1.8.15
|
data/examples/benchmark.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
require "ed"
|
2
|
-
require "benchmark"
|
3
|
-
|
4
|
-
|
5
|
-
Repository "git://github.com/robgleeson/observe.git" do
|
6
|
-
tag "v0.1.0" do |path|
|
7
|
-
Benchmark.bm do |r|
|
8
|
-
r.report("v0.1.0") do
|
9
|
-
`cd '#{path}' && rake test`
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
tag "v0.2.0" do |path|
|
15
|
-
Benchmark.bm do |r|
|
16
|
-
r.report("v0.2.0") do
|
17
|
-
`cd '#{path}' && rake test`
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
data/examples/pry.rb
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
require "ed"
|
2
|
-
require "pry"
|
3
|
-
|
4
|
-
Ed.configure do |config|
|
5
|
-
# Create a subprocess for each tag we switch to.
|
6
|
-
# It keeps the address space clean, and allows us to
|
7
|
-
# 'require "barney"' twice.
|
8
|
-
config.should_fork = true
|
9
|
-
end
|
10
|
-
|
11
|
-
Ed.new "git://github.com/robgleeson/observe.git" do
|
12
|
-
setup do |path|
|
13
|
-
$LOAD_PATH << File.join(path, "lib/")
|
14
|
-
require 'observe'
|
15
|
-
end
|
16
|
-
|
17
|
-
tag "v0.1.0" do
|
18
|
-
binding.pry
|
19
|
-
end
|
20
|
-
|
21
|
-
tag "v0.2.0" do
|
22
|
-
binding.pry
|
23
|
-
end
|
24
|
-
end
|