faker 1.6.4 → 1.6.5

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
2
  SHA1:
3
- metadata.gz: ed2ee70ea2d6aaca6b29368c96662c4719cb8ae1
4
- data.tar.gz: c5b4ed33812b75c33da0d94e204cd42aa2d4b347
3
+ metadata.gz: 778f79b3ecce3e5b10dff76634ffc082c2e4ce17
4
+ data.tar.gz: 0cbeb94d6ea09fb529354d3eadc4ddfbf0492310
5
5
  SHA512:
6
- metadata.gz: 3af9b9aec025fb8991e1b0af57105dee42ad6e83e6771b99dee333613235bb5b48cc17428117fe45f968636708bf1f6d3cdf0cd8e9b7b3cb885533da79a3b89b
7
- data.tar.gz: d300551f4b629cdf6894710f681af489f871fe2835937a312b74fb1c0d37263a42e44bc8e7eebb63c8e0dd06e059c7b822ef6a712689f39ddd948f220e01cb72
6
+ metadata.gz: 7a21ca0764a52bbf3b632032b3c557e01e2f1184e1aa9de336ab8914350c4adb5de7fb57621db2e7d69355c86713b74836e776cd41d9171a717cb51e227fbb58
7
+ data.tar.gz: 5f12b680115096a7b8d0363aeaa7b040a005177d30c27f93f6e3bc8787189d6df49935fd61f735aec03dce6367fb5ecdaea35b849fb42cb2fc832ebc781e7967
@@ -1,3 +1,6 @@
1
+ == 1.6.5 2016-07-08
2
+ * Removed Faker::ChuckNorris.name
3
+
1
4
  == 1.6.4 2016-07-06
2
5
  * Removed support for Ruby 1.9.3
3
6
  * Added Faker::ChuckNorris, Faker::Crypto, Faker::Educator, Faker::File, Faker::Music, Faker::Space, Faker::Vehicle, and Faker::Yoda
@@ -3,11 +3,6 @@ module Faker
3
3
  flexible :name
4
4
 
5
5
  class << self
6
-
7
- def name
8
- parse('chuck_norris')
9
- end
10
-
11
6
  # from: https://github.com/jenkinsci/chucknorris-plugin/blob/master/src/main/java/hudson/plugins/chucknorris/FactGenerator.java
12
7
  def fact; fetch('chuck_norris.fact'); end
13
8
 
@@ -36,7 +36,7 @@ module Faker
36
36
 
37
37
  def categories(num)
38
38
  categories = []
39
- while categories.length < num do
39
+ while categories.length < num
40
40
  category = fetch('commerce.department')
41
41
  categories << category unless categories.include?(category)
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module Faker #:nodoc:
2
- VERSION = "1.6.4"
2
+ VERSION = "1.6.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Curtis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-06 00:00:00.000000000 Z
11
+ date: 2016-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n