uuid 2.3.7 → 2.3.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (9) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG +4 -0
  3. data/lib/uuid.rb +2 -2
  4. data/uuid.gemspec +1 -1
  5. metadata +19 -30
  6. data/bin/rake +0 -16
  7. data/bin/yard +0 -16
  8. data/bin/yardoc +0 -16
  9. data/bin/yri +0 -16
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 66447201f7b459c9f769e6e48d1b06aec3dd9858
4
+ data.tar.gz: 49530a8bc8f767893b6be29f6ef2c44d9781ec7d
5
+ SHA512:
6
+ metadata.gz: a0aae42baae05b558ca36c2eae6b0829d9d933e19857f7f2fc662e6602b6273046fe918dac13b81676608303813a52a8c5de3e6e2d64bbfcfefbf41a2145f804
7
+ data.tar.gz: 817b19224fbe3ca25467b7fc350578707a9f69221876c15905f942b7aae23602a5a550aa538002be1034f0566758bb55e7be648d6f0ca9bf7dc8b72f52c9c415
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 2.3.8 (2015-06-02)
2
+
3
+ Fixed uuid binstub (Jonne Haß).
4
+
1
5
  2.3.7 (2013-02-18)
2
6
 
3
7
  Use Dir.tmpdir instead of hardcoded /var/tmp path (Justin Langhorst).
@@ -175,7 +175,7 @@ class UUID
175
175
 
176
176
  @state_file = File.join(state_dir, 'ruby-uuid')
177
177
 
178
- if !File.writable?(state_dir) || (File.exists?(@state_file) && !File.writable?(@state_file)) then
178
+ if !File.writable?(state_dir) || (File.exist?(@state_file) && !File.writable?(@state_file)) then
179
179
  @state_file = File.expand_path('.ruby-uuid', '~')
180
180
  end
181
181
 
@@ -267,7 +267,7 @@ class UUID
267
267
  @sequence = rand 0x10000
268
268
 
269
269
  # Ensure the mode is respected, even with a restrictive umask
270
- File.open(state_file, 'w') { |f| f.chmod(self.class.mode) } if state_file && !File.exists?(state_file)
270
+ File.open(state_file, 'w') { |f| f.chmod(self.class.mode) } if state_file && !File.exist?(state_file)
271
271
 
272
272
  if state_file
273
273
  open_lock 'wb' do |io|
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'uuid'
3
- s.version = '2.3.7'
3
+ s.version = '2.3.8'
4
4
  s.summary = "UUID generator"
5
5
  s.description = <<-EOF
6
6
  UUID generator for producing universally unique identifiers based on RFC 4122
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uuid
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.7
5
- prerelease:
4
+ version: 2.3.8
6
5
  platform: ruby
7
6
  authors:
8
7
  - Assaf Arkin
@@ -10,30 +9,25 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-02-18 00:00:00.000000000 Z
12
+ date: 2015-06-03 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: macaddr
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ~>
18
+ - - "~>"
21
19
  - !ruby/object:Gem::Version
22
20
  version: '1.0'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ~>
25
+ - - "~>"
29
26
  - !ruby/object:Gem::Version
30
27
  version: '1.0'
31
- description: ! 'UUID generator for producing universally unique identifiers based
32
- on RFC 4122
33
-
28
+ description: |
29
+ UUID generator for producing universally unique identifiers based on RFC 4122
34
30
  (http://www.ietf.org/rfc/rfc4122.txt).
35
-
36
- '
37
31
  email: assaf@labnotes.org
38
32
  executables:
39
33
  - uuid
@@ -42,45 +36,40 @@ extra_rdoc_files:
42
36
  - README.rdoc
43
37
  - MIT-LICENSE
44
38
  files:
45
- - bin/rake
46
- - bin/uuid
47
- - bin/yard
48
- - bin/yardoc
49
- - bin/yri
50
- - test/test-uuid.rb
51
- - lib/uuid.rb
52
- - README.rdoc
39
+ - CHANGELOG
53
40
  - MIT-LICENSE
41
+ - README.rdoc
54
42
  - Rakefile
55
- - CHANGELOG
43
+ - bin/uuid
44
+ - lib/uuid.rb
45
+ - test/test-uuid.rb
56
46
  - uuid.gemspec
57
47
  homepage: http://github.com/assaf/uuid
58
48
  licenses: []
49
+ metadata: {}
59
50
  post_install_message:
60
51
  rdoc_options:
61
- - --main
52
+ - "--main"
62
53
  - README.rdoc
63
- - --title
54
+ - "--title"
64
55
  - UUID generator
65
- - --line-numbers
56
+ - "--line-numbers"
66
57
  require_paths:
67
58
  - lib
68
59
  required_ruby_version: !ruby/object:Gem::Requirement
69
- none: false
70
60
  requirements:
71
- - - ! '>='
61
+ - - ">="
72
62
  - !ruby/object:Gem::Version
73
63
  version: '0'
74
64
  required_rubygems_version: !ruby/object:Gem::Requirement
75
- none: false
76
65
  requirements:
77
- - - ! '>='
66
+ - - ">="
78
67
  - !ruby/object:Gem::Version
79
68
  version: '0'
80
69
  requirements: []
81
70
  rubyforge_project:
82
- rubygems_version: 1.8.23
71
+ rubygems_version: 2.4.5
83
72
  signing_key:
84
- specification_version: 3
73
+ specification_version: 4
85
74
  summary: UUID generator
86
75
  test_files: []
data/bin/rake DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env ruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'rake' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('rake', 'rake')
data/bin/yard DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env ruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'yard' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('yard', 'yard')
data/bin/yardoc DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env ruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'yardoc' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('yard', 'yardoc')
data/bin/yri DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env ruby
2
- #
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'yri' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
11
- Pathname.new(__FILE__).realpath)
12
-
13
- require 'rubygems'
14
- require 'bundler/setup'
15
-
16
- load Gem.bin_path('yard', 'yri')