faker-stoked 0.2.7 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
 
2
2
  module Faker
3
3
 
4
- class Stoked
4
+ module Stoked
5
5
 
6
6
  class << self
7
7
 
@@ -28,7 +28,7 @@ module Faker
28
28
  "Por ejemplo",
29
29
  "With this trip,",
30
30
  "Conversely,",
31
- "We have already been knowledge that",
31
+ "We have already been knowledged and/or learnified that",
32
32
  "By combining stoke and certain reformulations of the dominant extreme paradigm,",
33
33
  "I suggested that these bodaciouus images would flow from the realization that",
34
34
  "If the gestalt of the grinding in (99c) were only partially tangible to stokeologists,",
@@ -1,6 +1,6 @@
1
1
  module Faker
2
2
 
3
- class Stoked
3
+ module Stoked
4
4
 
5
5
  class << self
6
6
 
@@ -1,6 +1,6 @@
1
1
  module Faker
2
2
 
3
- class Stoked
3
+ module Stoked
4
4
 
5
5
  class << self
6
6
 
@@ -1,6 +1,6 @@
1
1
  module Faker
2
2
 
3
- class Stoked
3
+ module Stoked
4
4
 
5
5
  class << self
6
6
 
data/lib/faker/stoked.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'debugger'
1
+ # require 'debugger'
2
2
  require 'faker/bio'
3
3
  require 'faker/bro_words'
4
4
  require 'faker/stokebot'
@@ -0,0 +1,5 @@
1
+ module Faker
2
+ module Stoked
3
+ VERSION = "0.3.1"
4
+ end
5
+ end
metadata CHANGED
@@ -1,119 +1,89 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker-stoked
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
- - Frederick D. Schoeneman
7
+ - schadenfred
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2014-02-09 00:00:00.000000000 Z
11
+ date: 2018-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: faker
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: 1.2.0
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: 1.2.0
27
- - !ruby/object:Gem::Dependency
28
- name: minitest
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rdoc
14
+ name: bundler
43
15
  requirement: !ruby/object:Gem::Requirement
44
16
  requirements:
45
- - - ~>
17
+ - - "~>"
46
18
  - !ruby/object:Gem::Version
47
- version: '3.12'
19
+ version: '1.16'
48
20
  type: :development
49
21
  prerelease: false
50
22
  version_requirements: !ruby/object:Gem::Requirement
51
23
  requirements:
52
- - - ~>
24
+ - - "~>"
53
25
  - !ruby/object:Gem::Version
54
- version: '3.12'
26
+ version: '1.16'
55
27
  - !ruby/object:Gem::Dependency
56
- name: bundler
28
+ name: rake
57
29
  requirement: !ruby/object:Gem::Requirement
58
30
  requirements:
59
- - - ~>
31
+ - - "~>"
60
32
  - !ruby/object:Gem::Version
61
- version: '1.0'
33
+ version: '10.0'
62
34
  type: :development
63
35
  prerelease: false
64
36
  version_requirements: !ruby/object:Gem::Requirement
65
37
  requirements:
66
- - - ~>
38
+ - - "~>"
67
39
  - !ruby/object:Gem::Version
68
- version: '1.0'
40
+ version: '10.0'
69
41
  - !ruby/object:Gem::Dependency
70
- name: jeweler
42
+ name: minitest
71
43
  requirement: !ruby/object:Gem::Requirement
72
44
  requirements:
73
- - - ~>
45
+ - - "~>"
74
46
  - !ruby/object:Gem::Version
75
- version: 1.8.7
47
+ version: '5.0'
76
48
  type: :development
77
49
  prerelease: false
78
50
  version_requirements: !ruby/object:Gem::Requirement
79
51
  requirements:
80
- - - ~>
52
+ - - "~>"
81
53
  - !ruby/object:Gem::Version
82
- version: 1.8.7
54
+ version: '5.0'
83
55
  - !ruby/object:Gem::Dependency
84
- name: activesupport
56
+ name: handsome_fencer_test
85
57
  requirement: !ruby/object:Gem::Requirement
86
58
  requirements:
87
- - - '>='
59
+ - - ">="
88
60
  - !ruby/object:Gem::Version
89
61
  version: '0'
90
62
  type: :development
91
63
  prerelease: false
92
64
  version_requirements: !ruby/object:Gem::Requirement
93
65
  requirements:
94
- - - '>='
66
+ - - ">="
95
67
  - !ruby/object:Gem::Version
96
68
  version: '0'
97
69
  description: This is an extension of the faker gem, allowing stoked bros and brodies
98
70
  to effortlessly generate stoked bios, that are both radical and awesome while simultaneously
99
71
  pitted. It also provides a rich, creamy variety of methods to generate bro words.
100
- email: fred.schoeneman@gmail.com
72
+ email:
73
+ - fred.schoeneman@gmail.com
101
74
  executables: []
102
75
  extensions: []
103
- extra_rdoc_files:
104
- - LICENSE.txt
105
- - README.rdoc
76
+ extra_rdoc_files: []
106
77
  files:
107
- - .document
108
- - .ruby-gemset
109
- - .ruby-version
110
- - .travis.yml
78
+ - ".gitignore"
79
+ - ".travis.yml"
111
80
  - Gemfile
112
81
  - Gemfile.lock
113
82
  - LICENSE.txt
114
- - README.rdoc
83
+ - README.md
115
84
  - Rakefile
116
- - VERSION
85
+ - bin/console
86
+ - bin/setup
117
87
  - faker-stoked.gemspec
118
88
  - lib/faker/bio.rb
119
89
  - lib/faker/bro_words.rb
@@ -123,9 +93,8 @@ files:
123
93
  - lib/faker/stokebot/subject.rb
124
94
  - lib/faker/stokebot/verb.rb
125
95
  - lib/faker/stoked.rb
126
- - test/helper.rb
127
- - test/test_faker-stoked.rb
128
- homepage: http://github.com/fdschoeneman/faker-stoked
96
+ - lib/faker/stoked/version.rb
97
+ homepage: ''
129
98
  licenses:
130
99
  - MIT
131
100
  metadata: {}
@@ -135,18 +104,18 @@ require_paths:
135
104
  - lib
136
105
  required_ruby_version: !ruby/object:Gem::Requirement
137
106
  requirements:
138
- - - '>='
107
+ - - ">="
139
108
  - !ruby/object:Gem::Version
140
109
  version: '0'
141
110
  required_rubygems_version: !ruby/object:Gem::Requirement
142
111
  requirements:
143
- - - '>='
112
+ - - ">="
144
113
  - !ruby/object:Gem::Version
145
114
  version: '0'
146
115
  requirements: []
147
116
  rubyforge_project:
148
- rubygems_version: 2.2.1
117
+ rubygems_version: 2.7.3
149
118
  signing_key:
150
119
  specification_version: 4
151
- summary: Stoke up your dev data, bro.
120
+ summary: Stoke your dev data
152
121
  test_files: []
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- faker-stoked
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- ruby-2.0.0-p247
data/README.rdoc DELETED
@@ -1,61 +0,0 @@
1
- = faker-stoked
2
-
3
- This is an extension of the faker gem, allowing stoked bros and brodies to effortlessly generate stoked bios, that are both radical and awesome while simultaneously pitted.
4
-
5
- == Installation
6
-
7
- with Bundler, add faker and the faker-stoked gems to your Gemfile:
8
- gem 'faker'
9
- gem 'faker-stoked'
10
-
11
- == Usage
12
-
13
- Faker::Stoked.celebroty
14
- => "don quibrote"
15
-
16
- Faker::Stoked.bio
17
- => "Bodacious but inevitably rad snowboarder. Loves Miley Cyrus, radical
18
- defying death, endurance."
19
-
20
- Faker::Stoked.food
21
- => "broast chicken breast"
22
-
23
- > Faker::Stoked.job
24
- => "brogrammer"
25
-
26
- And in homage to chomskybot, we have StokeBot:
27
-
28
- > Faker::StokeBot.sentences(5)
29
- => "For any radicalization which is sufficiently awesome in pursuit of any
30
- level of stoke, a subset of stoked concepts interesting on pitted, yet
31
- non-determinate grounds cannot be non-pitted in the requirement that
32
- stoke-branching is not tolerated within the dominance stoke-scope of a
33
- complex bro-symbol. By combining stoke and certain reformulations of the
34
- dominant extreme paradigm, the appearance of non-stoked gaps in domains
35
- relatively immune to ordinary pitted radicalization can be defined in
36
- such a way as to impose the strong generative capacity of the stoke-theory.
37
- From the non-racical point of view the fundamental error of regarding bros
38
- and/or brodies as less than intellectual is to be regarded as the
39
- traditional practice of stoked bros. In the discussion of stoked endeavors
40
- following (81), most of the methodological fearlessness rampant in modern
41
- stokeology is, apparently, brotesquley cerebralized by the ultimate
42
- standard that determines the brohemian level of any proposed
43
- radicalization. Presumably, the athlete/groupie constructed intuition
44
- or bro-sense is rather bronificent relative to problems of athletic and
45
- free-spirited analysis."
46
-
47
- == Contributing to faker-stoked
48
-
49
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
50
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
51
- * Fork the project.
52
- * Start a feature/bugfix branch.
53
- * Commit and push until you are happy with your contribution.
54
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
55
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
56
-
57
- == Copyright
58
-
59
- Copyright (c) 2013 Frederick D. Schoeneman. See LICENSE.txt for
60
- further details.
61
-
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.2.7
data/test/helper.rb DELETED
@@ -1,14 +0,0 @@
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
10
- require 'minitest/autorun'
11
-
12
- $LOAD_PATH.unshift(File.dirname(__FILE__))
13
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
- require 'faker/stoked'
@@ -1,107 +0,0 @@
1
- require 'helper'
2
- require 'active_support/inflector'
3
- # require 'debugger'
4
-
5
- class TestFakerStoked < Minitest::Test
6
-
7
- describe "Stoked" do
8
-
9
- stoked_methods = Faker::Stoked.methods(false)
10
- standalone_methods = [:bio, :intmodifier, :sentences, :paragraphs, :sentence, :paragraph]
11
- stoked_methods.each do |stoked_method|
12
-
13
- it "must respond to #{stoked_method}" do
14
- Faker::Stoked.must_respond_to(stoked_method.to_sym)
15
- end
16
-
17
- unless standalone_methods.include? stoked_method
18
-
19
- if stoked_method.to_s.singularize.to_sym == stoked_method
20
-
21
- it "#{stoked_method} output must be contained in its array" do
22
- stoked_array = Faker::Stoked.send(stoked_method.to_s.pluralize.to_sym)
23
- stoked_array.must_include Faker::Stoked.send(stoked_method)
24
- end
25
-
26
- it "#{stoked_method} must return a string" do
27
- stoked_output = Faker::Stoked.send(stoked_method)
28
- stoked_output.class.must_equal String
29
- end
30
-
31
- else
32
-
33
- it "#{stoked_method} must return an array" do
34
- stoked_output = Faker::Stoked.send(stoked_method)
35
-
36
- stoked_output.class.must_equal Array
37
- end
38
- end
39
- end
40
- end
41
-
42
- describe "bio" do
43
-
44
- it "must return a string" do
45
- bio = Faker::Stoked.bio
46
- bio.class.must_equal String
47
- end
48
-
49
- it "must be more than a few letters long" do
50
- bio = Faker::Stoked.bio
51
- (10..30).to_a.must_include bio.split.size
52
- end
53
- end
54
-
55
- describe "sentence" do
56
-
57
- it "must return a string" do
58
- sentence = Faker::Stoked.sentence()
59
- sentence.class.must_equal String
60
- end
61
-
62
- it "must be more than a few words long" do
63
- bio = Faker::Stoked.sentence
64
- bio.split.size.must_be :>=, 10
65
- end
66
- end
67
-
68
- describe "paragraph" do
69
-
70
- it "must return a string" do
71
- sentence = Faker::Stoked.sentence()
72
- sentence.class.must_equal String
73
- end
74
-
75
- it "must be more than a few words long" do
76
- bio = Faker::Stoked.paragraph()
77
- bio.split.size.must_be :>=, 25
78
- end
79
- end
80
-
81
- describe "sentences()" do
82
-
83
- it "must return a string" do
84
- sentence = Faker::Stoked.sentences(5)
85
- sentence.class.must_equal String
86
- end
87
-
88
- it "must be more than a few words long" do
89
- bio = Faker::Stoked.sentences(5)
90
- bio.split.size.must_be :>=, 100
91
- end
92
- end
93
-
94
- describe "paragraphs()" do
95
-
96
- it "must return a string" do
97
- sentence = Faker::Stoked.paragraphs()
98
- sentence.class.must_equal String
99
- end
100
-
101
- it "must be more than a few words long" do
102
- bio = Faker::Stoked.paragraphs()
103
- bio.split.size.must_be :>=, 250
104
- end
105
- end
106
- end
107
- end