treet 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/treet/farm.rb +1 -1
- data/lib/treet/version.rb +1 -1
- metadata +3 -3
data/lib/treet/farm.rb
CHANGED
@@ -66,7 +66,7 @@ class Treet::Farm
|
|
66
66
|
# if an :id is provided, then the new repo will be stored under that directory name,
|
67
67
|
# otherwise a unique id will be generated
|
68
68
|
def add(hash, opts = {})
|
69
|
-
uuid = opts[:id] ||
|
69
|
+
uuid = opts[:id] || SecureRandom.uuid
|
70
70
|
thash = Treet::Hash.new(hash)
|
71
71
|
repos[uuid] = thash.to_repo("#{root}/#{uuid}", opts.merge(:repotype => repotype))
|
72
72
|
end
|
data/lib/treet/version.rb
CHANGED
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.10.
|
4
|
+
version: 0.10.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -190,7 +190,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
190
190
|
version: '0'
|
191
191
|
segments:
|
192
192
|
- 0
|
193
|
-
hash:
|
193
|
+
hash: 2545579231990389105
|
194
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
195
|
none: false
|
196
196
|
requirements:
|
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
199
|
version: '0'
|
200
200
|
segments:
|
201
201
|
- 0
|
202
|
-
hash:
|
202
|
+
hash: 2545579231990389105
|
203
203
|
requirements: []
|
204
204
|
rubyforge_project:
|
205
205
|
rubygems_version: 1.8.24
|