ruby_identicon 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -0
- data/Gemfile +4 -0
- data/README.md +5 -0
- data/Rakefile +4 -0
- data/lib/ruby_identicon/version.rb +1 -1
- data/spec/helper.rb +5 -0
- data/spec/ruby_identicon_spec.rb +5 -2
- metadata +17 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e4fd1ab15de4f9a58dcf8691a03577f61e2f518
|
4
|
+
data.tar.gz: 478b2838da314ef4ae34ff9f8424003f5c0abf4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a8eda4c940f78b7ef21095014f7af8a4d2004621567b5816518e9f49875418179297b9752a8ad12eaeffe14e313c414b66e40668700847b7e7f073a9b8f332d
|
7
|
+
data.tar.gz: 0ca17ebe08f25cb69a99a81321b35fd8110c72cab3c39cdd309b8dc0fc4a64c9625a9d1cc2045ff8640dabe038c31427f12a9c1bffb853d998ee6a26bdbbb292
|
data/.travis.yml
ADDED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# RubyIdenticon
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/ruby_identicon.png)](http://badge.fury.io/rb/ruby_identicon)
|
4
|
+
[![Build Status](https://api.travis-ci.org/chrisbranson/ruby_identicon.png?branch=master)](http://travis-ci.org/chrisbranson/ruby_identicon)
|
5
|
+
[![Dependency Status](https://gemnasium.com/chrisbranson/ruby_identicon.png)](https://gemnasium.com/chrisbranson/ruby_identicon)
|
6
|
+
[![Coverage Status](https://coveralls.io/repos/chrisbranson/ruby_identicon/badge.png)](https://coveralls.io/r/chrisbranson/ruby_identicon)
|
7
|
+
|
3
8
|
![Example Identicon](https://dl.dropboxusercontent.com/u/176278/ruby_identicon.png)
|
4
9
|
|
5
10
|
A Ruby implementation of [go-identicon](https://github.com/dgryski/go-identicon) by Damian Gryski
|
data/Rakefile
CHANGED
data/spec/helper.rb
ADDED
data/spec/ruby_identicon_spec.rb
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
-
require '
|
2
|
-
require 'ruby_identicon'
|
1
|
+
require 'helper'
|
3
2
|
|
4
3
|
describe RubyIdenticon do
|
4
|
+
before(:each) do
|
5
|
+
Dir.mkdir("tmp") unless File.directory?("tmp")
|
6
|
+
end
|
7
|
+
|
5
8
|
it "creates a binary string image blob" do
|
6
9
|
expect(RubyIdenticon.create("RubyIdenticon")).to be_a_kind_of(String)
|
7
10
|
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_identicon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Branson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '2.6'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.6'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: chunky_png
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 1.2.8
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.2.8
|
69
69
|
description: |2
|
@@ -83,7 +83,8 @@ executables: []
|
|
83
83
|
extensions: []
|
84
84
|
extra_rdoc_files: []
|
85
85
|
files:
|
86
|
-
- .gitignore
|
86
|
+
- ".gitignore"
|
87
|
+
- ".travis.yml"
|
87
88
|
- Gemfile
|
88
89
|
- LICENSE.txt
|
89
90
|
- README.md
|
@@ -92,6 +93,7 @@ files:
|
|
92
93
|
- lib/ruby_identicon/version.rb
|
93
94
|
- lib/siphash.rb
|
94
95
|
- ruby_identicon.gemspec
|
96
|
+
- spec/helper.rb
|
95
97
|
- spec/ruby_identicon_spec.rb
|
96
98
|
homepage: ''
|
97
99
|
licenses:
|
@@ -103,19 +105,20 @@ require_paths:
|
|
103
105
|
- lib
|
104
106
|
required_ruby_version: !ruby/object:Gem::Requirement
|
105
107
|
requirements:
|
106
|
-
- -
|
108
|
+
- - ">="
|
107
109
|
- !ruby/object:Gem::Version
|
108
110
|
version: '0'
|
109
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
112
|
requirements:
|
111
|
-
- -
|
113
|
+
- - ">="
|
112
114
|
- !ruby/object:Gem::Version
|
113
115
|
version: '0'
|
114
116
|
requirements: []
|
115
117
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.0
|
118
|
+
rubygems_version: 2.2.0
|
117
119
|
signing_key:
|
118
120
|
specification_version: 4
|
119
121
|
summary: A Ruby Gem for creating GitHub like identicons
|
120
122
|
test_files:
|
123
|
+
- spec/helper.rb
|
121
124
|
- spec/ruby_identicon_spec.rb
|