sixarm_ruby_fab 1.0.4 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b09a7aec1c55d029e5adefa6227bbece17a7db33
4
- data.tar.gz: df003306e2e2a2d62b49fb2f190d49caaaadfd28
2
+ SHA256:
3
+ metadata.gz: 4bb23d1dcfc00a9592417fa87f2ab8bf1fe735674c7dfe05d974725d3c20f4ab
4
+ data.tar.gz: 943ad29c5241acfb8589f8e1e29dec53ae56b0cb5abfec1dfa3a1e1f16ea4366
5
5
  SHA512:
6
- metadata.gz: 4a2bffbe66728f0b90d4382ccd4a2db743ea7c578444bc6287572b228613d14175900addbb4d4d5ec0430d8b51834b8af25b49c431fd739b47ad8a2a6db4e014
7
- data.tar.gz: d945aa02ba66797420c4ed114c0029f738d6cc00535d9f263fc83f5d96d8f5c94c1a8173e725f412ce0f882f14f7cc54aee9190c86e7545c47727fa981b126e7
6
+ metadata.gz: 8f42fa0d5ad1c4e3c9546b1b26926128e5ad30e6d0f20a2aefc421c22f10ca4ef1e1b1c59336d8476ac8646c7ca91bfd719d569cbe93f1678035c8a133911185
7
+ data.tar.gz: f0d7dd59d982d526748a872e8e265086d9d18526a221fa0f012314b58d19c0fd05299ebf527c2679c53930871d9de8a8cc5b0b6fc863b33b7fd7977e7acaf9e1
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -8,6 +8,14 @@ class Fab
8
8
  [true, false].sample
9
9
  end
10
10
 
11
+ # Fab a symbol, such as :abcdefgh
12
+ #
13
+ # @return [Symbol]
14
+ #
15
+ def sym
16
+ ('a'..'z').to_a.sample(rand(10..20)).join.to_sym
17
+ end
18
+
11
19
  # Fab a rating, such as 1 to 5 stars.
12
20
  #
13
21
  # Options:
@@ -19,7 +19,7 @@ class Fab
19
19
  end
20
20
 
21
21
  # Fab a random US state abbreviation.
22
- # Delegates to Forgery::Address.state_abbrev.
22
+ # Delegates to Forgery::Address.state_abbrev.
23
23
  #
24
24
  # @returns [String] a random US state abbreviation
25
25
  #
@@ -28,7 +28,7 @@ class Fab
28
28
  end
29
29
 
30
30
  # Fab a random US zip code.
31
- # Delegates to Forgery::Address.zip.
31
+ # Delegates to Forgery::Address.zip.
32
32
  #
33
33
  # @returns [String] a random US zip code
34
34
  #
@@ -19,6 +19,20 @@ describe Fab do
19
19
 
20
20
  end
21
21
 
22
+
23
+ describe "#sym" do
24
+
25
+ before do
26
+ @x = fab.sym
27
+ end
28
+
29
+ it "is a symbol" do
30
+ @x.must_be_kind_of Symbol
31
+ end
32
+
33
+ end
34
+
35
+
22
36
  describe "#rating" do
23
37
 
24
38
  before 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.4
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - SixArm
@@ -10,41 +10,36 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIGCTCCA/GgAwIBAgIJAK3igyLv2hNNMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV
14
- BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp
15
- c2NvMQ8wDQYDVQQKEwZTaXhBcm0xEzARBgNVBAMTCnNpeGFybS5jb20wHhcNMTUw
16
- MzE0MjA0MTE5WhcNMTcxMjA4MjA0MTE5WjBgMQswCQYDVQQGEwJVUzETMBEGA1UE
17
- CBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEPMA0GA1UEChMG
18
- U2l4QXJtMRMwEQYDVQQDEwpzaXhhcm0uY29tMIICIjANBgkqhkiG9w0BAQEFAAOC
19
- Ag8AMIICCgKCAgEA4et7SlePzuE46eK5BAVVGg+yWt6FkX7xcLt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TW7quUvayjtqMTU2qrh7i21oB+/Nn+I6gcxYJZb
35
+ UlK+tvsqoM94U6sFTjw9mDt62MLQGrJtHShS+ZZiGmWj1sKreuwGJnCVDoBk15xa
36
+ oqlvfvLAMBCqlfrHhvGUfbIMgzb9uXNmCjzYMsQxuIgF6IMis6Kq02NBAR91HPMe
37
+ 2RoY7CdBHMxW+O0tgS2xoQbOwb+ti1j4MbsWpCqS9Mteck0Z7jZpRRrUDjXU+/7Z
38
+ RmW9HX0oLIoCBDChCcEKG0Ma4IvHUgjv47f5iYpkXuhifiK4xMG/s+T5Euw3Wg9J
39
+ tzpk/VnZXj7Ek/earx+N/Z+Wtnl2xENm5IF8SFPeI1HFa9NH47pqtxF1YKpNIEVc
40
+ 2xa2BNHSePe7tys/2hbmZuyMu8X5ERmovsabSXB3a+YwtJh5c2jhA21wF7986s0q
46
41
  -----END CERTIFICATE-----
47
- date: 2017-11-28 00:00:00.000000000 Z
42
+ date: 2018-04-02 00:00:00.000000000 Z
48
43
  dependencies:
49
44
  - !ruby/object:Gem::Dependency
50
45
  name: forgery
@@ -238,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
233
  requirements:
239
234
  - - ">="
240
235
  - !ruby/object:Gem::Version
241
- version: '0'
236
+ version: '2.2'
242
237
  required_rubygems_version: !ruby/object:Gem::Requirement
243
238
  requirements:
244
239
  - - ">="
@@ -246,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
241
  version: '0'
247
242
  requirements: []
248
243
  rubyforge_project:
249
- rubygems_version: 2.6.13
244
+ rubygems_version: 2.7.6
250
245
  signing_key:
251
246
  specification_version: 4
252
247
  summary: SixArm.com → Ruby → Fab gem to fabricate sample data for testing
metadata.gz.sig CHANGED
Binary file