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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 763a08551f9e59b52c16fd37d6f49a4818d1b474
4
- data.tar.gz: ce13ad62ec04828f27d775eb59992e71eae6993c
3
+ metadata.gz: 3e4fd1ab15de4f9a58dcf8691a03577f61e2f518
4
+ data.tar.gz: 478b2838da314ef4ae34ff9f8424003f5c0abf4c
5
5
  SHA512:
6
- metadata.gz: ad4ac658f45c965c815849e5b04d4fa74fa9206524a276368aaff96b8013673b4e4588e3e3ba5cdcc79c9cc9e5c03b4e49cb7d67ca601549a1589c09b205372e
7
- data.tar.gz: 8f5a5a5b9e7d6b70dfefa75367b3fed413270ea15fd9557891083e191cada9c45fd5d88a39b5c0a5709f843e1c7868764b2f2b4a2eadc56d1469abeb0439b0dd
6
+ metadata.gz: 9a8eda4c940f78b7ef21095014f7af8a4d2004621567b5816518e9f49875418179297b9752a8ad12eaeffe14e313c414b66e40668700847b7e7f073a9b8f332d
7
+ data.tar.gz: 0ca17ebe08f25cb69a99a81321b35fd8110c72cab3c39cdd309b8dc0fc4a64c9625a9d1cc2045ff8640dabe038c31427f12a9c1bffb853d998ee6a26bdbbb292
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ notifications:
6
+ email: false
data/Gemfile CHANGED
@@ -1,4 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ group :test do
4
+ gem 'coveralls', :require => false
5
+ end
6
+
3
7
  # Specify your gem's dependencies in ruby_identicon.gemspec
4
8
  gemspec
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
@@ -1 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ require 'rspec/core/rake_task'
4
+ task :default => :spec
5
+ RSpec::Core::RakeTask.new
@@ -1,3 +1,3 @@
1
1
  module RubyIdenticon
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -0,0 +1,5 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
4
+ require 'rspec'
5
+ require 'ruby_identicon'
@@ -1,7 +1,10 @@
1
- require 'rspec'
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.1
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: 2013-08-20 00:00:00.000000000 Z
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.7
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