adroit-age 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,10 +1,10 @@
1
- = adroit-age
1
+ == adroit-age
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/adroit-age.png)](http://badge.fury.io/rb/adroit-age)
3
+ {<img src="https://badge.fury.io/rb/adroit-age.png" alt="Gem Version" />}[http://badge.fury.io/rb/adroit-age]
4
4
 
5
5
  This gem is used to find the age using date of birth, its also works for leap years.
6
6
 
7
- == Installation
7
+ === Installation
8
8
 
9
9
  gem install adroit-age
10
10
 
@@ -12,11 +12,11 @@ Insert into your gem file
12
12
 
13
13
  gem "adroit-age"
14
14
 
15
- == Usage
15
+ === Usage
16
16
 
17
17
  age = AdroitAge.find_age("23/01/1990")
18
18
 
19
- == Contributing to adroit-age
19
+ === Contributing to adroit-age
20
20
 
21
21
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
22
22
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
@@ -26,7 +26,7 @@ Insert into your gem file
26
26
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
27
27
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
28
28
 
29
- == Copyright
29
+ === Copyright
30
30
 
31
31
  Copyright (c) 2013 Raj Adroit. See LICENSE.txt for
32
32
  further details.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adroit-age
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -99,17 +99,9 @@ extra_rdoc_files:
99
99
  - LICENSE.txt
100
100
  - README.rdoc
101
101
  files:
102
- - .document
103
- - Gemfile
104
- - Gemfile.lock
102
+ - lib/adroit-age.rb
105
103
  - LICENSE.txt
106
104
  - README.rdoc
107
- - Rakefile
108
- - VERSION
109
- - adroit-age.gemspec
110
- - lib/adroit-age.rb
111
- - test/helper.rb
112
- - test/test_adroit-age.rb
113
105
  homepage: http://github.com/raj-adroit/adroit-age
114
106
  licenses:
115
107
  - MIT
@@ -125,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
117
  version: '0'
126
118
  segments:
127
119
  - 0
128
- hash: 1053347633
120
+ hash: -864123267
129
121
  required_rubygems_version: !ruby/object:Gem::Requirement
130
122
  none: false
131
123
  requirements:
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/Gemfile DELETED
@@ -1,14 +0,0 @@
1
- source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
5
-
6
- # Add dependencies to develop your gem here.
7
- # Include everything needed to run rake, tests, features, etc.
8
- group :development do
9
- gem "shoulda", ">= 0"
10
- gem "rdoc", "~> 3.12"
11
- gem "bundler", "~> 1.0"
12
- gem "jeweler", "~> 1.8.7"
13
- gem "rcov", ">= 0"
14
- end
data/Gemfile.lock DELETED
@@ -1,74 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- activesupport (4.0.0)
5
- i18n (~> 0.6, >= 0.6.4)
6
- minitest (~> 4.2)
7
- multi_json (~> 1.3)
8
- thread_safe (~> 0.1)
9
- tzinfo (~> 0.3.37)
10
- addressable (2.3.5)
11
- atomic (1.1.13)
12
- builder (3.2.2)
13
- faraday (0.8.8)
14
- multipart-post (~> 1.2.0)
15
- git (1.2.6)
16
- github_api (0.10.1)
17
- addressable
18
- faraday (~> 0.8.1)
19
- hashie (>= 1.2)
20
- multi_json (~> 1.4)
21
- nokogiri (~> 1.5.2)
22
- oauth2
23
- hashie (2.0.5)
24
- highline (1.6.19)
25
- httpauth (0.2.0)
26
- i18n (0.6.5)
27
- jeweler (1.8.7)
28
- builder
29
- bundler (~> 1.0)
30
- git (>= 1.2.5)
31
- github_api (= 0.10.1)
32
- highline (>= 1.6.15)
33
- nokogiri (= 1.5.10)
34
- rake
35
- rdoc
36
- json (1.8.0)
37
- jwt (0.1.8)
38
- multi_json (>= 1.5)
39
- minitest (4.7.5)
40
- multi_json (1.7.9)
41
- multi_xml (0.5.5)
42
- multipart-post (1.2.0)
43
- nokogiri (1.5.10)
44
- oauth2 (0.9.2)
45
- faraday (~> 0.8)
46
- httpauth (~> 0.2)
47
- jwt (~> 0.1.4)
48
- multi_json (~> 1.0)
49
- multi_xml (~> 0.5)
50
- rack (~> 1.2)
51
- rack (1.5.2)
52
- rake (10.1.0)
53
- rcov (0.9.11)
54
- rdoc (3.12.2)
55
- json (~> 1.4)
56
- shoulda (3.5.0)
57
- shoulda-context (~> 1.0, >= 1.0.1)
58
- shoulda-matchers (>= 1.4.1, < 3.0)
59
- shoulda-context (1.1.5)
60
- shoulda-matchers (2.3.0)
61
- activesupport (>= 3.0.0)
62
- thread_safe (0.1.2)
63
- atomic
64
- tzinfo (0.3.37)
65
-
66
- PLATFORMS
67
- ruby
68
-
69
- DEPENDENCIES
70
- bundler (~> 1.0)
71
- jeweler (~> 1.8.7)
72
- rcov
73
- rdoc (~> 3.12)
74
- shoulda
data/Rakefile DELETED
@@ -1,53 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'rubygems'
4
- require 'bundler'
5
- begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
11
- end
12
- require 'rake'
13
-
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
- gem.name = "adroit-age"
18
- gem.homepage = "http://github.com/raj-adroit/adroit-age"
19
- gem.license = "MIT"
20
- gem.summary = %Q{adroit-age gem to find age}
21
- gem.description = %Q{A simple gem to find age using date of birth - works for leap years also}
22
- gem.email = "raja.nice23@gmail.com"
23
- gem.authors = ["Raj Adroit"]
24
- # dependencies defined in Gemfile
25
- end
26
- Jeweler::RubygemsDotOrgTasks.new
27
-
28
- require 'rake/testtask'
29
- Rake::TestTask.new(:test) do |test|
30
- test.libs << 'lib' << 'test'
31
- test.pattern = 'test/**/test_*.rb'
32
- test.verbose = true
33
- end
34
-
35
- require 'rcov/rcovtask'
36
- Rcov::RcovTask.new do |test|
37
- test.libs << 'test'
38
- test.pattern = 'test/**/test_*.rb'
39
- test.verbose = true
40
- test.rcov_opts << '--exclude "gems/*"'
41
- end
42
-
43
- task :default => :test
44
-
45
- require 'rdoc/task'
46
- Rake::RDocTask.new do |rdoc|
47
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
-
49
- rdoc.rdoc_dir = 'rdoc'
50
- rdoc.title = "adroit-age #{version}"
51
- rdoc.rdoc_files.include('README*')
52
- rdoc.rdoc_files.include('lib/**/*.rb')
53
- end
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.4
data/adroit-age.gemspec DELETED
@@ -1,62 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "adroit-age"
8
- s.version = "1.0.4"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Raj Adroit"]
12
- s.date = "2013-09-06"
13
- s.description = "A simple gem to find age using date of birth - works for leap years also"
14
- s.email = "raja.nice23@gmail.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- "Gemfile",
22
- "Gemfile.lock",
23
- "LICENSE.txt",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "adroit-age.gemspec",
28
- "lib/adroit-age.rb",
29
- "test/helper.rb",
30
- "test/test_adroit-age.rb"
31
- ]
32
- s.homepage = "http://github.com/raj-adroit/adroit-age"
33
- s.licenses = ["MIT"]
34
- s.require_paths = ["lib"]
35
- s.rubygems_version = "1.8.25"
36
- s.summary = "adroit-age gem to find age"
37
-
38
- if s.respond_to? :specification_version then
39
- s.specification_version = 3
40
-
41
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
42
- s.add_development_dependency(%q<shoulda>, [">= 0"])
43
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
44
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
45
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.7"])
46
- s.add_development_dependency(%q<rcov>, [">= 0"])
47
- else
48
- s.add_dependency(%q<shoulda>, [">= 0"])
49
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
50
- s.add_dependency(%q<bundler>, ["~> 1.0"])
51
- s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
52
- s.add_dependency(%q<rcov>, [">= 0"])
53
- end
54
- else
55
- s.add_dependency(%q<shoulda>, [">= 0"])
56
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
57
- s.add_dependency(%q<bundler>, ["~> 1.0"])
58
- s.add_dependency(%q<jeweler>, ["~> 1.8.7"])
59
- s.add_dependency(%q<rcov>, [">= 0"])
60
- end
61
- end
62
-
data/test/helper.rb DELETED
@@ -1,18 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- begin
4
- Bundler.setup(:default, :development)
5
- rescue Bundler::BundlerError => e
6
- $stderr.puts e.message
7
- $stderr.puts "Run `bundle install` to install missing gems"
8
- exit e.status_code
9
- end
10
- require 'test/unit'
11
- require 'shoulda'
12
-
13
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
- $LOAD_PATH.unshift(File.dirname(__FILE__))
15
- require 'adroit-age'
16
-
17
- class Test::Unit::TestCase
18
- end
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class TestAdroitAge < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end