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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 33c7c60f8413f11fe9782e6152c7f5bbe6571fbf
4
- data.tar.gz: 6ec0f169cdf3a33b2ac4b3f87056e5e2923ec9b5
2
+ SHA256:
3
+ metadata.gz: cc7649ec0891415d8a26cdd96644069f8d0dc14aeffdc3a85ee20d81d87d64ae
4
+ data.tar.gz: ee40ef58a05910ae9a15deddabd49df7193536e0138ee61328635e9590270a8d
5
5
  SHA512:
6
- metadata.gz: 5c438436a45509d7e2fe452d6ca49416c87ae9450b164d6768c126d629349916cbead6cf911b4d54d23ba3342e5a07dcdcff08149a509d178e64a2c25470ca8f
7
- data.tar.gz: d51eb7ce5768eadfec56a13aaba1706320e8e85aaaa83128b66732190a7c52d5c72c22eb7392d1970be65baa1e1c542fd7a6c52371ffc62f5358d054b84176d8
6
+ metadata.gz: 9c63724e2fc7cd670e1f6e8292f4a83b1230c45418b65c749a820d1badc501219cd440329e1981db64fd645ec41f0a110a2e064c7cad75b3eabc4e2f9dba68ec
7
+ data.tar.gz: 4a36152a58b7ed7104da5a1bcb064b773bcd12dab5ae7cb3966c9be2f4daa5042796e4009cfb13fb9cd6db987364e22f17f159c1616f99c2790f6eb188a45ff6
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/.travis.yml CHANGED
@@ -1,4 +1,5 @@
1
+ sudo: false
1
2
  language: ruby
2
3
  rvm:
3
- - 1.9.3-p194
4
- - 2.0.0-p247
4
+ - 2.5.0
5
+ before_install: gem install bundler -v 1.16.1
data/Gemfile CHANGED
@@ -1,16 +1,6 @@
1
- source "http://rubygems.org"
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
- # Add dependencies to develop your gem here.
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
- gem "faker", "~>1.2.0"
11
- gem "minitest", ">= 0"
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: http://rubygems.org/
7
+ remote: https://rubygems.org/
3
8
  specs:
4
- activesupport (3.2.15)
5
- i18n (~> 0.6, >= 0.6.4)
6
- multi_json (~> 1.0)
7
- addressable (2.3.5)
8
- builder (3.2.2)
9
- faker (1.2.0)
10
- i18n (~> 0.5)
11
- faraday (0.8.8)
12
- multipart-post (~> 1.2.0)
13
- git (1.2.6)
14
- github_api (0.10.1)
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
- faraday (~> 0.8.1)
17
- hashie (>= 1.2)
18
- multi_json (~> 1.4)
19
- nokogiri (~> 1.5.2)
20
- oauth2
21
- hashie (2.0.5)
22
- highline (1.6.19)
23
- httpauth (0.2.0)
24
- i18n (0.6.5)
25
- jeweler (1.8.8)
26
- builder
27
- bundler (~> 1.0)
28
- git (>= 1.2.5)
29
- github_api (= 0.10.1)
30
- highline (>= 1.6.15)
31
- nokogiri (= 1.5.10)
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
- rdoc
34
- json (1.8.0)
35
- jwt (0.1.8)
36
- multi_json (>= 1.5)
37
- minitest (5.0.8)
38
- multi_json (1.8.2)
39
- multi_xml (0.5.5)
40
- multipart-post (1.2.0)
41
- nokogiri (1.5.10)
42
- oauth2 (0.9.2)
43
- faraday (~> 0.8)
44
- httpauth (~> 0.2)
45
- jwt (~> 0.1.4)
46
- multi_json (~> 1.0)
47
- multi_xml (~> 0.5)
48
- rack (~> 1.2)
49
- rack (1.5.2)
50
- rake (10.1.0)
51
- rdoc (3.12.2)
52
- json (~> 1.4)
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
- activesupport
59
- bundler (~> 1.0)
60
- faker (~> 1.2.0)
61
- jeweler (~> 1.8.7)
62
- minitest
63
- rdoc (~> 3.12)
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
- Copyright (c) 2013 Frederick D. Schoeneman
1
+ The MIT License (MIT)
2
2
 
3
- Permission is hereby granted, free of charge, to any person obtaining
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
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
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
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
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
- # encoding: utf-8
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
2
3
 
3
- require 'rubygems'
4
- require 'bundler'
5
- begin
6
- Bundler.setup(:default, :development)
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__)