Imported Upstream version 2.3.8

parent b1c4095c
2.3.8 (2015-06-02)
Fixed uuid binstub (Jonne Haß).
2.3.7 (2013-02-18)
Use Dir.tmpdir instead of hardcoded /var/tmp path (Justin Langhorst).
......
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'rake' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler/setup'
load Gem.bin_path('rake', 'rake')
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'yard' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler/setup'
load Gem.bin_path('yard', 'yard')
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'yardoc' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler/setup'
load Gem.bin_path('yard', 'yardoc')
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'yri' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler/setup'
load Gem.bin_path('yard', 'yri')
......@@ -175,7 +175,7 @@ class UUID
@state_file = File.join(state_dir, 'ruby-uuid')
if !File.writable?(state_dir) || (File.exists?(@state_file) && !File.writable?(@state_file)) then
if !File.writable?(state_dir) || (File.exist?(@state_file) && !File.writable?(@state_file)) then
@state_file = File.expand_path('.ruby-uuid', '~')
end
......@@ -267,7 +267,7 @@ class UUID
@sequence = rand 0x10000
# Ensure the mode is respected, even with a restrictive umask
File.open(state_file, 'w') { |f| f.chmod(self.class.mode) } if state_file && !File.exists?(state_file)
File.open(state_file, 'w') { |f| f.chmod(self.class.mode) } if state_file && !File.exist?(state_file)
if state_file
open_lock 'wb' do |io|
......
--- !ruby/object:Gem::Specification
name: uuid
version: !ruby/object:Gem::Version
version: 2.3.7
prerelease:
version: 2.3.8
platform: ruby
authors:
- Assaf Arkin
......@@ -10,30 +9,25 @@ authors:
autorequire:
bindir: bin
cert_chain: []
date: 2013-02-18 00:00:00.000000000 Z
date: 2015-06-03 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: macaddr
requirement: !ruby/object:Gem::Requirement
none: false
requirements:
- - ~>
- - "~>"
- !ruby/object:Gem::Version
version: '1.0'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
none: false
requirements:
- - ~>
- - "~>"
- !ruby/object:Gem::Version
version: '1.0'
description: ! 'UUID generator for producing universally unique identifiers based
on RFC 4122
description: |
UUID generator for producing universally unique identifiers based on RFC 4122
(http://www.ietf.org/rfc/rfc4122.txt).
'
email: assaf@labnotes.org
executables:
- uuid
......@@ -42,45 +36,40 @@ extra_rdoc_files:
- README.rdoc
- MIT-LICENSE
files:
- bin/rake
- bin/uuid
- bin/yard
- bin/yardoc
- bin/yri
- test/test-uuid.rb
- lib/uuid.rb
- README.rdoc
- CHANGELOG
- MIT-LICENSE
- README.rdoc
- Rakefile
- CHANGELOG
- bin/uuid
- lib/uuid.rb
- test/test-uuid.rb
- uuid.gemspec
homepage: http://github.com/assaf/uuid
licenses: []
metadata: {}
post_install_message:
rdoc_options:
- --main
- "--main"
- README.rdoc
- --title
- "--title"
- UUID generator
- --line-numbers
- "--line-numbers"
require_paths:
- lib
required_ruby_version: !ruby/object:Gem::Requirement
none: false
requirements:
- - ! '>='
- - ">="
- !ruby/object:Gem::Version
version: '0'
required_rubygems_version: !ruby/object:Gem::Requirement
none: false
requirements:
- - ! '>='
- - ">="
- !ruby/object:Gem::Version
version: '0'
requirements: []
rubyforge_project:
rubygems_version: 1.8.23
rubygems_version: 2.4.5
signing_key:
specification_version: 3
specification_version: 4
summary: UUID generator
test_files: []
Gem::Specification.new do |s|
s.name = 'uuid'
s.version = '2.3.7'
s.version = '2.3.8'
s.summary = "UUID generator"
s.description = <<-EOF
UUID generator for producing universally unique identifiers based on RFC 4122
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment