rpg 1.0 → 1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/rpg/pesel.rb +1 -1
  2. data/lib/rpg/version.rb +1 -1
  3. metadata +1 -1
data/lib/rpg/pesel.rb CHANGED
@@ -2,7 +2,7 @@ module Rpg
2
2
  class Pesel
3
3
  def initialize(options = {})
4
4
  @date = options[:date].is_a?(Date) ? options[:date] : Date.parse(options[:date])
5
- @gender = options[:gender] || :male
5
+ @gender = options[:gender] || [:male, :female].sample
6
6
  end
7
7
 
8
8
  def generate
data/lib/rpg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rpg
2
- VERSION = "1.0"
2
+ VERSION = "1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpg
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: