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.
- checksums.yaml +5 -5
- data/.gitignore +8 -0
- data/.travis.yml +3 -2
- data/Gemfile +4 -14
- data/Gemfile.lock +192 -54
- data/LICENSE.txt +18 -17
- data/README.md +43 -0
- data/Rakefile +6 -41
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/faker-stoked.gemspec +27 -70
- data/lib/faker/bio.rb +9 -10
- data/lib/faker/bro_words.rb +46 -51
- data/lib/faker/stokebot.rb +28 -27
- data/lib/faker/stokebot/intro.rb +2 -2
- data/lib/faker/stokebot/object.rb +1 -1
- data/lib/faker/stokebot/subject.rb +1 -1
- data/lib/faker/stokebot/verb.rb +1 -1
- data/lib/faker/stoked.rb +1 -1
- data/lib/faker/stoked/version.rb +5 -0
- metadata +36 -67
- data/.document +0 -5
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
- data/README.rdoc +0 -61
- data/VERSION +0 -1
- data/test/helper.rb +0 -14
- data/test/test_faker-stoked.rb +0 -107
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cc7649ec0891415d8a26cdd96644069f8d0dc14aeffdc3a85ee20d81d87d64ae
|
4
|
+
data.tar.gz: ee40ef58a05910ae9a15deddabd49df7193536e0138ee61328635e9590270a8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c63724e2fc7cd670e1f6e8292f4a83b1230c45418b65c749a820d1badc501219cd440329e1981db64fd645ec41f0a110a2e064c7cad75b3eabc4e2f9dba68ec
|
7
|
+
data.tar.gz: 4a36152a58b7ed7104da5a1bcb064b773bcd12dab5ae7cb3966c9be2f4daa5042796e4009cfb13fb9cd6db987364e22f17f159c1616f99c2790f6eb188a45ff6
|
data/.gitignore
ADDED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -1,16 +1,6 @@
|
|
1
|
-
source "
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
1
|
+
source "https://rubygems.org"
|
5
2
|
|
6
|
-
|
7
|
-
# Include everything needed to run rake, tests, features, etc.
|
8
|
-
group :development, :test do
|
3
|
+
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
9
4
|
|
10
|
-
|
11
|
-
|
12
|
-
gem "rdoc", "~> 3.12"
|
13
|
-
gem "bundler", "~> 1.0"
|
14
|
-
gem "jeweler", "~> 1.8.7"
|
15
|
-
gem "activesupport"
|
16
|
-
end
|
5
|
+
# Specify your gem's dependencies in faker-stoked.gemspec
|
6
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,63 +1,201 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
faker-stoked (0.1.0)
|
5
|
+
|
1
6
|
GEM
|
2
|
-
remote:
|
7
|
+
remote: https://rubygems.org/
|
3
8
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
actionpack (5.1.5)
|
10
|
+
actionview (= 5.1.5)
|
11
|
+
activesupport (= 5.1.5)
|
12
|
+
rack (~> 2.0)
|
13
|
+
rack-test (>= 0.6.3)
|
14
|
+
rails-dom-testing (~> 2.0)
|
15
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
16
|
+
actionview (5.1.5)
|
17
|
+
activesupport (= 5.1.5)
|
18
|
+
builder (~> 3.1)
|
19
|
+
erubi (~> 1.4)
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
22
|
+
activesupport (5.1.5)
|
23
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
24
|
+
i18n (~> 0.7)
|
25
|
+
minitest (~> 5.1)
|
26
|
+
tzinfo (~> 1.1)
|
27
|
+
addressable (2.5.2)
|
28
|
+
public_suffix (>= 2.0.2, < 4.0)
|
29
|
+
better_errors (2.4.0)
|
30
|
+
coderay (>= 1.0.0)
|
31
|
+
erubi (>= 1.0.0)
|
32
|
+
rack (>= 0.9.0)
|
33
|
+
binding_of_caller (0.8.0)
|
34
|
+
debug_inspector (>= 0.0.1)
|
35
|
+
builder (3.2.3)
|
36
|
+
byebug (10.0.1)
|
37
|
+
capybara (2.18.0)
|
15
38
|
addressable
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
39
|
+
mini_mime (>= 0.1.3)
|
40
|
+
nokogiri (>= 1.3.3)
|
41
|
+
rack (>= 1.0.0)
|
42
|
+
rack-test (>= 0.5.4)
|
43
|
+
xpath (>= 2.0, < 4.0)
|
44
|
+
capybara-webkit (1.15.0)
|
45
|
+
capybara (>= 2.3, < 4.0)
|
46
|
+
json
|
47
|
+
coderay (1.1.2)
|
48
|
+
concurrent-ruby (1.0.5)
|
49
|
+
crass (1.0.3)
|
50
|
+
database_cleaner (1.6.2)
|
51
|
+
debug_inspector (0.0.3)
|
52
|
+
diff-lcs (1.3)
|
53
|
+
em-websocket (0.5.1)
|
54
|
+
eventmachine (>= 0.12.9)
|
55
|
+
http_parser.rb (~> 0.6.0)
|
56
|
+
erubi (1.7.1)
|
57
|
+
eventmachine (1.2.5)
|
58
|
+
ffi (1.9.23)
|
59
|
+
formatador (0.2.5)
|
60
|
+
given_core (3.8.0)
|
61
|
+
sorcerer (>= 0.3.7)
|
62
|
+
guard (2.14.2)
|
63
|
+
formatador (>= 0.2.4)
|
64
|
+
listen (>= 2.7, < 4.0)
|
65
|
+
lumberjack (>= 1.0.12, < 2.0)
|
66
|
+
nenv (~> 0.1)
|
67
|
+
notiffany (~> 0.0)
|
68
|
+
pry (>= 0.9.12)
|
69
|
+
shellany (~> 0.0)
|
70
|
+
thor (>= 0.18.1)
|
71
|
+
guard-compat (1.2.1)
|
72
|
+
guard-livereload (2.5.2)
|
73
|
+
em-websocket (~> 0.5)
|
74
|
+
guard (~> 2.8)
|
75
|
+
guard-compat (~> 1.0)
|
76
|
+
multi_json (~> 1.8)
|
77
|
+
guard-minitest (2.4.6)
|
78
|
+
guard-compat (~> 1.2)
|
79
|
+
minitest (>= 3.0)
|
80
|
+
handsome_fencer_test (0.1.2)
|
81
|
+
better_errors
|
82
|
+
binding_of_caller
|
83
|
+
bundler
|
84
|
+
byebug
|
85
|
+
capybara-webkit
|
86
|
+
database_cleaner
|
87
|
+
guard
|
88
|
+
guard-livereload
|
89
|
+
guard-minitest
|
90
|
+
launchy
|
91
|
+
minitest-given
|
92
|
+
minitest-nyan-cat
|
93
|
+
minitest-rails-capybara
|
94
|
+
rack-livereload
|
32
95
|
rake
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
96
|
+
thor
|
97
|
+
http_parser.rb (0.6.0)
|
98
|
+
i18n (0.9.5)
|
99
|
+
concurrent-ruby (~> 1.0)
|
100
|
+
json (2.1.0)
|
101
|
+
launchy (2.4.3)
|
102
|
+
addressable (~> 2.3)
|
103
|
+
listen (3.1.5)
|
104
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
105
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
106
|
+
ruby_dep (~> 1.2)
|
107
|
+
loofah (2.2.2)
|
108
|
+
crass (~> 1.0.2)
|
109
|
+
nokogiri (>= 1.5.9)
|
110
|
+
lumberjack (1.0.12)
|
111
|
+
method_source (0.9.0)
|
112
|
+
mini_mime (1.0.0)
|
113
|
+
mini_portile2 (2.3.0)
|
114
|
+
minitest (5.11.3)
|
115
|
+
minitest-capybara (0.8.2)
|
116
|
+
capybara (~> 2.2)
|
117
|
+
minitest (~> 5.0)
|
118
|
+
rake
|
119
|
+
minitest-given (3.8.0)
|
120
|
+
given_core (= 3.8.0)
|
121
|
+
minitest (> 4.3)
|
122
|
+
minitest-metadata (0.6.0)
|
123
|
+
minitest (>= 4.7, < 6.0)
|
124
|
+
minitest-nyan-cat (0.0.1)
|
125
|
+
nyan-cat-formatter (= 0.11)
|
126
|
+
minitest-rails (3.0.0)
|
127
|
+
minitest (~> 5.8)
|
128
|
+
railties (~> 5.0)
|
129
|
+
minitest-rails-capybara (3.0.1)
|
130
|
+
capybara (~> 2.7)
|
131
|
+
minitest-capybara (~> 0.8)
|
132
|
+
minitest-metadata (~> 0.6)
|
133
|
+
minitest-rails (~> 3.0)
|
134
|
+
multi_json (1.13.1)
|
135
|
+
nenv (0.3.0)
|
136
|
+
nokogiri (1.8.2)
|
137
|
+
mini_portile2 (~> 2.3.0)
|
138
|
+
notiffany (0.1.1)
|
139
|
+
nenv (~> 0.1)
|
140
|
+
shellany (~> 0.0)
|
141
|
+
nyan-cat-formatter (0.11)
|
142
|
+
rspec (>= 2.99, >= 2.14.2, < 4)
|
143
|
+
pry (0.11.3)
|
144
|
+
coderay (~> 1.1.0)
|
145
|
+
method_source (~> 0.9.0)
|
146
|
+
public_suffix (3.0.2)
|
147
|
+
rack (2.0.4)
|
148
|
+
rack-livereload (0.3.16)
|
149
|
+
rack
|
150
|
+
rack-test (0.8.3)
|
151
|
+
rack (>= 1.0, < 3)
|
152
|
+
rails-dom-testing (2.0.3)
|
153
|
+
activesupport (>= 4.2.0)
|
154
|
+
nokogiri (>= 1.6)
|
155
|
+
rails-html-sanitizer (1.0.4)
|
156
|
+
loofah (~> 2.2, >= 2.2.2)
|
157
|
+
railties (5.1.5)
|
158
|
+
actionpack (= 5.1.5)
|
159
|
+
activesupport (= 5.1.5)
|
160
|
+
method_source
|
161
|
+
rake (>= 0.8.7)
|
162
|
+
thor (>= 0.18.1, < 2.0)
|
163
|
+
rake (10.5.0)
|
164
|
+
rb-fsevent (0.10.3)
|
165
|
+
rb-inotify (0.9.10)
|
166
|
+
ffi (>= 0.5.0, < 2)
|
167
|
+
rspec (3.7.0)
|
168
|
+
rspec-core (~> 3.7.0)
|
169
|
+
rspec-expectations (~> 3.7.0)
|
170
|
+
rspec-mocks (~> 3.7.0)
|
171
|
+
rspec-core (3.7.1)
|
172
|
+
rspec-support (~> 3.7.0)
|
173
|
+
rspec-expectations (3.7.0)
|
174
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
175
|
+
rspec-support (~> 3.7.0)
|
176
|
+
rspec-mocks (3.7.0)
|
177
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
178
|
+
rspec-support (~> 3.7.0)
|
179
|
+
rspec-support (3.7.1)
|
180
|
+
ruby_dep (1.5.0)
|
181
|
+
shellany (0.0.1)
|
182
|
+
sorcerer (1.0.2)
|
183
|
+
thor (0.20.0)
|
184
|
+
thread_safe (0.3.6)
|
185
|
+
tzinfo (1.2.5)
|
186
|
+
thread_safe (~> 0.1)
|
187
|
+
xpath (3.0.0)
|
188
|
+
nokogiri (~> 1.8)
|
53
189
|
|
54
190
|
PLATFORMS
|
55
191
|
ruby
|
56
192
|
|
57
193
|
DEPENDENCIES
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
194
|
+
bundler (~> 1.16)
|
195
|
+
faker-stoked!
|
196
|
+
handsome_fencer_test
|
197
|
+
minitest (~> 5.0)
|
198
|
+
rake (~> 10.0)
|
199
|
+
|
200
|
+
BUNDLED WITH
|
201
|
+
1.16.1
|
data/LICENSE.txt
CHANGED
@@ -1,20 +1,21 @@
|
|
1
|
-
|
1
|
+
The MIT License (MIT)
|
2
2
|
|
3
|
-
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
3
|
+
Copyright (c) 2018 schadenfred
|
10
4
|
|
11
|
-
|
12
|
-
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
13
11
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# Faker::Stoked
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/faker/stoked`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'faker-stoked'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install faker-stoked
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/faker-stoked. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
40
|
+
|
41
|
+
## Code of Conduct
|
42
|
+
|
43
|
+
Everyone interacting in the Faker::Stoked project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/faker-stoked/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
@@ -1,45 +1,10 @@
|
|
1
|
-
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rake/testtask"
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
rescue Bundler::BundlerError => e
|
8
|
-
$stderr.puts e.message
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
-
exit e.status_code
|
11
|
-
end
|
12
|
-
require 'rake'
|
13
|
-
|
14
|
-
require 'jeweler'
|
15
|
-
Jeweler::Tasks.new do |gem|
|
16
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
-
gem.name = "faker-stoked"
|
18
|
-
gem.homepage = "http://github.com/fdschoeneman/faker-stoked"
|
19
|
-
gem.license = "MIT"
|
20
|
-
gem.summary = %Q{Stoke up your dev data, bro.}
|
21
|
-
gem.description = %Q{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. It also provides a rich, creamy variety of methods to generate bro words.}
|
22
|
-
gem.email = "fred.schoeneman@gmail.com"
|
23
|
-
gem.authors = ["Frederick D. Schoeneman"]
|
24
|
-
# dependencies defined in Gemfile
|
25
|
-
end
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
27
|
-
|
28
|
-
require 'rake/testtask'
|
29
|
-
Rake::TestTask.new(:test) do |test|
|
30
|
-
test.libs << 'lib' << 'test'
|
31
|
-
test.pattern = 'test/**/test_*.rb'
|
32
|
-
test.verbose = true
|
4
|
+
Rake::TestTask.new(:test) do |t|
|
5
|
+
t.libs << "test"
|
6
|
+
t.libs << "lib"
|
7
|
+
t.test_files = FileList["test/**/*_test.rb"]
|
33
8
|
end
|
34
9
|
|
35
10
|
task :default => :test
|
36
|
-
|
37
|
-
require 'rdoc/task'
|
38
|
-
Rake::RDocTask.new do |rdoc|
|
39
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
40
|
-
|
41
|
-
rdoc.rdoc_dir = 'rdoc'
|
42
|
-
rdoc.title = "faker-stoked #{version}"
|
43
|
-
rdoc.rdoc_files.include('README*')
|
44
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
45
|
-
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "faker/stoked"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|