right_scraper 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/lib/right_scraper/retrievers/git.rb +3 -2
- data/right_scraper.gemspec +1 -1
- metadata +20 -20
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source
|
1
|
+
source :rubygems
|
2
2
|
|
3
3
|
gem "json", "~> 1.4.5"
|
4
4
|
gem "blackwinter-git", "~> 1.2.7"
|
@@ -8,7 +8,7 @@ gem "process_watcher", "~> 0.3"
|
|
8
8
|
|
9
9
|
group :development do
|
10
10
|
gem "rspec", "~> 2.3"
|
11
|
-
gem "rake"
|
11
|
+
gem "rake", "0.8.7"
|
12
12
|
gem "flexmock"
|
13
13
|
gem "ruby-debug", :platform=>"ruby_18"
|
14
14
|
gem "ruby-debug19", :platform=>"ruby_19"
|
@@ -58,8 +58,9 @@ module RightScraper
|
|
58
58
|
def retrieve
|
59
59
|
raise RetrieverError.new("git retriever is unavailable") unless available?
|
60
60
|
RightScraper::Processes::SSHAgent.with do |agent|
|
61
|
-
|
62
|
-
@repository.first_credential
|
61
|
+
unless @repository.first_credential.nil? || @repository.first_credential.blank?
|
62
|
+
agent.add_key(@repository.first_credential)
|
63
|
+
end
|
63
64
|
super
|
64
65
|
end
|
65
66
|
end
|
data/right_scraper.gemspec
CHANGED
@@ -24,7 +24,7 @@ require 'rubygems'
|
|
24
24
|
|
25
25
|
Gem::Specification.new do |spec|
|
26
26
|
spec.name = 'right_scraper'
|
27
|
-
spec.version = '3.0.
|
27
|
+
spec.version = '3.0.3'
|
28
28
|
spec.authors = ['Graham Hughes', 'Raphael Simon']
|
29
29
|
spec.email = 'raphael@rightscale.com'
|
30
30
|
spec.homepage = 'https://github.com/rightscale/right_scraper'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_scraper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 3
|
10
|
+
version: 3.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Graham Hughes
|
@@ -16,11 +16,11 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-
|
19
|
+
date: 2012-08-21 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
|
-
|
23
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
24
|
none: false
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
@@ -31,12 +31,12 @@ dependencies:
|
|
31
31
|
- 4
|
32
32
|
- 5
|
33
33
|
version: 1.4.5
|
34
|
+
requirement: *id001
|
34
35
|
name: json
|
35
36
|
prerelease: false
|
36
37
|
type: :runtime
|
37
|
-
version_requirements: *id001
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
|
-
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
@@ -47,12 +47,12 @@ dependencies:
|
|
47
47
|
- 2
|
48
48
|
- 5
|
49
49
|
version: 1.2.5
|
50
|
+
requirement: *id002
|
50
51
|
name: git
|
51
52
|
prerelease: false
|
52
53
|
type: :runtime
|
53
|
-
version_requirements: *id002
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
|
-
|
55
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
56
|
none: false
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
@@ -63,12 +63,12 @@ dependencies:
|
|
63
63
|
- 1
|
64
64
|
- 1
|
65
65
|
version: 0.1.1
|
66
|
+
requirement: *id003
|
66
67
|
name: libarchive
|
67
68
|
prerelease: false
|
68
69
|
type: :runtime
|
69
|
-
version_requirements: *id003
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
|
71
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
@@ -78,12 +78,12 @@ dependencies:
|
|
78
78
|
- 2
|
79
79
|
- 0
|
80
80
|
version: "2.0"
|
81
|
+
requirement: *id004
|
81
82
|
name: right_aws
|
82
83
|
prerelease: false
|
83
84
|
type: :runtime
|
84
|
-
version_requirements: *id004
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
|
-
|
86
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
87
87
|
none: false
|
88
88
|
requirements:
|
89
89
|
- - ~>
|
@@ -93,12 +93,12 @@ dependencies:
|
|
93
93
|
- 0
|
94
94
|
- 3
|
95
95
|
version: "0.3"
|
96
|
+
requirement: *id005
|
96
97
|
name: process_watcher
|
97
98
|
prerelease: false
|
98
99
|
type: :runtime
|
99
|
-
version_requirements: *id005
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
|
-
|
101
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
102
102
|
none: false
|
103
103
|
requirements:
|
104
104
|
- - ">="
|
@@ -107,12 +107,12 @@ dependencies:
|
|
107
107
|
segments:
|
108
108
|
- 0
|
109
109
|
version: "0"
|
110
|
+
requirement: *id006
|
110
111
|
name: rspec
|
111
112
|
prerelease: false
|
112
113
|
type: :development
|
113
|
-
version_requirements: *id006
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
|
-
|
115
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ">="
|
@@ -121,12 +121,12 @@ dependencies:
|
|
121
121
|
segments:
|
122
122
|
- 0
|
123
123
|
version: "0"
|
124
|
+
requirement: *id007
|
124
125
|
name: flexmock
|
125
126
|
prerelease: false
|
126
127
|
type: :development
|
127
|
-
version_requirements: *id007
|
128
128
|
- !ruby/object:Gem::Dependency
|
129
|
-
|
129
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
130
130
|
none: false
|
131
131
|
requirements:
|
132
132
|
- - ">="
|
@@ -135,10 +135,10 @@ dependencies:
|
|
135
135
|
segments:
|
136
136
|
- 0
|
137
137
|
version: "0"
|
138
|
+
requirement: *id008
|
138
139
|
name: rtags
|
139
140
|
prerelease: false
|
140
141
|
type: :development
|
141
|
-
version_requirements: *id008
|
142
142
|
description: " RightScraper provides a simple interface to download and keep local copies of remote\n repositories up-to-date using the following protocols:\n * git: RightScraper will clone then pull repos from git\n * SVN: RightScraper will checkout then update SVN repositories\n * tarballs: RightScraper will download, optionally uncompress and expand a given tar file\n On top of retrieving remote repositories, right_scraper also include \"scrapers\" that\n will analyze the repository content and instantiate \"resources\" as a result. Currently\n supported resources are Chef cookbooks and RightScale workflow definitions.\n"
|
143
143
|
email: raphael@rightscale.com
|
144
144
|
executables: []
|