right_scraper 3.0.4 → 3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +7 -8
- data/README.rdoc +3 -1
- data/lib/right_scraper/logger.rb +2 -2
- data/lib/right_scraper/processes/ssh.rb +103 -71
- data/lib/right_scraper/resources/cookbook.rb +35 -2
- data/lib/right_scraper/retrievers/checkout.rb +3 -3
- data/lib/right_scraper/retrievers/download.rb +81 -18
- data/lib/right_scraper/retrievers/git.rb +37 -3
- data/lib/right_scraper/retrievers/svn.rb +7 -16
- data/lib/right_scraper/scanners/cookbook_manifest.rb +2 -2
- data/lib/right_scraper/scanners/cookbook_s3_upload.rb +8 -7
- data/lib/right_scraper/scraper.rb +4 -4
- data/lib/right_scraper/svn_client.rb +73 -11
- data/right_scraper.gemspec +18 -18
- data/right_scraper.rconf +1 -1
- data/spec/cookbook_manifest_spec.rb +43 -5
- data/spec/cookbook_s3_upload_spec.rb +8 -3
- data/spec/download/download_spec.rb +3 -5
- data/spec/git/cookbook_spec.rb +6 -7
- data/spec/git/retriever_spec.rb +5 -5
- data/spec/git/scraper_spec.rb +16 -1
- data/spec/git/ssh_spec.rb +5 -2
- data/spec/retriever_spec_helper.rb +2 -2
- data/spec/scraper_helper.rb +0 -10
- data/spec/spec_helper.rb +5 -5
- data/spec/svn/cookbook_spec.rb +5 -6
- data/spec/svn/svn_retriever_spec_helper.rb +5 -6
- metadata +60 -48
metadata
CHANGED
@@ -1,145 +1,157 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_scraper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 3.
|
8
|
+
- 2
|
9
|
+
- 3
|
10
|
+
version: 3.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Graham Hughes
|
14
14
|
- Raphael Simon
|
15
|
+
- Scott Messier
|
15
16
|
autorequire:
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date:
|
20
|
+
date: 2013-07-22 00:00:00 -07:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|
23
24
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
25
|
none: false
|
25
26
|
requirements:
|
26
|
-
- -
|
27
|
+
- - ~>
|
27
28
|
- !ruby/object:Gem::Version
|
28
|
-
hash:
|
29
|
+
hash: 7
|
29
30
|
segments:
|
30
31
|
- 1
|
31
32
|
- 4
|
32
|
-
|
33
|
-
version: 1.4.5
|
33
|
+
version: "1.4"
|
34
34
|
requirement: *id001
|
35
|
+
type: :runtime
|
35
36
|
name: json
|
36
37
|
prerelease: false
|
37
|
-
type: :runtime
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
44
|
+
hash: 17
|
45
45
|
segments:
|
46
46
|
- 1
|
47
47
|
- 2
|
48
|
-
-
|
49
|
-
version: 1.2.
|
48
|
+
- 7
|
49
|
+
version: 1.2.7
|
50
50
|
requirement: *id002
|
51
|
-
name: git
|
52
|
-
prerelease: false
|
53
51
|
type: :runtime
|
52
|
+
name: blackwinter-git
|
53
|
+
prerelease: false
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
56
|
none: false
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
hash:
|
60
|
+
hash: 3
|
61
61
|
segments:
|
62
|
+
- 2
|
62
63
|
- 0
|
63
|
-
|
64
|
-
- 1
|
65
|
-
version: 0.1.1
|
64
|
+
version: "2.0"
|
66
65
|
requirement: *id003
|
67
|
-
name: libarchive
|
68
|
-
prerelease: false
|
69
66
|
type: :runtime
|
67
|
+
name: right_aws
|
68
|
+
prerelease: false
|
70
69
|
- !ruby/object:Gem::Dependency
|
71
70
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
72
71
|
none: false
|
73
72
|
requirements:
|
74
|
-
- -
|
73
|
+
- - ~>
|
75
74
|
- !ruby/object:Gem::Version
|
76
|
-
hash:
|
75
|
+
hash: 17
|
77
76
|
segments:
|
78
|
-
-
|
79
|
-
-
|
80
|
-
|
77
|
+
- 1
|
78
|
+
- 1
|
79
|
+
- 1
|
80
|
+
version: 1.1.1
|
81
81
|
requirement: *id004
|
82
|
-
name: right_aws
|
83
|
-
prerelease: false
|
84
82
|
type: :runtime
|
83
|
+
name: right_popen
|
84
|
+
prerelease: false
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
87
87
|
none: false
|
88
88
|
requirements:
|
89
89
|
- - ~>
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
hash:
|
91
|
+
hash: 15
|
92
92
|
segments:
|
93
|
-
-
|
94
|
-
-
|
95
|
-
version: "
|
93
|
+
- 2
|
94
|
+
- 6
|
95
|
+
version: "2.6"
|
96
96
|
requirement: *id005
|
97
|
-
name: process_watcher
|
98
|
-
prerelease: false
|
99
97
|
type: :runtime
|
98
|
+
name: right_support
|
99
|
+
prerelease: false
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
102
102
|
none: false
|
103
103
|
requirements:
|
104
|
-
- -
|
104
|
+
- - ~>
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
hash: 3
|
107
107
|
segments:
|
108
|
+
- 2
|
108
109
|
- 0
|
109
|
-
version: "0"
|
110
|
+
version: "2.0"
|
110
111
|
requirement: *id006
|
112
|
+
type: :development
|
111
113
|
name: rspec
|
112
114
|
prerelease: false
|
113
|
-
type: :development
|
114
115
|
- !ruby/object:Gem::Dependency
|
115
116
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
116
117
|
none: false
|
117
118
|
requirements:
|
118
|
-
- -
|
119
|
+
- - ~>
|
119
120
|
- !ruby/object:Gem::Version
|
120
|
-
hash:
|
121
|
+
hash: 25
|
121
122
|
segments:
|
122
123
|
- 0
|
123
|
-
|
124
|
+
- 9
|
125
|
+
version: "0.9"
|
124
126
|
requirement: *id007
|
127
|
+
type: :development
|
125
128
|
name: flexmock
|
126
129
|
prerelease: false
|
127
|
-
type: :development
|
128
130
|
- !ruby/object:Gem::Dependency
|
129
131
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
130
132
|
none: false
|
131
133
|
requirements:
|
132
|
-
- -
|
134
|
+
- - ~>
|
133
135
|
- !ruby/object:Gem::Version
|
134
|
-
hash:
|
136
|
+
hash: 201
|
135
137
|
segments:
|
136
138
|
- 0
|
137
|
-
|
139
|
+
- 97
|
140
|
+
version: "0.97"
|
138
141
|
requirement: *id008
|
142
|
+
type: :development
|
139
143
|
name: rtags
|
140
144
|
prerelease: false
|
141
|
-
|
142
|
-
|
145
|
+
description: |
|
146
|
+
RightScraper provides a simple interface to download and keep local copies of remote
|
147
|
+
repositories up-to-date using the following protocols:
|
148
|
+
* git: RightScraper will clone then pull repos from git
|
149
|
+
* SVN: RightScraper will checkout then update SVN repositories
|
150
|
+
* tarballs: RightScraper will download, optionally uncompress and expand a given tar file
|
151
|
+
On top of retrieving remote repositories, right_scraper also include "scrapers" that
|
152
|
+
will analyze the repository content and instantiate "resources" as a result. Currently
|
153
|
+
supported resources are Chef cookbooks and RightScale workflow definitions.
|
154
|
+
|
143
155
|
email: raphael@rightscale.com
|
144
156
|
executables: []
|
145
157
|
|
@@ -258,8 +270,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
270
|
- 0
|
259
271
|
version: "0"
|
260
272
|
requirements:
|
261
|
-
- libarchive, 2.8.4
|
262
273
|
- curl command line client
|
274
|
+
- git command line client
|
263
275
|
- Subversion command line client
|
264
276
|
rubyforge_project: right_scraper
|
265
277
|
rubygems_version: 1.3.7
|