pokemon_faker 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8a621cb356b745012adc1d1eace628d78c424ab6
4
+ data.tar.gz: 144e283f4cef2c6e475aa4e39241ac01689f0de7
5
+ SHA512:
6
+ metadata.gz: d86576d1eb54075a0bb0f173e9b5779c555e914c75b39bc2304e793ca55816dfae3653428b4a7937ba174dae783d0c0a83fc6eab1379faccf3e96a15b1184971
7
+ data.tar.gz: 917770740f7b7e4a458180a4ac954190829a9361b5fac755452735064e8dfab2b72e1a581c5716c2a278d1b390979cbfb3f0450897b75b3286e6d0d901b5f23c
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.12.5
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in pokemon_faker.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Shin
4
+
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:
11
+
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,41 @@
1
+ # PokemonFaker
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/pokemon_faker`. 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 'pokemon_faker'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install pokemon_faker
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 spec` 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]/pokemon_faker.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,16 @@
1
+ require 'rake/testtask'
2
+
3
+ Rake::TestTask.new do |t|
4
+ t.libs << 'test'
5
+ end
6
+
7
+ desc "Run tests"
8
+ task :default => :test
9
+
10
+ ### included with gem build
11
+ # require "bundler/gem_tasks"
12
+ # require "rspec/core/rake_task"
13
+
14
+ # RSpec::Core::RakeTask.new(:spec)
15
+
16
+ # task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "pokemon_faker"
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
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ module PokemonFaker
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,31 @@
1
+ # require "pokemon_faker/version"
2
+
3
+ class PokemonFaker
4
+ @@names = ["Bulbasaur", "Ivysaur", "Venusaur", "Charmander", "Charmeleon", "Charizard", "Squirtle", "Wartortle", "Blastoise", "Caterpie", "Metapod", "Butterfree", "Weedle", "Kakuna", "Beedrill", "Pidgey", "Pidgeotto", "Pidgeot", "Rattata", "Raticate", "Spearow", "Fearow", "Ekans", "Arbok", "Pikachu", "Raichu", "Sandshrew", "Sandslash", "Nidoran", "Nidorina", "Nidoqueen", "Nidoran", "Nidorino", "Nidoking", "Clefairy", "Clefable", "Vulpix", "Ninetales", "Jigglypuff", "Wigglytuff", "Zubat", "Golbat", "Oddish", "Gloom", "Vileplume", "Paras", "Parasect", "Venonat", "Venomoth", "Diglett", "Dugtrio", "Meowth", "Persian", "Psyduck", "Golduck", "Mankey", "Primeape", "Growlithe", "Arcanine", "Poliwag", "Poliwhirl", "Poliwrath", "Abra", "Kadabra", "Alakazam", "Machop", "Machoke", "Machamp", "Bellsprout", "Weepinbell", "Victreebel", "Tentacool", "Tentacruel", "Geodude", "Graveler", "Golem", "Ponyta", "Rapidash", "Slowpoke", "Slowbro", "Magnemite", "Magneton", "Farfetch'd", "Doduo", "Dodrio", "Seel", "Dewgong", "Grimer", "Muk", "Shellder", "Cloyster", "Gastly", "Haunter", "Gengar", "Onix", "Drowzee", "Hypno", "Krabby", "Kingler", "Voltorb", "Electrode", "Exeggcute", "Exeggutor", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Lickitung", "Koffing", "Weezing", "Rhyhorn", "Rhydon", "Chansey", "Tangela", "Kangaskhan", "Horsea", "Seadra", "Goldeen", "Seaking", "Staryu", "Starmie", "Mr.", "Scyther", "Jynx", "Electabuzz", "Magmar", "Pinsir", "Tauros", "Magikarp", "Gyarados", "Lapras", "Ditto", "Eevee", "Vaporeon", "Jolteon", "Flareon", "Porygon", "Omanyte", "Omastar", "Kabuto", "Kabutops", "Aerodactyl", "Snorlax", "Articuno", "Zapdos", "Moltres", "Dratini", "Dragonair", "Dragonite", "Mewtwo"]
5
+
6
+ @@pictures = ["http://static.giantbomb.com/uploads/scale_small/13/135472/1891758-001bulbasaur.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891759-002ivysaur.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891760-003venusaur.png", "http://static.giantbomb.com/uploads/scale_small/0/6087/2438704-1202149925_t.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891762-005charmeleon.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891763-006charizard.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891764-007squirtle.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891809-008wartortle.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891810-009blastoise.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892132-010caterpie.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1895815-011metapod.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892298-012butterfree.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891817-013weedle.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891818-014kakuna.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891819-015beedrill.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891631-016pidgey.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891820-017pidgeotto.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891821-018pidgeot.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898244-019rattata.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898245-020raticate.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898246-021spearow.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898247-022fearow.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898239-023ekans.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1895870-024arbok.png", "http://static.giantbomb.com/uploads/scale_small/0/6087/2437349-pikachu.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898248-026raichu.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891822-027sandshrew.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891682-028sandslash.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898252-029nidoran.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898253-030nidorina.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898254-031nidoqueen.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898249-032nidoran.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898250-033nidorino.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898251-034nidoking.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898255-035clefairy.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898256-036clefable.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891638-037vulpix.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891823-038ninetales.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892299-039jigglypuff.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891680-040wigglytuff.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891824-041zubat.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891826-042golbat.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891711-043oddish.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898257-044gloom.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898258-045vileplume.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898259-046paras.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898260-047parasect.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892300-048venonat.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892301-049venomoth.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892133-050diglett.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1894634-051dugtrio.png", "http://static.giantbomb.com/uploads/scale_small/2/26507/948297-meowth.jpg", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898262-053persian.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892134-054psyduck.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892302-055golduck.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892135-056mankey.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892055-057primeape.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891827-058growlithe.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891828-059arcanine.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891829-060poliwag.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891830-061poliwhirl.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891831-062poliwrath.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891834-063abra.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891835-064kadabra.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891836-065alakazam.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892303-066machop.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892304-067machoke.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892305-068machamp.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898263-069bellsprout.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898264-070weepinbell.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898265-071victreebel.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892306-072tentacool.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892307-073tentacruel.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898243-074geodude.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898242-075graveler.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892308-076golem.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892309-077ponyta.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892310-078rapidash.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892136-079slowpoke.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892311-080slowbro.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892312-081magnemite.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892313-082magneton.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891838-083farfetch_d.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892314-084doduo.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892315-085dodrio.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892316-086seel.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892317-087dewgong.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898266-088grimer.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892056-089muk.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892137-090shellder.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892318-091cloyster.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891839-092gastly.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891840-093haunter.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891841-094gengar.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891842-095onix.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898267-096drowzee.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898268-097hypno.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891843-098krabby.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891844-099kingler.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892678-100voltorb.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892679-101electrode.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898269-102exeggcute.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898270-103exeggutor.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891845-104cubone.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891846-105marowak.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892680-106hitmonlee.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892681-107hitmonchan.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898271-108lickitung.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892138-109koffing.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898274-110weezing.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892682-111rhyhorn.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892683-112rhydon.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892684-113chansey.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898275-114tangela.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898276-115kangaskhan.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891847-116horsea.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891849-117seadra.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898280-118goldeen.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898282-119seaking.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892685-120staryu.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892686-121starmie.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898289-122mr._mime.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891850-123scyther.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898290-124jynx.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892687-125electabuzz.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1895802-126magmar.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891851-127pinsir.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891852-128tauros.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898291-129magikarp.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891635-130gyarados.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891870-131lapras.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891871-132ditto.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891681-133eevee.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891872-134vaporeon.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891873-135jolteon.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891874-136flareon.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1898292-137porygon.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892688-138omanyte.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892689-139omastar.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891959-140kabuto.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891960-141kabutops.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891961-142aerodactyl.png", "http://static.giantbomb.com/uploads/scale_small/0/4986/406919-143snorlax.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892690-144articuno.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892691-145zapdos.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891710-146moltres.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1910790-147dratini_ag_anime.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1891876-148dragonair.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1892692-149dragonite.png", "http://static.giantbomb.com/uploads/scale_small/13/135472/1895869-150mewtwo.png"]
7
+
8
+ def self.name
9
+ return @@names.sample
10
+ end
11
+
12
+ def self.picture
13
+ return @@pictures.sample
14
+ end
15
+
16
+ def self.match
17
+ index = rand(0..149)
18
+
19
+ return [@@names[index], @@pictures[index]]
20
+ end
21
+ end
22
+
23
+ # p PokemonFaker.name
24
+ # p PokemonFaker.picture
25
+ # p PokemonFaker.match
26
+
27
+ # 3.times do
28
+ # p_name = PokemonFaker.match
29
+ # Pokemon.new(name: p_name[0] image: p_name[1])
30
+ # end
31
+
@@ -0,0 +1,33 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'pokemon_faker/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "pokemon_faker"
8
+ spec.version = PokemonFaker::VERSION
9
+ spec.authors = ["Shin Wang and Andrew Lee"]
10
+ spec.email = ["shinwang3@gmail.com"]
11
+
12
+ spec.summary = %q{Ruby Pokemon faker names and avatar pictures.}
13
+ spec.description = %q{Users are able to seed their database with the following methods: PokemonFaker.name, PokemonFaker.picture, and PokemonFaker.match}
14
+ spec.homepage = "https://github.com/shinwang1/Pokemon-Ruby-Faker-Gem/tree/master/Pokemon-faker"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata['allowed_push_host'] = "http://mygemserver.com"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ # end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_development_dependency "bundler", "~> 1.12"
31
+ spec.add_development_dependency "rake", "~> 10.0"
32
+ spec.add_development_dependency "rspec", "~> 3.0"
33
+ end
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pokemon_faker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Shin Wang and Andrew Lee
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.12'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.12'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description: 'Users are able to seed their database with the following methods: PokemonFaker.name,
56
+ PokemonFaker.picture, and PokemonFaker.match'
57
+ email:
58
+ - shinwang3@gmail.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".gitignore"
64
+ - ".rspec"
65
+ - ".travis.yml"
66
+ - Gemfile
67
+ - LICENSE.txt
68
+ - README.md
69
+ - Rakefile
70
+ - bin/console
71
+ - bin/setup
72
+ - lib/pokemon_faker.rb
73
+ - lib/pokemon_faker/version.rb
74
+ - pokemon_faker.gemspec
75
+ homepage: https://github.com/shinwang1/Pokemon-Ruby-Faker-Gem/tree/master/Pokemon-faker
76
+ licenses:
77
+ - MIT
78
+ metadata: {}
79
+ post_install_message:
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements: []
94
+ rubyforge_project:
95
+ rubygems_version: 2.6.4
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: Ruby Pokemon faker names and avatar pictures.
99
+ test_files: []