sixarm_ruby_fab 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/Rakefile +6 -4
  5. data/lib/sixarm_ruby_fab.rb +5 -5
  6. data/lib/sixarm_ruby_fab/date.rb +2 -2
  7. data/lib/sixarm_ruby_fab/datetime.rb +2 -2
  8. data/lib/sixarm_ruby_fab/forgery/geo.rb +1 -1
  9. data/lib/sixarm_ruby_fab/forgery/uri.rb +1 -1
  10. data/lib/sixarm_ruby_fab/time.rb +2 -2
  11. data/lib/sixarm_ruby_fab/twitter.rb +9 -9
  12. data/test/sixarm_ruby_fab_test.rb +3 -3
  13. data/test/sixarm_ruby_fab_test/agent_test.rb +2 -2
  14. data/test/sixarm_ruby_fab_test/basic_test.rb +2 -2
  15. data/test/sixarm_ruby_fab_test/company_test.rb +2 -2
  16. data/test/sixarm_ruby_fab_test/date_test.rb +2 -2
  17. data/test/sixarm_ruby_fab_test/datetime_test.rb +2 -2
  18. data/test/sixarm_ruby_fab_test/email_test.rb +2 -2
  19. data/test/sixarm_ruby_fab_test/files_test.rb +2 -2
  20. data/test/sixarm_ruby_fab_test/geo_test.rb +2 -2
  21. data/test/sixarm_ruby_fab_test/id_test.rb +2 -2
  22. data/test/sixarm_ruby_fab_test/internet_test.rb +2 -2
  23. data/test/sixarm_ruby_fab_test/locale_test.rb +2 -2
  24. data/test/sixarm_ruby_fab_test/mime_test.rb +2 -2
  25. data/test/sixarm_ruby_fab_test/names_test.rb +2 -2
  26. data/test/sixarm_ruby_fab_test/password_test.rb +2 -2
  27. data/test/sixarm_ruby_fab_test/phone_test.rb +2 -2
  28. data/test/sixarm_ruby_fab_test/postal_test.rb +2 -2
  29. data/test/sixarm_ruby_fab_test/text_test.rb +2 -2
  30. data/test/sixarm_ruby_fab_test/time_test.rb +2 -2
  31. data/test/sixarm_ruby_fab_test/twitter_test.rb +2 -14
  32. data/test/sixarm_ruby_fab_test/username_test.rb +2 -2
  33. data/test/sixarm_ruby_fab_test/uuid_test.rb +2 -2
  34. metadata +156 -38
  35. metadata.gz.sig +0 -0
  36. data/.gemtest +0 -0
  37. data/CONTRIBUTING.md +0 -28
  38. data/README.md +0 -93
  39. data/VERSION +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dec74d4f76df2a6375691617d31a5c6580f4365
4
- data.tar.gz: ffa1905599eb14107716fbcc5c5f2d570bb461f5
3
+ metadata.gz: b09a7aec1c55d029e5adefa6227bbece17a7db33
4
+ data.tar.gz: df003306e2e2a2d62b49fb2f190d49caaaadfd28
5
5
  SHA512:
6
- metadata.gz: a1b448af09ce63143911d96ecc2c66132a4dd0077a692423c03cd92b48a0a1a56eee64ff84cb3ef428c142faa74870b533a19b32537f30deb52a952390df478e
7
- data.tar.gz: 2ef91747b4dae337c05c267b8d4f3cc951e6503e90520b0ac2f23b760b868f359eef5d24e8dd759f5892f0067eaf668dff0d3a23b20687a951638202353fc6ba
6
+ metadata.gz: 4a2bffbe66728f0b90d4382ccd4a2db743ea7c578444bc6287572b228613d14175900addbb4d4d5ec0430d8b51834b8af25b49c431fd739b47ad8a2a6db4e014
7
+ data.tar.gz: d945aa02ba66797420c4ed114c0029f738d6cc00535d9f263fc83f5d96d8f5c94c1a8173e725f412ce0f882f14f7cc54aee9190c86e7545c47727fa981b126e7
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/Rakefile CHANGED
@@ -1,8 +1,10 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'rake'
3
- require 'rake/testtask'
2
+ require "rake"
3
+ require "rake/testtask"
4
+
5
+ task :default => :test
4
6
 
5
7
  Rake::TestTask.new(:test) do |t|
6
- t.libs << 'lib' << 'test'
7
- t.pattern = 'test/*.rb'
8
+ t.libs.push("lib", "test")
9
+ t.pattern = "test/**/*.rb"
8
10
  end
@@ -3,11 +3,11 @@
3
3
  Please see README
4
4
  =end
5
5
 
6
- require 'pathname'
7
- require 'securerandom'
8
- require 'forgery' # gem
9
- require 'sixarm_ruby_fab/forgery/geo'
10
- require 'sixarm_ruby_fab/forgery/uri'
6
+ require "pathname"
7
+ require "securerandom"
8
+ require "forgery" # gem
9
+ require "sixarm_ruby_fab/forgery/geo"
10
+ require "sixarm_ruby_fab/forgery/uri"
11
11
 
12
12
  class Fab
13
13
  AZ = ('a'..'z').to_a
@@ -19,7 +19,7 @@ class Fab
19
19
  end
20
20
 
21
21
  # Set.
22
- def date_min=(x)
22
+ def date_min=x
23
23
  @date_min=x
24
24
  end
25
25
 
@@ -29,7 +29,7 @@ class Fab
29
29
  end
30
30
 
31
31
  # Set.
32
- def date_max=(x)
32
+ def date_max=x
33
33
  @date_max=x
34
34
  end
35
35
 
@@ -19,7 +19,7 @@ class Fab
19
19
  end
20
20
 
21
21
  # Set.
22
- def datetime_min=(x)
22
+ def datetime_min=x
23
23
  @datetime_min=x
24
24
  end
25
25
 
@@ -29,7 +29,7 @@ class Fab
29
29
  end
30
30
 
31
31
  # Set.
32
- def datetime_max=(x)
32
+ def datetime_max=x
33
33
  @datetime_max=x
34
34
  end
35
35
 
@@ -1,4 +1,4 @@
1
- require 'forgery'
1
+ require "forgery"
2
2
 
3
3
  # Generates random geographic information.
4
4
  class Forgery::Geo < Forgery
@@ -1,4 +1,4 @@
1
- require 'forgery'
1
+ require "forgery"
2
2
  # Generates random Interet URI information.
3
3
  class Forgery::Internet < Forgery
4
4
 
@@ -19,7 +19,7 @@ class Fab
19
19
  end
20
20
 
21
21
  # Set.
22
- def time_min=(x)
22
+ def time_min=x
23
23
  @time_min=x
24
24
  end
25
25
 
@@ -29,7 +29,7 @@ class Fab
29
29
  end
30
30
 
31
31
  # Set.
32
- def time_max=(x)
32
+ def time_max=x
33
33
  @time_max=x
34
34
  end
35
35
 
@@ -90,12 +90,12 @@ class Fab
90
90
  # @return [Hash] a tweet hash
91
91
  #
92
92
  def twitter_tweet_hash(options={})
93
- id = options[:id] || options["id"] || twitter_tweet_id
93
+ id = options[:id] || options["id"] || Fab.twitter_tweet_id
94
94
  {
95
- "created_at" => time.httpdate,
95
+ "created_at" => Fab.time.httpdate,
96
96
  "id" => id.to_i,
97
97
  "id_str" => id.to_s,
98
- "text" => lorem,
98
+ "text" => Fab.lorem,
99
99
  "source" => "web",
100
100
  "truncated" => false,
101
101
  "in_reply_to_status_id" => nil,
@@ -103,16 +103,16 @@ class Fab
103
103
  "in_reply_to_user_id" => nil,
104
104
  "in_reply_to_user_id_str" => nil,
105
105
  "in_reply_to_screen_name" => nil,
106
- "user" => twitter_user_hash,
106
+ "user" => Fab.twitter_user_hash,
107
107
  "geo" => nil,
108
108
  "coordinates" => nil,
109
109
  "place" => nil,
110
110
  "contributors" => nil,
111
- "retweet_count" => twitter_retweet_count,
112
- "favorite_count" => twitter_favorite_count,
113
- "favorited" => boolean,
114
- "retweeted" => boolean,
115
- "lang" => language_code
111
+ "retweet_count" => Fab.twitter_retweet_count,
112
+ "favorite_count" => Fab.twitter_favorite_count,
113
+ "favorited" => Fab.boolean,
114
+ "retweeted" => Fab.boolean,
115
+ "lang" => Fab.language_code
116
116
  }.merge(options)
117
117
  end
118
118
 
@@ -1,8 +1,8 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
- require 'sixarm_ruby_fab'
5
+ require "sixarm_ruby_fab"
6
6
 
7
7
  [
8
8
  'agent',
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -95,16 +95,4 @@ describe Fab do
95
95
 
96
96
  end
97
97
 
98
- describe "#twitter_tweet_hash" do
99
-
100
- before do
101
- @x = fab.twitter_tweet_hash
102
- end
103
-
104
- it "is a hash" do
105
- @x.must_be_kind_of Hash
106
- end
107
-
108
- end
109
-
110
98
  end
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
5
 
6
6
  describe Fab do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sixarm_ruby_fab
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - SixArm
@@ -10,51 +10,169 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDBDCCAm2gAwIBAgIJAKPwEETU5bHoMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV
13
+ MIIGCTCCA/GgAwIBAgIJAK3igyLv2hNNMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV
14
14
  BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp
15
- c2NvMQ8wDQYDVQQKEwZTaXhBcm0xEzARBgNVBAMTCnNpeGFybS5jb20wHhcNMTAx
16
- MjEzMjMyNzEzWhcNMTMwOTA4MjMyNzEzWjBgMQswCQYDVQQGEwJVUzETM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M8JDUuUZFt
35
+ qP2Kvj9J6tqugO+cuUF2S/ro4gdEQhl7Gv6+DCWHd0FQWJBSXMsZ9a6RhFGAcE5C
36
+ egK706Gh40yNeobd1aoUh+Pn17kYH2WSBRC+KsIvhZaAnra/1JPZItoge64GS+lM
37
+ PJJbVrtSati++s39wnss1QlMy9TXoesmR8vqsOU0XdCnK5hOun5RA8SYDWLffsfG
38
+ E3hvCg4C5viEkPY0YdC0KMSqs5kIA2nCUiqpkwIOa36rVEwiKiU7OCfE3u3baDpL
39
+ FlfMBznZKOdxDFAmNaxvXBe2XeTzrZPvJtnNLWL6K4LaBHhq3bBdh1Hge0iMkpQ7
40
+ RTIGlfhlIFkMV3wT0LTsNznUPsoo6e+IW/tDrk23mrNRY6QynTETb+QVIevuzD9m
41
+ Drcxp/zlVhud+a0ezdnyNvF520arJWvqA4GrOo8F+TT2vVrjscgYjiVGdSq+8wQv
42
+ Efa5jhe8QwG7R1rdpMMP5yBSAqWuFBczMveX5j4rp9Ifw5/XsZbgwcmdm26bjhzh
43
+ w2grAHIhvR9mztm6uXQlZhv1fu3P+RWHDSYhnZSCJSCdxPzQJ1mG5T5ahiL3HvCZ
44
+ 2AC9FOGkybW6DJEFSFFMlNk0IILsa/gNp8ufGuTVLWF9FUUdMNK+TMbghnifT8/1
45
+ n+ES/gQPOnvmVkLDGw==
30
46
  -----END CERTIFICATE-----
31
- date: 2013-08-07 00:00:00.000000000 Z
47
+ date: 2017-11-28 00:00:00.000000000 Z
32
48
  dependencies:
33
49
  - !ruby/object:Gem::Dependency
34
50
  name: forgery
35
51
  requirement: !ruby/object:Gem::Requirement
36
52
  requirements:
37
- - - '>='
53
+ - - ">="
38
54
  - !ruby/object:Gem::Version
39
- version: '0'
55
+ version: 0.6.0
56
+ - - "<"
57
+ - !ruby/object:Gem::Version
58
+ version: '1'
40
59
  type: :runtime
41
60
  prerelease: false
42
61
  version_requirements: !ruby/object:Gem::Requirement
43
62
  requirements:
44
- - - '>='
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 0.6.0
66
+ - - "<"
67
+ - !ruby/object:Gem::Version
68
+ version: '1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 5.7.0
76
+ - - "<"
77
+ - !ruby/object:Gem::Version
78
+ version: '6'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 5.7.0
86
+ - - "<"
87
+ - !ruby/object:Gem::Version
88
+ version: '6'
89
+ - !ruby/object:Gem::Dependency
90
+ name: sixarm_ruby_minitest_extensions
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 1.0.8
96
+ - - "<"
97
+ - !ruby/object:Gem::Version
98
+ version: '2'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: 1.0.8
106
+ - - "<"
107
+ - !ruby/object:Gem::Version
108
+ version: '2'
109
+ - !ruby/object:Gem::Dependency
110
+ name: rake
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">"
114
+ - !ruby/object:Gem::Version
115
+ version: 10.4.2
116
+ - - "<"
117
+ - !ruby/object:Gem::Version
118
+ version: '11'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">"
124
+ - !ruby/object:Gem::Version
125
+ version: 10.4.2
126
+ - - "<"
127
+ - !ruby/object:Gem::Version
128
+ version: '11'
129
+ - !ruby/object:Gem::Dependency
130
+ name: simplecov
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: 0.10.0
136
+ - - "<"
137
+ - !ruby/object:Gem::Version
138
+ version: '2'
139
+ type: :development
140
+ prerelease: false
141
+ version_requirements: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: 0.10.0
146
+ - - "<"
147
+ - !ruby/object:Gem::Version
148
+ version: '2'
149
+ - !ruby/object:Gem::Dependency
150
+ name: coveralls
151
+ requirement: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: 0.8.2
156
+ - - "<"
157
+ - !ruby/object:Gem::Version
158
+ version: '2'
159
+ type: :development
160
+ prerelease: false
161
+ version_requirements: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
45
164
  - !ruby/object:Gem::Version
46
- version: '0'
165
+ version: 0.8.2
166
+ - - "<"
167
+ - !ruby/object:Gem::Version
168
+ version: '2'
47
169
  description: Generate sample names, places, agents, tweets, etc.
48
170
  email: sixarm@sixarm.com
49
171
  executables: []
50
172
  extensions: []
51
173
  extra_rdoc_files: []
52
174
  files:
53
- - .gemtest
54
- - CONTRIBUTING.md
55
175
  - Rakefile
56
- - README.md
57
- - VERSION
58
176
  - lib/sixarm_ruby_fab.rb
59
177
  - lib/sixarm_ruby_fab/agent.rb
60
178
  - lib/sixarm_ruby_fab/basic.rb
@@ -63,6 +181,8 @@ files:
63
181
  - lib/sixarm_ruby_fab/datetime.rb
64
182
  - lib/sixarm_ruby_fab/email.rb
65
183
  - lib/sixarm_ruby_fab/files.rb
184
+ - lib/sixarm_ruby_fab/forgery/geo.rb
185
+ - lib/sixarm_ruby_fab/forgery/uri.rb
66
186
  - lib/sixarm_ruby_fab/geo.rb
67
187
  - lib/sixarm_ruby_fab/id.rb
68
188
  - lib/sixarm_ruby_fab/internet.rb
@@ -77,8 +197,6 @@ files:
77
197
  - lib/sixarm_ruby_fab/twitter.rb
78
198
  - lib/sixarm_ruby_fab/username.rb
79
199
  - lib/sixarm_ruby_fab/uuid.rb
80
- - lib/sixarm_ruby_fab/forgery/geo.rb
81
- - lib/sixarm_ruby_fab/forgery/uri.rb
82
200
  - test/sixarm_ruby_fab_test.rb
83
201
  - test/sixarm_ruby_fab_test/agent_test.rb
84
202
  - test/sixarm_ruby_fab_test/basic_test.rb
@@ -87,6 +205,8 @@ files:
87
205
  - test/sixarm_ruby_fab_test/datetime_test.rb
88
206
  - test/sixarm_ruby_fab_test/email_test.rb
89
207
  - test/sixarm_ruby_fab_test/files_test.rb
208
+ - test/sixarm_ruby_fab_test/forgery/geo_test.rb
209
+ - test/sixarm_ruby_fab_test/forgery/uri_test.rb
90
210
  - test/sixarm_ruby_fab_test/geo_test.rb
91
211
  - test/sixarm_ruby_fab_test/id_test.rb
92
212
  - test/sixarm_ruby_fab_test/internet_test.rb
@@ -101,15 +221,14 @@ files:
101
221
  - test/sixarm_ruby_fab_test/twitter_test.rb
102
222
  - test/sixarm_ruby_fab_test/username_test.rb
103
223
  - test/sixarm_ruby_fab_test/uuid_test.rb
104
- - test/sixarm_ruby_fab_test/forgery/geo_test.rb
105
- - test/sixarm_ruby_fab_test/forgery/uri_test.rb
106
224
  homepage: http://sixarm.com/
107
225
  licenses:
108
- - BSD
109
- - GPL
226
+ - Apache-2.0
227
+ - Artistic-2.0
228
+ - BSD-3-Clause
229
+ - GPL-3.0
110
230
  - MIT
111
- - PAL
112
- - Various
231
+ - MPL-2.0
113
232
  metadata: {}
114
233
  post_install_message:
115
234
  rdoc_options: []
@@ -117,20 +236,20 @@ require_paths:
117
236
  - lib
118
237
  required_ruby_version: !ruby/object:Gem::Requirement
119
238
  requirements:
120
- - - '>='
239
+ - - ">="
121
240
  - !ruby/object:Gem::Version
122
241
  version: '0'
123
242
  required_rubygems_version: !ruby/object:Gem::Requirement
124
243
  requirements:
125
- - - '>='
244
+ - - ">="
126
245
  - !ruby/object:Gem::Version
127
246
  version: '0'
128
247
  requirements: []
129
248
  rubyforge_project:
130
- rubygems_version: 2.0.3
249
+ rubygems_version: 2.6.13
131
250
  signing_key:
132
251
  specification_version: 4
133
- summary: SixArm.com » Ruby » Fab gem to fabricate sample data for testing
252
+ summary: SixArm.com Ruby Fab gem to fabricate sample data for testing
134
253
  test_files:
135
254
  - test/sixarm_ruby_fab_test.rb
136
255
  - test/sixarm_ruby_fab_test/agent_test.rb
@@ -156,4 +275,3 @@ test_files:
156
275
  - test/sixarm_ruby_fab_test/uuid_test.rb
157
276
  - test/sixarm_ruby_fab_test/forgery/geo_test.rb
158
277
  - test/sixarm_ruby_fab_test/forgery/uri_test.rb
159
- has_rdoc: true
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes
data/CONTRIBUTING.md DELETED
@@ -1,28 +0,0 @@
1
- # Contributing
2
-
3
- Thank you for contributing!
4
-
5
- If you would like to contribute a donation, an easy way is to use PayPal to sixarm@sixarm.com.
6
-
7
- If you would like to contribute help, the next section is for you.
8
-
9
-
10
- ## Contributing to the source
11
-
12
- We love pull requests for improvments to the source code and documentation.
13
-
14
- There are three easy steps:
15
-
16
- 1. Fork the repo.
17
-
18
- * Before you do any work please run our existing tests to make sure the code runs cleanly.
19
-
20
- 2. Work as you like.
21
-
22
- * Please create tests. This helps us know that all your code runs cleanly.
23
-
24
- 3. Push to your fork and submit a pull request.
25
-
26
- * We'll take a look as soon as we can; this is typically within a business day.
27
-
28
- Thank you again!
data/README.md DELETED
@@ -1,93 +0,0 @@
1
- # SixArm.com » Ruby » <br> Fab gem for fabricated sample data for testing
2
-
3
- * Doc: <http://sixarm.com/sixarm_ruby_fab/doc>
4
- * Gem: <http://rubygems.org/gems/sixarm_ruby_fab>
5
- * Repo: <http://github.com/sixarm/sixarm_ruby_fab>
6
- * Email: Joel Parker Henderson, <joel@sixarm.com>
7
-
8
- ## Introduction
9
-
10
- Fabricate sample data suitable for testing.
11
-
12
- Requires the Forgery gem.
13
-
14
- For docs go to <http://sixarm.com/sixarm_ruby_fab/doc>
15
-
16
- Want to help? We're happy to get pull requests.
17
-
18
-
19
- ## Install quickstart
20
-
21
- Install:
22
-
23
- gem install sixarm_ruby_fab
24
-
25
- Bundler:
26
-
27
- gem "sixarm_ruby_fab", "~>1.0.2"
28
-
29
- Require:
30
-
31
- require "sixarm_ruby_fab"
32
-
33
-
34
- ## Install with security (optional)
35
-
36
- To enable high security for all our gems:
37
-
38
- wget http://sixarm.com/sixarm.pem
39
- gem cert --add sixarm.pem
40
- gem sources --add http://sixarm.com
41
-
42
- To install with high security:
43
-
44
- gem install sixarm_ruby_fab --test --trust-policy HighSecurity
45
-
46
-
47
- ## Examples
48
-
49
- Create a fab:
50
-
51
- require "sixarm_ruby_fab"
52
- fab = Fab.new
53
-
54
- Use it:
55
-
56
- fab.email_address #=> "foo@bar.com"
57
- fab.street_address #=> "123 Main Street"
58
-
59
-
60
- ## Changes
61
-
62
- * 2013-08-07 1.0.2 Fix bug with Twitter hash
63
- * 2013-08-02 1.0.1 Add min & max to date, datetime, time.
64
- * 2013-08-01 1.0.0 Publish.
65
-
66
-
67
- ## License
68
-
69
- You may choose any of these open source licenses:
70
-
71
- * Apache License
72
- * BSD License
73
- * CreativeCommons License, Non-commercial Share Alike
74
- * GNU General Public License Version 2 (GPL 2)
75
- * GNU Lesser General Public License (LGPL)
76
- * MIT License
77
- * Perl Artistic License
78
- * Ruby License
79
-
80
- The software is provided "as is", without warranty of any kind,
81
- express or implied, including but not limited to the warranties of
82
- merchantability, fitness for a particular purpose and noninfringement.
83
-
84
- In no event shall the authors or copyright holders be liable for any
85
- claim, damages or other liability, whether in an action of contract,
86
- tort or otherwise, arising from, out of or in connection with the
87
- software or the use or other dealings in the software.
88
-
89
- This license is for the included software that is created by SixArm;
90
- some of the included software may have its own licenses, copyrights,
91
- authors, etc. and these do take precedence over the SixArm license.
92
-
93
- Copyright (c) 2005-2013 Joel Parker Henderson
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.1