hipsterhash 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/README.md +11 -0
  4. data/hipsterhash.gemspec +2 -2
  5. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdd5f38b32f9a671fb09d65b478f7f7ef334e286
4
- data.tar.gz: 09a15c9f8c71ab5e9688fe8fae12e72ab86c9980
3
+ metadata.gz: 051bcb7d2053415863b5e462d812f67fb02cd0ef
4
+ data.tar.gz: b59a671a4e6a13e719e443624f9455ec08ae56a5
5
5
  SHA512:
6
- metadata.gz: 8e837e6299ccc72a60bcd331630c4962d5d5783e6a1461cadb12af9c10a20f285dc23bda9df89d58ca490e1b525b3380874e8287600435deec31cad293086821
7
- data.tar.gz: fb2bf26f0fcfddc9e96ebc0a3b4ea226887e2285130ea2381e9d4148fec909a6a19816fb5339e65df80213ba9509dcae571a30b808f39ce398a6b88f7c23440f
6
+ metadata.gz: 113f472f35e7ef1ae285d2fe04b5ef1912908d6cdae496c6dbcb1209f2318512d67d7be02a56aa418fff4bf36203f4fe385e4bdf8b9b34ac0c15443f7214dbf0
7
+ data.tar.gz: cae7ea439e5fe803f4f810bcf288c010c0ab6d6f0b214bc9dfa67ce393d251924c95fcc4e8870daee07e63fd0491944f958deef910d2f65390014a162ef404ce
@@ -0,0 +1 @@
1
+ language: ruby
data/README.md CHANGED
@@ -24,6 +24,15 @@ hh[:foo_bar] = "Pigs"
24
24
  hh["FooBar"] # => "Pigs"
25
25
  ```
26
26
 
27
+ ## Performance
28
+
29
+ A HipsterHash is pretty quick - faster than an OpenStruct (and more, like,
30
+ sure, man), but not as fast as a Hash. And writing is *slow*. It's nifty for
31
+ scenarios like configuration objects that get created once, and accessed many
32
+ times.
33
+
34
+ Run the performance.rb script in the test directory for a gander.
35
+
27
36
  ## Contributing
28
37
 
29
38
  1. Fork it
@@ -31,3 +40,5 @@ hh["FooBar"] # => "Pigs"
31
40
  3. Commit your changes (`git commit -am 'Add some feature'`)
32
41
  4. Push to the branch (`git push origin my-new-feature`)
33
42
  5. Create new Pull Request
43
+
44
+ [![Build Status](https://travis-ci.org/bjjb/hipsterhash.svg?branch=master)](https://travis-ci.org/bjjb/hipsterhash)
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "hipsterhash"
7
- gem.version = "0.0.3"
7
+ gem.version = "0.0.4"
8
8
  gem.authors = ["bjjb"]
9
9
  gem.email = ["jj@bjjb.org"]
10
10
  gem.summary = %q{A Hash which is all, like, whatever.}
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
  A HipsterHash is just like a regular ruby Hash, except that it doesn't
13
13
  distinguish between symbols or strings, and the keys are case insensitive.
14
14
  DESC
15
- gem.homepage = "http://jjbuckley.github.com/hipsterhash"
15
+ gem.homepage = "http://bjjb.github.io/hipsterhash"
16
16
 
17
17
  gem.files = `git ls-files`.split($/)
18
18
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hipsterhash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - bjjb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-29 00:00:00.000000000 Z
11
+ date: 2014-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -48,6 +48,7 @@ extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
50
50
  - ".gitignore"
51
+ - ".travis.yml"
51
52
  - Gemfile
52
53
  - LICENSE.txt
53
54
  - README.md
@@ -59,7 +60,7 @@ files:
59
60
  - test/performance.rb
60
61
  - test/profile.rb
61
62
  - test/test_helper.rb
62
- homepage: http://jjbuckley.github.com/hipsterhash
63
+ homepage: http://bjjb.github.io/hipsterhash
63
64
  licenses: []
64
65
  metadata: {}
65
66
  post_install_message:
@@ -78,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
79
  version: '0'
79
80
  requirements: []
80
81
  rubyforge_project:
81
- rubygems_version: 2.2.0
82
+ rubygems_version: 2.2.2
82
83
  signing_key:
83
84
  specification_version: 4
84
85
  summary: A Hash which is all, like, whatever.