rugger 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -16,3 +16,6 @@ tmp
16
16
  .yardoc
17
17
  _yardoc
18
18
  doc/
19
+
20
+ *.sublime-project
21
+ *.sublime-workspace
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rake'
4
+
5
+ group :test do
6
+ gem 'minitest', '~> 4'
7
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,12 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ minitest (4.6.1)
5
+ rake (10.0.3)
6
+
7
+ PLATFORMS
8
+ ruby
9
+
10
+ DEPENDENCIES
11
+ minitest (~> 4)
12
+ rake
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  Rugger
2
2
  ======
3
3
 
4
- A gem for generating random usernames with a preferred format and apparently a furry rodent from the forest mooon of Endor.
4
+ [![Gem Version](https://badge.fury.io/rb/rugger.png)](http://badge.fury.io/rb/rugger) [![Build Status](https://travis-ci.org/matthewl/rugger.png?branch=master)](https://travis-ci.org/matthewl/rugger) [![Dependency Status](https://gemnasium.com/matthewl/rugger.png)](https://gemnasium.com/matthewl/rugger)
5
+
6
+ A gem for generating usernames with a preferred format and apparently a furry rodent from the forest mooon of Endor.
5
7
 
6
8
  Lots of applications now provide users with unique usernames or email addresses that provide users with another way of interacting with their account. Rugger let's you generate such usernames for your application and allows you to use any format of username of your choosing.
data/Rakefile CHANGED
@@ -1,7 +1,9 @@
1
1
  require 'rake/testtask'
2
2
 
3
- Rake::TestTask.new do |t|
4
- t.libs << 'test'
3
+ Rake::TestTask.new(:test) do |t|
4
+ t.libs << 'lib'
5
+ t.pattern = 'test/**/test_*.rb'
6
+ t.verbose = true
5
7
  end
6
8
 
7
9
  desc "Run tests"
data/rugger.gemspec ADDED
@@ -0,0 +1,14 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = 'rugger'
3
+ s.version = '0.0.2'
4
+ s.date = '2012-10-26'
5
+ s.summary = "A gem for generating usernames with a preferred format."
6
+ s.description = "A gem for generating usernames with a preferred format."
7
+ s.authors = ["Matthew Lang"]
8
+ s.email = 'matthew@matthewlang.co.uk'
9
+ s.files = ["lib/rugger.rb"]
10
+ s.homepage = "http://matthewl.github.com/rugger"
11
+
12
+ s.files = `git ls-files`.split("\n")
13
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
+ end
data/test/test_rugger.rb CHANGED
@@ -1,7 +1,7 @@
1
- require 'test/unit'
1
+ require 'minitest/autorun'
2
2
  require 'rugger'
3
3
 
4
- class RuggerTest < Test::Unit::TestCase
4
+ class RuggerTest < MiniTest::Unit::TestCase
5
5
 
6
6
  def test_length_of_generated_username
7
7
  s = Rugger.generate_username("cvcvcvnn")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-26 00:00:00.000000000Z
12
+ date: 2012-10-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A gem for generating usernames with a preferred format.
15
15
  email: matthew@matthewlang.co.uk
@@ -18,9 +18,12 @@ extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
20
  - .gitignore
21
+ - Gemfile
22
+ - Gemfile.lock
21
23
  - README.md
22
24
  - Rakefile
23
25
  - lib/rugger.rb
26
+ - rugger.gemspec
24
27
  - test/test_rugger.rb
25
28
  homepage: http://matthewl.github.com/rugger
26
29
  licenses: []
@@ -42,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
42
45
  version: '0'
43
46
  requirements: []
44
47
  rubyforge_project:
45
- rubygems_version: 1.8.10
48
+ rubygems_version: 1.8.25
46
49
  signing_key:
47
50
  specification_version: 3
48
51
  summary: A gem for generating usernames with a preferred format.