treet 0.8.2 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -1
- data/.travis.yml +4 -0
- data/Gemfile +0 -2
- data/Guardfile +19 -0
- data/lib/treet/farm.rb +13 -10
- data/lib/treet/gitfarm.rb +28 -0
- data/lib/treet/gitrepo.rb +180 -0
- data/lib/treet/hash.rb +11 -5
- data/lib/treet/repo.rb +40 -28
- data/lib/treet/version.rb +1 -1
- data/lib/treet.rb +9 -4
- data/spec/json/four.json +8 -0
- data/spec/lib/repo_spec.rb +115 -7
- data/spec/lib/{farm_spec.rb → test_farm.rb} +21 -18
- data/spec/lib/test_gitfarm.rb +63 -0
- data/spec/lib/test_gitrepo.rb +346 -0
- data/spec/test_helper.rb +25 -0
- data/treet.gemspec +7 -5
- metadata +66 -23
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: treet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,10 +9,10 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: thor
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
@@ -28,69 +28,101 @@ dependencies:
|
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
31
|
+
name: rugged
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.
|
38
|
-
type: :
|
37
|
+
version: 0.17.0.b6
|
38
|
+
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
45
|
+
version: 0.17.0.b6
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rake
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
46
62
|
- !ruby/object:Gem::Dependency
|
47
63
|
name: rspec
|
48
64
|
requirement: !ruby/object:Gem::Requirement
|
49
65
|
none: false
|
50
66
|
requirements:
|
51
|
-
- -
|
67
|
+
- - ! '>='
|
52
68
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
69
|
+
version: '0'
|
54
70
|
type: :development
|
55
71
|
prerelease: false
|
56
72
|
version_requirements: !ruby/object:Gem::Requirement
|
57
73
|
none: false
|
58
74
|
requirements:
|
59
|
-
- -
|
75
|
+
- - ! '>='
|
60
76
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
77
|
+
version: '0'
|
62
78
|
- !ruby/object:Gem::Dependency
|
63
79
|
name: guard-rspec
|
64
80
|
requirement: !ruby/object:Gem::Requirement
|
65
81
|
none: false
|
66
82
|
requirements:
|
67
|
-
- -
|
83
|
+
- - ! '>='
|
68
84
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0
|
85
|
+
version: '0'
|
70
86
|
type: :development
|
71
87
|
prerelease: false
|
72
88
|
version_requirements: !ruby/object:Gem::Requirement
|
73
89
|
none: false
|
74
90
|
requirements:
|
75
|
-
- -
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: guard-minitest
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
76
108
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0
|
109
|
+
version: '0'
|
78
110
|
- !ruby/object:Gem::Dependency
|
79
111
|
name: ruby_gntp
|
80
112
|
requirement: !ruby/object:Gem::Requirement
|
81
113
|
none: false
|
82
114
|
requirements:
|
83
|
-
- -
|
115
|
+
- - ! '>='
|
84
116
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0
|
117
|
+
version: '0'
|
86
118
|
type: :development
|
87
119
|
prerelease: false
|
88
120
|
version_requirements: !ruby/object:Gem::Requirement
|
89
121
|
none: false
|
90
122
|
requirements:
|
91
|
-
- -
|
123
|
+
- - ! '>='
|
92
124
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0
|
125
|
+
version: '0'
|
94
126
|
description: Transform between trees of files and JSON blobs
|
95
127
|
email:
|
96
128
|
- jmay@pobox.com
|
@@ -100,6 +132,7 @@ extensions: []
|
|
100
132
|
extra_rdoc_files: []
|
101
133
|
files:
|
102
134
|
- .gitignore
|
135
|
+
- .travis.yml
|
103
136
|
- Gemfile
|
104
137
|
- Guardfile
|
105
138
|
- LICENSE
|
@@ -108,19 +141,24 @@ files:
|
|
108
141
|
- bin/treet
|
109
142
|
- lib/treet.rb
|
110
143
|
- lib/treet/farm.rb
|
144
|
+
- lib/treet/gitfarm.rb
|
145
|
+
- lib/treet/gitrepo.rb
|
111
146
|
- lib/treet/hash.rb
|
112
147
|
- lib/treet/repo.rb
|
113
148
|
- lib/treet/version.rb
|
114
149
|
- spec/json/bob1.json
|
115
150
|
- spec/json/bob2.json
|
151
|
+
- spec/json/four.json
|
116
152
|
- spec/json/group.json
|
117
153
|
- spec/json/master.json
|
118
154
|
- spec/json/one.json
|
119
155
|
- spec/json/three.json
|
120
156
|
- spec/json/two.json
|
121
|
-
- spec/lib/farm_spec.rb
|
122
157
|
- spec/lib/hash_spec.rb
|
123
158
|
- spec/lib/repo_spec.rb
|
159
|
+
- spec/lib/test_farm.rb
|
160
|
+
- spec/lib/test_gitfarm.rb
|
161
|
+
- spec/lib/test_gitrepo.rb
|
124
162
|
- spec/repos/farm1/one/name
|
125
163
|
- spec/repos/farm1/two/emails/0
|
126
164
|
- spec/repos/farm1/two/emails/1
|
@@ -136,6 +174,7 @@ files:
|
|
136
174
|
- spec/repos/two/emails/1
|
137
175
|
- spec/repos/two/name
|
138
176
|
- spec/spec_helper.rb
|
177
|
+
- spec/test_helper.rb
|
139
178
|
- treet.gemspec
|
140
179
|
homepage: ''
|
141
180
|
licenses: []
|
@@ -151,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
151
190
|
version: '0'
|
152
191
|
segments:
|
153
192
|
- 0
|
154
|
-
hash:
|
193
|
+
hash: 2167963457849140399
|
155
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
195
|
none: false
|
157
196
|
requirements:
|
@@ -160,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
199
|
version: '0'
|
161
200
|
segments:
|
162
201
|
- 0
|
163
|
-
hash:
|
202
|
+
hash: 2167963457849140399
|
164
203
|
requirements: []
|
165
204
|
rubyforge_project:
|
166
205
|
rubygems_version: 1.8.24
|
@@ -170,14 +209,17 @@ summary: Transform between trees of files and JSON blobs
|
|
170
209
|
test_files:
|
171
210
|
- spec/json/bob1.json
|
172
211
|
- spec/json/bob2.json
|
212
|
+
- spec/json/four.json
|
173
213
|
- spec/json/group.json
|
174
214
|
- spec/json/master.json
|
175
215
|
- spec/json/one.json
|
176
216
|
- spec/json/three.json
|
177
217
|
- spec/json/two.json
|
178
|
-
- spec/lib/farm_spec.rb
|
179
218
|
- spec/lib/hash_spec.rb
|
180
219
|
- spec/lib/repo_spec.rb
|
220
|
+
- spec/lib/test_farm.rb
|
221
|
+
- spec/lib/test_gitfarm.rb
|
222
|
+
- spec/lib/test_gitrepo.rb
|
181
223
|
- spec/repos/farm1/one/name
|
182
224
|
- spec/repos/farm1/two/emails/0
|
183
225
|
- spec/repos/farm1/two/emails/1
|
@@ -193,3 +235,4 @@ test_files:
|
|
193
235
|
- spec/repos/two/emails/1
|
194
236
|
- spec/repos/two/name
|
195
237
|
- spec/spec_helper.rb
|
238
|
+
- spec/test_helper.rb
|