treet 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/Gemfile +6 -0
- data/Guardfile +9 -0
- data/LICENSE +22 -0
- data/README.md +90 -0
- data/Rakefile +8 -0
- data/bin/treet +64 -0
- data/lib/treet/farm.rb +70 -0
- data/lib/treet/hash.rb +219 -0
- data/lib/treet/repo.rb +141 -0
- data/lib/treet/version.rb +3 -0
- data/lib/treet.rb +13 -0
- data/spec/json/bob1.json +24 -0
- data/spec/json/bob2.json +20 -0
- data/spec/json/group.json +15 -0
- data/spec/json/master.json +55 -0
- data/spec/json/one.json +5 -0
- data/spec/json/three.json +17 -0
- data/spec/json/two.json +17 -0
- data/spec/lib/farm_spec.rb +65 -0
- data/spec/lib/hash_spec.rb +132 -0
- data/spec/lib/repo_spec.rb +91 -0
- data/spec/repos/farm1/one/name +1 -0
- data/spec/repos/farm1/two/emails/0 +4 -0
- data/spec/repos/farm1/two/emails/1 +4 -0
- data/spec/repos/farm1/two/name +5 -0
- data/spec/repos/four/emails/0 +4 -0
- data/spec/repos/four/emails/1 +4 -0
- data/spec/repos/four/name +5 -0
- data/spec/repos/one/name +1 -0
- data/spec/repos/three/emails/0 +4 -0
- data/spec/repos/three/emails/1 +4 -0
- data/spec/repos/three/name +5 -0
- data/spec/repos/two/emails/0 +4 -0
- data/spec/repos/two/emails/1 +4 -0
- data/spec/repos/two/name +5 -0
- data/spec/spec_helper.rb +17 -0
- data/treet.gemspec +24 -0
- metadata +195 -0
metadata
ADDED
@@ -0,0 +1,195 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: treet
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.8.2
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jason May
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-09-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: uuidtools
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 0.9.2
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.9.2
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rspec
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 2.9.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: 2.9.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: guard-rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.7.0
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.7.0
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: ruby_gntp
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 0.3.4
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.3.4
|
94
|
+
description: Transform between trees of files and JSON blobs
|
95
|
+
email:
|
96
|
+
- jmay@pobox.com
|
97
|
+
executables:
|
98
|
+
- treet
|
99
|
+
extensions: []
|
100
|
+
extra_rdoc_files: []
|
101
|
+
files:
|
102
|
+
- .gitignore
|
103
|
+
- Gemfile
|
104
|
+
- Guardfile
|
105
|
+
- LICENSE
|
106
|
+
- README.md
|
107
|
+
- Rakefile
|
108
|
+
- bin/treet
|
109
|
+
- lib/treet.rb
|
110
|
+
- lib/treet/farm.rb
|
111
|
+
- lib/treet/hash.rb
|
112
|
+
- lib/treet/repo.rb
|
113
|
+
- lib/treet/version.rb
|
114
|
+
- spec/json/bob1.json
|
115
|
+
- spec/json/bob2.json
|
116
|
+
- spec/json/group.json
|
117
|
+
- spec/json/master.json
|
118
|
+
- spec/json/one.json
|
119
|
+
- spec/json/three.json
|
120
|
+
- spec/json/two.json
|
121
|
+
- spec/lib/farm_spec.rb
|
122
|
+
- spec/lib/hash_spec.rb
|
123
|
+
- spec/lib/repo_spec.rb
|
124
|
+
- spec/repos/farm1/one/name
|
125
|
+
- spec/repos/farm1/two/emails/0
|
126
|
+
- spec/repos/farm1/two/emails/1
|
127
|
+
- spec/repos/farm1/two/name
|
128
|
+
- spec/repos/four/emails/0
|
129
|
+
- spec/repos/four/emails/1
|
130
|
+
- spec/repos/four/name
|
131
|
+
- spec/repos/one/name
|
132
|
+
- spec/repos/three/emails/0
|
133
|
+
- spec/repos/three/emails/1
|
134
|
+
- spec/repos/three/name
|
135
|
+
- spec/repos/two/emails/0
|
136
|
+
- spec/repos/two/emails/1
|
137
|
+
- spec/repos/two/name
|
138
|
+
- spec/spec_helper.rb
|
139
|
+
- treet.gemspec
|
140
|
+
homepage: ''
|
141
|
+
licenses: []
|
142
|
+
post_install_message:
|
143
|
+
rdoc_options: []
|
144
|
+
require_paths:
|
145
|
+
- lib
|
146
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
148
|
+
requirements:
|
149
|
+
- - ! '>='
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
segments:
|
153
|
+
- 0
|
154
|
+
hash: 3307189681776215424
|
155
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
|
+
none: false
|
157
|
+
requirements:
|
158
|
+
- - ! '>='
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
segments:
|
162
|
+
- 0
|
163
|
+
hash: 3307189681776215424
|
164
|
+
requirements: []
|
165
|
+
rubyforge_project:
|
166
|
+
rubygems_version: 1.8.24
|
167
|
+
signing_key:
|
168
|
+
specification_version: 3
|
169
|
+
summary: Transform between trees of files and JSON blobs
|
170
|
+
test_files:
|
171
|
+
- spec/json/bob1.json
|
172
|
+
- spec/json/bob2.json
|
173
|
+
- spec/json/group.json
|
174
|
+
- spec/json/master.json
|
175
|
+
- spec/json/one.json
|
176
|
+
- spec/json/three.json
|
177
|
+
- spec/json/two.json
|
178
|
+
- spec/lib/farm_spec.rb
|
179
|
+
- spec/lib/hash_spec.rb
|
180
|
+
- spec/lib/repo_spec.rb
|
181
|
+
- spec/repos/farm1/one/name
|
182
|
+
- spec/repos/farm1/two/emails/0
|
183
|
+
- spec/repos/farm1/two/emails/1
|
184
|
+
- spec/repos/farm1/two/name
|
185
|
+
- spec/repos/four/emails/0
|
186
|
+
- spec/repos/four/emails/1
|
187
|
+
- spec/repos/four/name
|
188
|
+
- spec/repos/one/name
|
189
|
+
- spec/repos/three/emails/0
|
190
|
+
- spec/repos/three/emails/1
|
191
|
+
- spec/repos/three/name
|
192
|
+
- spec/repos/two/emails/0
|
193
|
+
- spec/repos/two/emails/1
|
194
|
+
- spec/repos/two/name
|
195
|
+
- spec/spec_helper.rb
|