connie 0.0.1 → 0.1.0

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.
data/Gemfile CHANGED
@@ -1,4 +1,8 @@
1
- source 'http://rubygems.org'
1
+ source "http://rubygems.org"
2
2
 
3
-
4
- gem 'rspec', '>= 2.0.0.beta.20', :group => :test
3
+ group :development do
4
+ gem "rspec", "~> 2.3.0"
5
+ gem "bundler", "~> 1.0.0"
6
+ gem "jeweler", "~> 1.5.2"
7
+ gem "rcov", ">= 0"
8
+ end
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 ilpoldo
1
+ Copyright (c) 2009 Leandro Pedroni
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.rdoc CHANGED
@@ -35,13 +35,37 @@ For example inspecting the names dictionary:
35
35
  You receive a quick overview of what this dictionary can generate. To have the dictionary generate something simply:
36
36
  Connie[:names].first
37
37
 
38
+ ===Shorthands
39
+
40
+ Connie provides a couple of shorthands methods to randomise your data:
41
+ Connie([:one, :two, :three]) #=> returns randomly selected element of the array
42
+ Connie.letter #=> returns a random lowercase letter
43
+ Connie.letter :uppercase #=> returns a random uppercse letter
44
+ Connie? #=> returns true or false. Randomly
45
+
46
+ ===Interpolations
47
+
48
+ Interpolations happen in a dictionary but allow to reach others through scoping
49
+ >> Connie[:names].interpolate "Mr. :male :last: :geo.city, :geo.state_short"
50
+ #=> "Mr. Mark Taylor: Pleasant Hill, NY"
51
+
52
+ A shorthand method _i_ is provided for convenience and interpolation is also available through the global method:
53
+ Connie(':names.male :names.last')
54
+
38
55
  == Extending
39
56
  You can extend Dictionaries in two ways:
40
57
 
41
- * Providing word list files either by putting the _word_name_ file into the _dictionary_name_ folder in a folder registered with connie
42
- * Anywhere in your code by adding instance methods to the Connie::_DictionaryName_ module
58
+ === Word Lists
59
+ This will ensure that calling the word type a line is randomly picked from word list file
60
+
61
+ You can provide word list files inside folder registered with connie:
62
+ * by putting the _word_name_ file into the _dictionary_name_ folder
63
+ * by creating a _dictionary_name_._word_name_
43
64
 
44
- The first way will ensure that calling the word type a line is randomly picked from the list; the second is useful to aggregate different words from the lists and present the in different ways:
65
+ === Methods in the _DictionaryName_ module
66
+ Anywhere in your code by adding instance methods to the Connie::_DictionaryName_ module
67
+
68
+ It's handy to aggregate different words from the lists and present the in different ways:
45
69
 
46
70
  # e.g. Extending the names dictionary to return a full name
47
71
  module Connie
@@ -53,6 +77,14 @@ The first way will ensure that calling the word type a line is randomly picked f
53
77
  end
54
78
  end
55
79
 
80
+
81
+
82
+ To add a folder to Connie's sources just do something like this in your code:
83
+ Connie.dictionaries_path << 'my/cool/dictionaries'
84
+
85
+ == What next
86
+ It'd be nice to have an structured dictionary or a weighted one, where some options can occur more often than others (Eg not as many 'Count' as there are 'Dr.' or 'Mr.')
87
+
56
88
  == Note on Patches/Pull Requests
57
89
 
58
90
  * Fork the project.
data/Rakefile CHANGED
@@ -1,37 +1,42 @@
1
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
2
10
  require 'rake'
3
11
 
4
- begin
5
- require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "connie"
8
- gem.summary = %Q{Little compact library to synthesise data that does not load big files in memory}
9
- gem.description = %Q{Heavily based on Forgery it uses the same word sources. It's built to be a bit more customisable and allows you to define new strategies and styles both using ruby modules or big text lists.}
10
- gem.email = "ilpoldo@gmail.com"
11
- gem.homepage = "http://github.com/ilpoldo@gmail.com/connie"
12
- gem.authors = ["Leandro Pedroni"]
13
- gem.add_development_dependency "rspec", ">= 1.2.9"
14
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
- end
16
- Jeweler::GemcutterTasks.new
17
- rescue LoadError
18
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "connie"
16
+ gem.summary = %Q{Little compact library to synthesise data that does not load big files in memory}
17
+ gem.description = %Q{Heavily based on Forgery it uses the same word sources. It's built to be a bit more customisable and allows you to define new strategies and styles both using ruby modules or big text lists.}
18
+ gem.email = "ilpoldo@gmail.com"
19
+ gem.license = "MIT"
20
+ gem.email = "ilpoldo@gmail.com"
21
+ gem.authors = ["ilpoldo"]
22
+
23
+ gem.homepage = "http://github.com/ilpoldo/connie"
24
+ gem.authors = ["Leandro Pedroni"]
25
+
19
26
  end
27
+ Jeweler::RubygemsDotOrgTasks.new
20
28
 
21
- require 'spec/rake/spectask'
22
- Spec::Rake::SpecTask.new(:spec) do |spec|
23
- spec.libs << 'lib' << 'spec'
24
- spec.spec_files = FileList['spec/**/*_spec.rb']
29
+ require 'rspec/core'
30
+ require 'rspec/core/rake_task'
31
+ RSpec::Core::RakeTask.new(:spec) do |spec|
32
+ spec.pattern = FileList['spec/**/*_spec.rb']
25
33
  end
26
34
 
27
- Spec::Rake::SpecTask.new(:rcov) do |spec|
28
- spec.libs << 'lib' << 'spec'
35
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
29
36
  spec.pattern = 'spec/**/*_spec.rb'
30
37
  spec.rcov = true
31
38
  end
32
39
 
33
- task :spec => :check_dependencies
34
-
35
40
  task :default => :spec
36
41
 
37
42
  require 'rake/rdoctask'
@@ -39,7 +44,7 @@ Rake::RDocTask.new do |rdoc|
39
44
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
40
45
 
41
46
  rdoc.rdoc_dir = 'rdoc'
42
- rdoc.title = "connie #{version}"
47
+ rdoc.title = "examplegem #{version}"
43
48
  rdoc.rdoc_files.include('README*')
44
49
  rdoc.rdoc_files.include('lib/**/*.rb')
45
50
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.1.0
data/connie.gemspec ADDED
@@ -0,0 +1,94 @@
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 = %q{connie}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Leandro Pedroni"]
12
+ s.date = %q{2011-04-11}
13
+ s.description = %q{Heavily based on Forgery it uses the same word sources. It's built to be a bit more customisable and allows you to define new strategies and styles both using ruby modules or big text lists.}
14
+ s.email = %q{ilpoldo@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ "Gemfile",
21
+ "LICENSE",
22
+ "README.rdoc",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "connie.gemspec",
26
+ "lib/connie.rb",
27
+ "lib/connie/connie.rb",
28
+ "lib/connie/dictionary.rb",
29
+ "lib/connie/generators.rb",
30
+ "lib/connie/generators/dictionary.rb",
31
+ "lib/connie/parser.rb",
32
+ "lib/dictionaries/creative.rb",
33
+ "lib/dictionaries/creative/color",
34
+ "lib/dictionaries/creative/lorem_ipsum_lines",
35
+ "lib/dictionaries/geo.rb",
36
+ "lib/dictionaries/geo/city",
37
+ "lib/dictionaries/geo/country",
38
+ "lib/dictionaries/geo/language",
39
+ "lib/dictionaries/geo/province",
40
+ "lib/dictionaries/geo/province_short",
41
+ "lib/dictionaries/geo/race",
42
+ "lib/dictionaries/geo/state",
43
+ "lib/dictionaries/geo/state_short",
44
+ "lib/dictionaries/geo/street",
45
+ "lib/dictionaries/geo/street_suffix",
46
+ "lib/dictionaries/language/frequency",
47
+ "lib/dictionaries/names.rb",
48
+ "lib/dictionaries/names/company",
49
+ "lib/dictionaries/names/female",
50
+ "lib/dictionaries/names/female_title",
51
+ "lib/dictionaries/names/last",
52
+ "lib/dictionaries/names/male",
53
+ "lib/dictionaries/names/male_title",
54
+ "lib/dictionaries/names/suffix",
55
+ "lib/dictionaries/net/top_level_domain",
56
+ "lib/dictionaries/numbers.rb",
57
+ "lib/dictionaries/shopping.shirt_size",
58
+ "spec/connie_spec.rb",
59
+ "spec/spec_helper.rb",
60
+ "spec/test_dictionaries/names/male",
61
+ "spec/test_dictionaries/numbers/ordinal"
62
+ ]
63
+ s.homepage = %q{http://github.com/ilpoldo/connie}
64
+ s.licenses = ["MIT"]
65
+ s.require_paths = ["lib"]
66
+ s.rubygems_version = %q{1.7.2}
67
+ s.summary = %q{Little compact library to synthesise data that does not load big files in memory}
68
+ s.test_files = [
69
+ "spec/connie_spec.rb",
70
+ "spec/spec_helper.rb"
71
+ ]
72
+
73
+ if s.respond_to? :specification_version then
74
+ s.specification_version = 3
75
+
76
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
77
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
78
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
79
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
80
+ s.add_development_dependency(%q<rcov>, [">= 0"])
81
+ else
82
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
83
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
84
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
85
+ s.add_dependency(%q<rcov>, [">= 0"])
86
+ end
87
+ else
88
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
89
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
90
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
91
+ s.add_dependency(%q<rcov>, [">= 0"])
92
+ end
93
+ end
94
+
data/lib/connie/connie.rb CHANGED
@@ -17,10 +17,15 @@ module Connie
17
17
  @dictionaries[dictionary.name.to_sym] = dictionary
18
18
  end
19
19
 
20
- # Picks a random line from a text file
21
- def self.pick_a_line_from(file_path)
20
+ # Picks a random line from a text file or a precise line if a number is provided
21
+ def self.pick_a_line_from(file_path, line_no = false)
22
22
  File.open file_path, 'r' do |file|
23
- file.inject { |choice, line| rand < 1/file.lineno.to_f ? line.gsub(%r{\s$},'') : choice }
23
+ unless line_no
24
+ file.inject { |choice, line| rand < 1/file.lineno.to_f ? line.strip : choice }
25
+ else
26
+ line = line_no % (file.lineno - 1) # cycles around the file
27
+ file.readlines[line_no-1].strip
28
+ end
24
29
  end
25
30
  end
26
31
 
@@ -46,7 +46,7 @@ module Connie
46
46
  @word_lists.keys.each do |list|
47
47
  instance_eval <<-LIST
48
48
  def #{list} options={}
49
- interpolate Connie.pick_a_line_from @word_lists[:#{list}]
49
+ interpolate Connie.pick_a_line_from @word_lists[:#{list}], options[:line]
50
50
  end
51
51
  LIST
52
52
  end
data/lib/connie/parser.rb CHANGED
@@ -5,7 +5,7 @@ module Connie
5
5
  attr_accessor :dictionary
6
6
 
7
7
  @syntax = {# :method or :dictionary.method
8
- %r{((?:[\\]+)?\:\w\w+(?:.\w+)?)} => lambda do |dictionary_and_method|
8
+ %r{((?:[\\]+)?\:[a-z]\w+(?:.\w+)?)} => lambda do |dictionary_and_method|
9
9
  arguments = dictionary_and_method[1..-1].split('.').map &:to_sym
10
10
  case arguments.size
11
11
  when 2 then Connie[arguments[0]].send arguments[1]
@@ -37,9 +37,10 @@ module Connie
37
37
  # calls trasform on the tokens marked for interpolation and deals with escaping
38
38
  def apply_syntax tokens
39
39
  tokens.map do |t|
40
- if t[0] && t[0].chr == ':'
40
+ if t.match '\:[a-z]'
41
41
  transform t
42
42
  elsif t[0] && t[0].chr == '\\' # some level of escaping is present
43
+ t.match %r{([\\]+)\:}
43
44
  raise 'I don\' speak escapeese yet!'
44
45
  else
45
46
  t
data/lib/connie.rb CHANGED
@@ -53,7 +53,13 @@ def Connie(argument, options={})
53
53
  end
54
54
  when Array
55
55
  argument[rand(argument.size)]
56
+ when Range
57
+ rand(argument.max-argument.min+1) + argument.min
56
58
  else
57
59
  raise ArgumentError, 'Connie\'s shorthand expects a string to parse or a symbol or an array'
58
60
  end
61
+ end
62
+
63
+ def Connie?
64
+ [true,false][rand 2]
59
65
  end
File without changes
@@ -1,5 +1,4 @@
1
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
2
- Proin risus.
1
+ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus.
3
2
  Praesent lectus.
4
3
  Vestibulum quam sapien, varius ut, blandit non, interdum in, ante.
5
4
  Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio.
@@ -0,0 +1,16 @@
1
+ module Connie
2
+ module Creative
3
+
4
+ def lorem_ipsum length = 6100
5
+ result = ""
6
+ line = 1
7
+ while result.length < length
8
+ result << lorem_ipsum_lines(:line => line)
9
+ line += 1
10
+ end
11
+
12
+ result
13
+ end
14
+
15
+ end
16
+ end
@@ -0,0 +1,9 @@
1
+ module Connie
2
+ module Geo
3
+
4
+ def full_address
5
+ "#{Connie(1..500)}, #{street} #{street_suffix} \n #{city}, #{country}"
6
+ end
7
+
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ Ms.
2
+ Mrs.
3
+ Dr.
4
+ Honorable
5
+ Mrs.
6
+ Ms.
7
+ Lady
8
+ Countess
9
+ Mrs.
10
+ Miss
@@ -0,0 +1,8 @@
1
+ Mr.
2
+ Dr.
3
+ Rev.
4
+ Honorable
5
+ Sir
6
+ Mr.
7
+ Count
8
+ Mr.
@@ -3,14 +3,30 @@ module Connie
3
3
 
4
4
  # Returns either a male or a female first name
5
5
  def first
6
- Connie [true, false] ? male : female
6
+ Connie? ? male : female
7
7
  end
8
8
 
9
9
  def gender
10
- Connie [true ,false] ? 'male' : 'female'
10
+ Connie? ? 'male' : 'female'
11
11
  end
12
12
 
13
- # TODO: create a gender sensitive title
13
+ def title
14
+ Connie? ? male_title : female_title
15
+ end
16
+
17
+ # Returns an array of same gender name and title
18
+ def first_with_title
19
+ Connie? ? [male, male_title] : [female, female_title]
20
+ end
21
+
22
+
23
+ def first_sometimes_with_title
24
+ if Connie?
25
+ Connie? ? [male, male_title] : [female, female_title]
26
+ else
27
+ Connie? ? [male] : [female]
28
+ end
29
+ end
14
30
 
15
31
  end
16
32
  end
@@ -0,0 +1,17 @@
1
+ module Connie
2
+ module Numbers
3
+
4
+ def telephone
5
+ Connie(':d{2} :d{7,9}')
6
+ end
7
+
8
+ def uk_mobile_phone
9
+ Connie('07 :d{3} :d{6,8}')
10
+ end
11
+
12
+ def international_telephone
13
+ Connie('+:d{2} :d{3,5} :d{7,9}')
14
+ end
15
+
16
+ end
17
+ end
data/spec/connie_spec.rb CHANGED
@@ -54,7 +54,7 @@ describe Connie, 'api' do
54
54
  Connie[:names].misspelled_name.should match(%r{[MN][ab][rs][kl]})
55
55
  end
56
56
 
57
- it "supports recursive calls to generators" do
57
+ it "doesn't mess up calls between dictionaries" do
58
58
  module Connie
59
59
  module Geo
60
60
  def where
@@ -64,12 +64,12 @@ describe Connie, 'api' do
64
64
 
65
65
  module Address
66
66
  def name_and_where
67
- interpolate ":names.first :geo.where"
67
+ interpolate ":names.first :names.last :geo.where"
68
68
  end
69
69
  end
70
70
  end
71
71
 
72
- Connie[:address].name_and_where.should match(%r{Mark [A-Za-z]+, [A-Z]{2,2}})
72
+ Connie[:address].name_and_where.should match(%r{Mark [A-Za-z]+ [A-Za-z ]+, [A-Z]{2,2}})
73
73
  end
74
74
 
75
75
  it "can store possible formats in a dictionary" do
@@ -93,6 +93,11 @@ describe Connie, 'dictionaries' do
93
93
  pending
94
94
  end
95
95
 
96
+ it "fetches lines in order from the dictionary" do
97
+ Connie[:numbers].ordinal(:line => 3).should eql('Third')
98
+ Connie[:numbers].ordinal(:line => 9).should eql('Third')
99
+ end
100
+
96
101
  it "should warn in case of double dictionary" do
97
102
  pending
98
103
  end
@@ -0,0 +1,6 @@
1
+ First
2
+ Second
3
+ Third
4
+ Fourth
5
+ Fifth
6
+ Sixth
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: connie
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
4
+ hash: 27
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
- - 0
9
8
  - 1
10
- version: 0.0.1
9
+ - 0
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Leandro Pedroni
@@ -15,25 +15,70 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-04 00:00:00 +01:00
19
- default_executable:
18
+ date: 2011-04-11 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
21
+ requirement: &id001 !ruby/object:Gem::Requirement
22
+ none: false
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ hash: 3
27
+ segments:
28
+ - 2
29
+ - 3
30
+ - 0
31
+ version: 2.3.0
32
+ version_requirements: *id001
22
33
  name: rspec
23
34
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
35
+ type: :development
36
+ - !ruby/object:Gem::Dependency
37
+ requirement: &id002 !ruby/object:Gem::Requirement
25
38
  none: false
26
39
  requirements:
27
- - - ">="
40
+ - - ~>
41
+ - !ruby/object:Gem::Version
42
+ hash: 23
43
+ segments:
44
+ - 1
45
+ - 0
46
+ - 0
47
+ version: 1.0.0
48
+ version_requirements: *id002
49
+ name: bundler
50
+ prerelease: false
51
+ type: :development
52
+ - !ruby/object:Gem::Dependency
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ~>
28
57
  - !ruby/object:Gem::Version
29
- hash: 13
58
+ hash: 7
30
59
  segments:
31
60
  - 1
61
+ - 5
32
62
  - 2
33
- - 9
34
- version: 1.2.9
63
+ version: 1.5.2
64
+ version_requirements: *id003
65
+ name: jeweler
66
+ prerelease: false
67
+ type: :development
68
+ - !ruby/object:Gem::Dependency
69
+ requirement: &id004 !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ hash: 3
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ version_requirements: *id004
79
+ name: rcov
80
+ prerelease: false
35
81
  type: :development
36
- version_requirements: *id001
37
82
  description: Heavily based on Forgery it uses the same word sources. It's built to be a bit more customisable and allows you to define new strategies and styles both using ruby modules or big text lists.
38
83
  email: ilpoldo@gmail.com
39
84
  executables: []
@@ -44,20 +89,22 @@ extra_rdoc_files:
44
89
  - LICENSE
45
90
  - README.rdoc
46
91
  files:
47
- - .gitignore
48
92
  - Gemfile
49
93
  - LICENSE
50
94
  - README.rdoc
51
95
  - Rakefile
52
96
  - VERSION
97
+ - connie.gemspec
53
98
  - lib/connie.rb
54
99
  - lib/connie/connie.rb
55
100
  - lib/connie/dictionary.rb
56
101
  - lib/connie/generators.rb
57
102
  - lib/connie/generators/dictionary.rb
58
103
  - lib/connie/parser.rb
59
- - lib/dictionaries/creative.color
60
- - lib/dictionaries/creative.lorem_ipsum
104
+ - lib/dictionaries/creative.rb
105
+ - lib/dictionaries/creative/color
106
+ - lib/dictionaries/creative/lorem_ipsum_lines
107
+ - lib/dictionaries/geo.rb
61
108
  - lib/dictionaries/geo/city
62
109
  - lib/dictionaries/geo/country
63
110
  - lib/dictionaries/geo/language
@@ -72,22 +119,24 @@ files:
72
119
  - lib/dictionaries/names.rb
73
120
  - lib/dictionaries/names/company
74
121
  - lib/dictionaries/names/female
122
+ - lib/dictionaries/names/female_title
75
123
  - lib/dictionaries/names/last
76
124
  - lib/dictionaries/names/male
125
+ - lib/dictionaries/names/male_title
77
126
  - lib/dictionaries/names/suffix
78
- - lib/dictionaries/names/title
79
127
  - lib/dictionaries/net/top_level_domain
128
+ - lib/dictionaries/numbers.rb
80
129
  - lib/dictionaries/shopping.shirt_size
81
130
  - spec/connie_spec.rb
82
131
  - spec/spec_helper.rb
83
132
  - spec/test_dictionaries/names/male
84
- has_rdoc: true
85
- homepage: http://github.com/ilpoldo@gmail.com/connie
86
- licenses: []
87
-
133
+ - spec/test_dictionaries/numbers/ordinal
134
+ homepage: http://github.com/ilpoldo/connie
135
+ licenses:
136
+ - MIT
88
137
  post_install_message:
89
- rdoc_options:
90
- - --charset=UTF-8
138
+ rdoc_options: []
139
+
91
140
  require_paths:
92
141
  - lib
93
142
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -111,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
160
  requirements: []
112
161
 
113
162
  rubyforge_project:
114
- rubygems_version: 1.3.7
163
+ rubygems_version: 1.7.2
115
164
  signing_key:
116
165
  specification_version: 3
117
166
  summary: Little compact library to synthesise data that does not load big files in memory
data/.gitignore DELETED
@@ -1,23 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC
22
- .bundle
23
- Gemfile.lock
@@ -1,6 +0,0 @@
1
- Mr
2
- Ms
3
- Mrs
4
- Dr
5
- Rev
6
- Honorable