hammerspace 0.1.5 → 0.1.6

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmM2ZmNiMjg1OGZjOWMwYjQ4MmE3NDgyNDAxZmU5M2FiNjE5OGM0Ng==
4
+ OWJiZTE1MWVkOGFjOTdjNjVmZWQwMjJlNjhjOWJkZjNhYzJhMDFlYQ==
5
5
  data.tar.gz: !binary |-
6
- MDAzNzdhYzMwYmRlYTI1N2EzMDBlMjQyMWJiODE4MzJhOWZhMDgyMQ==
6
+ ZDgwOGY0MzBmOTUxZmIzY2Q5YTgxODZkMDM2YmIzMGNlZTU1ZmU2Yw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MjUxNjUyMGI4ZDIxNjFiOGE4ZWY4MjEzNWNmODBkOTBmZDY3M2UzOTY3YjEz
10
- MDIxZWQ0M2M4YjE0OWQ3M2FiOWIxNjRlYmRkOGE5NTY3ZWZmYTM0N2FjYjA1
11
- ZDBjYTZlZjkwNmUxZDdjZmFmMzJjNmM5MDdkOWFjYTgwY2I4Nzk=
9
+ MWI5Yjg2NWI3NjRkMDYzMDJhMDE1NjM3MzE5MzAzNGEwODM5N2Y2Y2QwMGZm
10
+ NTE4NDY0NWJhZDc5NWI1N2RiNjE1NDA1ZDZjNTU3MWFlZDk5N2JiNjZjZjk2
11
+ NDBhZTkyMTI2ZTMxNGRlYjczMjE4MGU4OTk2ZmFiYTEyYjFmYTI=
12
12
  data.tar.gz: !binary |-
13
- YjdmNGIxZDY0NTgwNjhmNjg3MGIwZGU5YTY4ODJiZWUyODdiZWI4OWNkNzc2
14
- ZmY0YTcwNjlkZTY1ZmYzNzRjYmMxNGRjZjU0OTA0MTYwNmIwYmVlMDNmMDZl
15
- YTNmNGI5ZTVhYzk1YjY1OGI2ZmZjNmFhMjVjYWIzNmJlOTJhYzI=
13
+ ZmIyNzI0MTgyOGRmNjI0ZDQxOWY3ODE5YjViMjViMmZmNDBiNDFlZGI3NDRk
14
+ ZWQyMDA0ODYwZjU0YjVkZjM5NTVlMmNhYzgxZjIzMDc0ODYxN2ZlYWZjZDQz
15
+ Y2NkYmE5Mjk1NDc1MDExMTJlNzVhY2Y4ODE2NjkzYjNjMDMyY2U=
@@ -1,3 +1,6 @@
1
+ # v0.1.6
2
+ * Avoid calling mkdir_p unless needed because it uses exceptions for control flow.
3
+
1
4
  # v0.1.5
2
5
  * Avoid an unnecessary call to Gnista::Hash#include? on get.
3
6
 
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  s.name = "hammerspace"
8
8
  s.version = Hammerspace::VERSION
9
9
  s.platform = Gem::Platform::RUBY
10
- s.authors = ["Jon Tai", "Nelson Gauthier"]
11
- s.email = ["jon.tai@airbnb.com", "nelson@airbnb.com"]
10
+ s.authors = `git log --format=%an -- lib`.split($/).uniq
11
+ s.email = `git log --format=%ae -- lib`.split($/).uniq.grep(/airbnb.com$/)
12
12
  s.homepage = "https://github.com/airbnb/hammerspace"
13
13
  s.summary = "Hash-like interface to persistent, concurrent, off-heap storage"
14
14
  s.description = "A convenient place to store giant hammers"
@@ -63,7 +63,7 @@ module Hammerspace
63
63
  protected
64
64
 
65
65
  def ensure_path_exists(path)
66
- FileUtils.mkdir_p(path)
66
+ FileUtils.mkdir_p(path) unless File.directory?(path)
67
67
  end
68
68
 
69
69
  def lock_for_write
@@ -1,3 +1,3 @@
1
1
  module Hammerspace
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammerspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
+ - Adrian Kuhn
7
8
  - Jon Tai
8
- - Nelson Gauthier
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-20 00:00:00.000000000 Z
12
+ date: 2016-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gnista
@@ -27,8 +27,8 @@ dependencies:
27
27
  version: 0.0.5
28
28
  description: A convenient place to store giant hammers
29
29
  email:
30
+ - adrian.kuhn@airbnb.com
30
31
  - jon.tai@airbnb.com
31
- - nelson@airbnb.com
32
32
  executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []