factory-helper 1.6.3 → 1.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.md +47 -4
- data/lib/factory-helper.rb +1 -0
- data/lib/factory-helper/date.rb +4 -2
- data/lib/factory-helper/slack_emoji.rb +43 -0
- data/lib/factory-helper/version.rb +1 -1
- data/lib/locales/en.yml +19 -0
- metadata +27 -26
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OGRmMTNiNGM3MzkxYzc5MmI0ZDBlOWRhNjI5ZmUyZmI2Njc5Mzk0Ng==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2fb4aae67014f2013cdbb38583c76757d2f7d3bb
|
4
|
+
data.tar.gz: baf6b7a6bb0e52da184286a5b298fbe5ef27dd59
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YTczODI0MjNmYjY5YjNlN2VkZTNkYWVlNDA0MDE1MWQ1MWM1YzZmNjM3ZTIx
|
11
|
-
MGQyZjBiZjI1NWYzNmEwMzY5ZDlmMDEzMzA5MDhiNmJhOTJjYjA=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZmM3YzAzYmI2YzZkMTFjZmNkYTZkNWMzOTkxM2E5MzcxZjFlZWRiOTRmOTBk
|
14
|
-
ZjQ2MzY5YjgyZjNiMWRiOWNmNjNhNjllZTc3NDRlNzA1MDIyYTM4NDU1MjIw
|
15
|
-
ZTg4NjBkMzVhOWZmMDgyZDhkNjJmNDBkMWIzYjZlZmE4Y2RkYWY=
|
6
|
+
metadata.gz: d041f8cf99756111cc8d2fa54b15876a623f56ada9c6ddfa45601fd5c94c1b221a76fd779923626e5314c75e7a13f5414c827c4e1d3ea4d8766055487e1e1482
|
7
|
+
data.tar.gz: 7eea71b6dcf03ca4276be76b031da06259906ad547626ad84e9a099eee84284ee35e7dade2f5a1d2b4fbe770c558ac7fa175e8ee71deab8d2dda5cb9174762e3
|
data/README.md
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
factory-helper
|
2
2
|
=====
|
3
|
-
This gem began life as a fork of [stympy's Faker](https://github.com/stympy/faker).
|
4
|
-
|
5
3
|
**This is currently considered a _pre-release_ version by the authors.**
|
6
4
|
|
7
|
-
|
5
|
+
This gem began life as a fork of [stympy's Faker](https://github.com/stympy/faker).
|
6
|
+
While the usage examples below use the `FactoryHelper` name, the `Faker` constant
|
7
|
+
remains available, aliased to `FactoryHelper`. Thus, the FactoryHelper gem can
|
8
|
+
be used as a drop-in replacement for Faker without requiring any changes to your
|
9
|
+
codebase.
|
10
|
+
|
11
|
+
FactoryHelper's purpose is to facilitate software testing by allowing factories to have a solid source of random data with defined characteristics, but the gem can be used for many other purposes as well as in production code.
|
8
12
|
|
9
|
-
|
13
|
+
Its main use-case is slightly different than Faker's and will evolve in that direction, with a primary focus on software testing and not real-looking data. Many new features will also be added, some based on PRs submitted to the original repo.
|
10
14
|
|
11
15
|
[![Build Status](https://travis-ci.org/factory-helper/factory-helper.svg)](https://travis-ci.org/factory-helper/factory-helper)
|
12
16
|
[![Coverage Status](https://coveralls.io/repos/factory-helper/factory-helper/badge.svg)](https://coveralls.io/r/factory-helper/factory-helper)
|
@@ -18,6 +22,11 @@ Installing
|
|
18
22
|
gem install factory-helper
|
19
23
|
```
|
20
24
|
|
25
|
+
or in your Gemfile
|
26
|
+
```ruby
|
27
|
+
gem 'factory-helper'
|
28
|
+
```
|
29
|
+
|
21
30
|
##Usage
|
22
31
|
-----
|
23
32
|
```ruby
|
@@ -411,6 +420,40 @@ FactoryHelper::App.author #=> "Daphne Swift"
|
|
411
420
|
|
412
421
|
```
|
413
422
|
|
423
|
+
###FactoryHelper::SlackEmoji
|
424
|
+
-----------------
|
425
|
+
|
426
|
+
```ruby
|
427
|
+
|
428
|
+
# Random Slack Emoji from people category
|
429
|
+
FactoryHelper::SlackEmoji.people #=> ":sleepy:"
|
430
|
+
|
431
|
+
# Random Slack Emoji from nature category
|
432
|
+
FactoryHelper::SlackEmoji.nature #=> ":chestnut:"
|
433
|
+
|
434
|
+
# Random Slack Emoji from food and drink category
|
435
|
+
FactoryHelper::SlackEmoji.food_and_drink #=> ":tangerine:"
|
436
|
+
|
437
|
+
# Random Slack Emoji from celebration category
|
438
|
+
FactoryHelper::SlackEmoji.celebration #=> ":ribbon:"
|
439
|
+
|
440
|
+
# Random Slack Emoji from activity category
|
441
|
+
FactoryHelper::SlackEmoji.activity #=> ":performing_arts:"
|
442
|
+
|
443
|
+
# Random Slack Emoji from travel and places category
|
444
|
+
FactoryHelper::SlackEmoji.travel_and_places #=> ":truck:"
|
445
|
+
|
446
|
+
# Random Slack Emoji from objects & symbols category
|
447
|
+
FactoryHelper::SlackEmoji.objects_and_symbols #=> ":alarm_clock:"
|
448
|
+
|
449
|
+
# Random Slack Emoji from custom category
|
450
|
+
FactoryHelper::SlackEmoji.custom #=> ":suspect:"
|
451
|
+
|
452
|
+
# Random Slack Emoji from any category
|
453
|
+
FactoryHelper::SlackEmoji.emoji #=> ":last_quarter_moon:"
|
454
|
+
|
455
|
+
```
|
456
|
+
|
414
457
|
Customization
|
415
458
|
------------
|
416
459
|
Since you may want to make addresses and other types of data look different
|
data/lib/factory-helper.rb
CHANGED
data/lib/factory-helper/date.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
module FactoryHelper
|
2
2
|
class Date < Base
|
3
|
+
|
3
4
|
class << self
|
5
|
+
|
4
6
|
def between(from, to)
|
5
7
|
from = get_date_object(from)
|
6
8
|
to = get_date_object(to)
|
@@ -24,8 +26,8 @@ module FactoryHelper
|
|
24
26
|
|
25
27
|
def birthday(min_age = 18, max_age = 65)
|
26
28
|
t = ::Date.today
|
27
|
-
from = ::Date.new(t.year - min_age, t.month, t.day)
|
28
|
-
to = ::Date.new(t.year - max_age, t.month, t.day)
|
29
|
+
from = ::Date.new(t.year - min_age, t.month, t.day - 1)
|
30
|
+
to = ::Date.new(t.year - max_age, t.month, t.day + 1)
|
29
31
|
|
30
32
|
between(from, to).to_date
|
31
33
|
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module FactoryHelper
|
2
|
+
class SlackEmoji < Base
|
3
|
+
class << self
|
4
|
+
|
5
|
+
def people
|
6
|
+
fetch('slack_emoji.people')
|
7
|
+
end
|
8
|
+
|
9
|
+
def nature
|
10
|
+
fetch('slack_emoji.nature')
|
11
|
+
end
|
12
|
+
|
13
|
+
def food_and_drink
|
14
|
+
fetch('slack_emoji.food_and_drink')
|
15
|
+
end
|
16
|
+
|
17
|
+
def celebration
|
18
|
+
fetch('slack_emoji.celebration')
|
19
|
+
end
|
20
|
+
|
21
|
+
def activity
|
22
|
+
fetch('slack_emoji.activity')
|
23
|
+
end
|
24
|
+
|
25
|
+
def travel_and_places
|
26
|
+
fetch('slack_emoji.travel_and_places')
|
27
|
+
end
|
28
|
+
|
29
|
+
def objects_and_symbols
|
30
|
+
fetch('slack_emoji.objects_and_symbols')
|
31
|
+
end
|
32
|
+
|
33
|
+
def custom
|
34
|
+
fetch('slack_emoji.custom')
|
35
|
+
end
|
36
|
+
|
37
|
+
def emoji
|
38
|
+
parse('slack_emoji.emoji')
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
data/lib/locales/en.yml
CHANGED
@@ -153,3 +153,22 @@ en:
|
|
153
153
|
author:
|
154
154
|
- "#{Name.name}"
|
155
155
|
- "#{Company.name}"
|
156
|
+
|
157
|
+
slack_emoji:
|
158
|
+
people: [':grinning:', ':grin:', ':joy:', ':smiley:', ':smile:', ':sweat_smile:', ':satisfied:', ':innocent:', ':smiling_imp:', ':imp:', ':wink:', ':blush:', ':relaxed:', ':yum:', ':relieved:', ':heart_eyes:', ':sunglasses:', ':smirk:', ':neutral_face:', ':expressionless:', ':unamused:', ':sweat:', ':pensive:', ':confused:', ':confounded:', ':kissing:', ':kissing_heart:', ':kissing_smiling_eyes:', ':kissing_closed_eyes:', ':stuck_out_tongue:', ':stuck_out_tongue_winking_eye:', ':stuck_out_tongue_closed_eyes:', ':disappointed:', ':worried:', ':angry:', ':rage:', ':cry:', ':persevere:', ':triumph:', ':disappointed_relieved:', ':frowning:', ':anguished:', ':fearful:', ':weary:', ':sleepy:', ':tired_face:', ':grimacing:', ':sob:', ':open_mouth:', ':hushed:', ':cold_sweat:', ':scream:', ':astonished:', ':flushed:', ':sleeping:', ':dizzy_face:', ':no_mouth:', ':mask:', ':smile_cat:', ':joy_cat:', ':smiley_cat:', ':heart_eyes_cat:', ':smirk_cat:', ':kissing_cat:', ':pouting_cat:', ':crying_cat_face:', ':scream_cat:', ':footprints:', ':bust_in_silhouette:', ':busts_in_silhouette:', ':baby:', ':boy:', ':girl:', ':man:', ':woman:', ':family:', ':couple:', ':two_men_holding_hands:', ':two_women_holding_hands:', ':dancers:', ':bride_with_veil:', ':person_with_blond_hair:', ':man_with_gua_pi_mao:', ':man_with_turban:', ':older_man:', ':older_woman:', ':cop:', ':construction_worker:', ':princess:', ':guardsman:', ':angel:', ':santa:', ':ghost:', ':japanese_ogre:', ':japanese_goblin:', ':shit:', ':skull:', ':alien:', ':space_invader:', ':bow:', ':information_desk_person:', ':no_good:', ':ok_woman:', ':raising_hand:', ':person_with_pouting_face:', ':person_frowning:', ':massage:', ':haircut:', ':couple_with_heart:', ':couplekiss:', ':raised_hands:', ':clap:', ':ear:', ':eyes:', ':nose:', ':lips:', ':kiss:', ':tongue:', ':nail_care:', ':wave:', ':thumbsup:', ':thumbsdown:', ':point_up:', ':point_up_2:', ':point_down:', ':point_left:', ':point_right:', ':ok_hand:', ':v:', ':punch:', ':fist:', ':raised_hand:', ':muscle:', ':open_hands:', ':pray:']
|
159
|
+
nature: [':seedling:', ':evergreen_tree:', ':deciduous_tree:', ':palm_tree:', ':cactus:', ':tulip:', ':cherry_blossom:', ':rose:', ':hibiscus:', ':sunflower:', ':blossom:', ':bouquet:', ':ear_of_rice:', ':herb:', ':four_leaf_clover:', ':maple_leaf:', ':fallen_leaf:', ':leaves:', ':mushroom:', ':chestnut:', ':rat:', ':mouse2:', ':mouse:', ':hamster:', ':ox:', ':water_buffalo:', ':cow2:', ':cow:', ':tiger2:', ':leopard:', ':tiger:', ':rabbit2:', ':rabbit:', ':cat2:', ':cat:', ':racehorse:', ':horse:', ':ram:', ':sheep:', ':goat:', ':rooster:', ':chicken:', ':baby_chick:', ':hatching_chick:', ':hatched_chick:', ':bird:', ':penguin:', ':elephant:', ':dromedary_camel:', ':camel:', ':boar:', ':pig2:', ':pig:', ':pig_nose:', ':dog2:', ':poodle:', ':dog:', ':wolf:', ':bear:', ':koala:', ':panda_face:', ':monkey_face:', ':see_no_evil:', ':hear_no_evil:', ':speak_no_evil:', ':monkey:', ':dragon:', ':dragon_face:', ':crocodile:', ':snake:', ':turtle:', ':frog:', ':whale2:', ':whale:', ':flipper:', ':octopus:', ':fish:', ':tropical_fish:', ':blowfish:', ':shell:', ':snail:', ':bug:', ':ant:', ':honeybee:', ':beetle:', ':paw_prints:', ':zap:', ':fire:', ':crescent_moon:', ':sunny:', ':partly_sunny:', ':cloud:', ':droplet:', ':sweat_drops:', ':umbrella:', ':dash:', ':snowflake:', ':star2:', ':star:', ':stars:', ':sunrise_over_mountains:', ':sunrise:', ':rainbow:', ':ocean:', ':volcano:', ':milky_way:', ':mount_fuji:', ':japan:', ':globe_with_meridians:', ':earth_africa:', ':earth_americas:', ':earth_asia:', ':new_moon:', ':waxing_crescent_moon:', ':first_quarter_moon:', ':waxing_gibbous_moon:', ':full_moon:', ':waning_gibbous_moon:', ':last_quarter_moon:', ':waning_crescent_moon:', ':new_moon_with_face:', ':full_moon_with_face:', ':first_quarter_moon_with_face:', ':last_quarter_moon_with_face:', ':sun_with_face:']
|
160
|
+
food_and_drink: [':tomato:', ':eggplant:', ':corn:', ':sweet_potato:', ':grapes:', ':melon:', ':watermelon:', ':tangerine:', ':lemon:', ':banana:', ':pineapple:', ':apple:', ':green_apple:', ':pear:', ':peach:', ':cherries:', ':strawberry:', ':hamburger:', ':pizza:', ':meat_on_bone:', ':poultry_leg:', ':rice_cracker:', ':rice_ball:', ':rice:', ':curry:', ':ramen:', ':spaghetti:', ':bread:', ':fries:', ':dango:', ':oden:', ':sushi:', ':fried_shrimp:', ':fish_cake:', ':icecream:', ':shaved_ice:', ':ice_cream:', ':doughnut:', ':cookie:', ':chocolate_bar:', ':candy:', ':lollipop:', ':custard:', ':honey_pot:', ':cake:', ':bento:', ':stew:', ':egg:', ':fork_and_knife:', ':tea:', ':coffee:', ':sake:', ':wine_glass:', ':cocktail:', ':tropical_drink:', ':beer:', ':beers:', ':baby_bottle:']
|
161
|
+
celebration: [':ribbon:', ':gift:', ':birthday:', ':jack_o_lantern:', ':christmas_tree:', ':tanabata_tree:', ':bamboo:', ':rice_scene:', ':fireworks:', ':sparkler:', ':tada:', ':confetti_ball:', ':balloon:', ':dizzy:', ':sparkles:', ':collision:', ':mortar_board:', ':crown:', ':dolls:', ':flags:', ':wind_chime:', ':crossed_flags:', ':lantern:', ':ring:', ':heart:', ':broken_heart:', ':love_letter:', ':two_hearts:', ':revolving_hearts:', ':heartbeat:', ':heartpulse:', ':sparkling_heart:', ':cupid:', ':gift_heart:', ':heart_decoration:', ':purple_heart:', ':yellow_heart:', ':green_heart:', ':blue_heart:']
|
162
|
+
activity: [':running:', ':walking:', ':dancer:', ':rowboat:', ':swimmer:', ':surfer:', ':bath:', ':snowboarder:', ':ski:', ':snowman:', ':bicyclist:', ':mountain_bicyclist:', ':horse_racing:', ':tent:', ':fishing_pole_and_fish:', ':soccer:', ':basketball:', ':football:', ':baseball:', ':tennis:', ':rugby_football:', ':golf:', ':trophy:', ':running_shirt_with_sash:', ':checkered_flag:', ':musical_keyboard:', ':guitar:', ':violin:', ':saxophone:', ':trumpet:', ':musical_note:', ':notes:', ':musical_score:', ':headphones:', ':microphone:', ':performing_arts:', ':ticket:', ':tophat:', ':circus_tent:', ':clapper:', ':art:', ':dart:', ':8ball:', ':bowling:', ':slot_machine:', ':game_die:', ':video_game:', ':flower_playing_cards:', ':black_joker:', ':mahjong:', ':carousel_horse:', ':ferris_wheel:', ':roller_coaster:']
|
163
|
+
travel_and_places: [':train:', ':mountain_railway:', ':steam_locomotive:', ':monorail:', ':bullettrain_side:', ':bullettrain_front:', ':train2:', ':metro:', ':light_rail:', ':station:', ':tram:', ':bus:', ':oncoming_bus:', ':trolleybus:', ':minibus:', ':ambulance:', ':fire_engine:', ':police_car:', ':oncoming_police_car:', ':rotating_light:', ':taxi:', ':oncoming_taxi:', ':red_car:', ':oncoming_automobile:', ':blue_car:', ':truck:', ':articulated_lorry:', ':tractor:', ':bike:', ':busstop:', ':fuelpump:', ':construction:', ':vertical_traffic_light:', ':traffic_light:', ':rocket:', ':helicopter:', ':airplane:', ':seat:', ':anchor:', ':ship:', ':speedboat:', ':sailboat:', ':aerial_tramway:', ':mountain_cableway:', ':suspension_railway:', ':passport_control:', ':customs:', ':baggage_claim:', ':left_luggage:', ':yen:', ':euro:', ':pound:', ':dollar:', ':statue_of_liberty:', ':moyai:', ':foggy:', ':tokyo_tower:', ':fountain:', ':european_castle:', ':japanese_castle:', ':city_sunrise:', ':city_sunset:', ':night_with_stars:', ':bridge_at_night:', ':house:', ':house_with_garden:', ':office:', ':department_store:', ':factory:', ':post_office:', ':european_post_office:', ':hospital:', ':bank:', ':hotel:', ':love_hotel:', ':convenience_store:', ':school:', ':cn:', ':de:', ':es:', ':fr:', ':uk:', ':it:', ':jp:', ':kr:', ':ru:', ':us:']
|
164
|
+
objects_and_symbols: [':watch:', ':iphone:', ':calling:', ':computer:', ':alarm_clock:', ':hourglass_flowing_sand:', ':hourglass:', ':camera:', ':video_camera:', ':movie_camera:', ':tv:', ':radio:', ':pager:', ':telephone_receiver:', ':telephone:', ':fax:', ':minidisc:', ':floppy_disk:', ':cd:', ':dvd:', ':vhs:', ':battery:', ':electric_plug:', ':bulb:', ':flashlight:', ':satellite:', ':credit_card:', ':money_with_wings:', ':moneybag:', ':gem:', ':closed_umbrella:', ':pouch:', ':purse:', ':handbag:', ':briefcase:', ':school_satchel:', ':lipstick:', ':eyeglasses:', ':womans_hat:', ':sandal:', ':high_heel:', ':boot:', ':shoe:', ':athletic_shoe:', ':bikini:', ':dress:', ':kimono:', ':womans_clothes:', ':tshirt:', ':necktie:', ':jeans:', ':door:', ':shower:', ':bathtub:', ':toilet:', ':barber:', ':syringe:', ':pill:', ':microscope:', ':telescope:', ':crystal_ball:', ':wrench:', ':hocho:', ':nut_and_bolt:', ':hammer:', ':bomb:', ':smoking:', ':gun:', ':bookmark:', ':newspaper:', ':key:', ':envelope:', ':envelope_with_arrow:', ':incoming_envelope:', ':e-mail:', ':inbox_tray:', ':outbox_tray:', ':package:', ':postal_horn:', ':postbox:', ':mailbox_closed:', ':mailbox:', ':mailbox_with_mail:', ':mailbox_with_no_mail:', ':page_facing_up:', ':page_with_curl:', ':bookmark_tabs:', ':chart_with_upwards_trend:', ':chart_with_downwards_trend:', ':bar_chart:', ':date:', ':calendar:', ':low_brightness:', ':high_brightness:', ':scroll:', ':clipboard:', ':open_book:', ':notebook:', ':notebook_with_decorative_cover:', ':ledger:', ':closed_book:', ':green_book:', ':blue_book:', ':orange_book:', ':books:', ':card_index:', ':link:', ':paperclip:', ':pushpin:', ':scissors:', ':triangular_ruler:', ':round_pushpin:', ':straight_ruler:', ':triangular_flag_on_post:', ':file_folder:', ':open_file_folder:', ':black_nib:', ':pencil2:', ':pencil:', ':lock_with_ink_pen:', ':closed_lock_with_key:', ':lock:', ':unlock:', ':mega:', ':loudspeaker:', ':sound:', ':speaker:', ':mute:', ':zzz:', ':bell:', ':no_bell:', ':thought_balloon:', ':speech_balloon:', ':children_crossing:', ':mag:', ':mag_right:', ':no_entry_sign:', ':no_entry:', ':name_badge:', ':no_pedestrians:', ':do_not_litter:', ':no_bicycles:', ':non-potable_water:', ':no_mobile_phones:', ':underage:', ':accept:', ':ideograph_advantage:', ':white_flower:', ':secret:', ':congratulations:', ':u5408:', ':u6e80:', ':u7981:', ':u6709:', ':u7121:', ':u7533:', ':u55b6:', ':u6708:', ':u5272:', ':u7a7a:', ':sa:', ':koko:', ':u6307:', ':chart:', ':sparkle:', ':eight_spoked_asterisk:', ':negative_squared_cross_mark:', ':white_check_mark:', ':eight_pointed_black_star:', ':vibration_mode:', ':mobile_phone_off:', ':vs:', ':a:', ':b:', ':ab:', ':cl:', ':o2:', ':sos:', ':id:', ':parking:', ':wc:', ':cool:', ':free:', ':new:', ':ng:', ':ok:', ':up:', ':atm:', ':aries:', ':taurus:', ':gemini:', ':cancer:', ':leo:', ':virgo:', ':libra:', ':scorpius:', ':sagittarius:', ':capricorn:', ':aquarius:', ':pisces:', ':restroom:', ':mens:', ':womens:', ':baby_symbol:', ':wheelchair:', ':potable_water:', ':no_smoking:', ':put_litter_in_its_place:', ':arrow_forward:', ':arrow_backward:', ':arrow_up_small:', ':arrow_down_small:', ':fast_forward:', ':rewind:', ':arrow_double_up:', ':arrow_double_down:', ':arrow_right:', ':arrow_left:', ':arrow_up:', ':arrow_down:', ':arrow_upper_right:', ':arrow_lower_right:', ':arrow_lower_left:', ':arrow_upper_left:', ':arrow_up_down:', ':left_right_arrow:', ':arrows_counterclockwise:', ':arrow_right_hook:', ':leftwards_arrow_with_hook:', ':arrow_heading_up:', ':arrow_heading_down:', ':twisted_rightwards_arrows:', ':repeat:', ':repeat_one:', ':zero:', ':one:', ':two:', ':three:', ':four:', ':five:', ':six:', ':seven:', ':eight:', ':nine:', ':keycap_ten:', ':1234:', ':abc:', ':abcd:', ':capital_abcd:', ':information_source:', ':signal_strength:', ':cinema:', ':symbols:', ':heavy_plus_sign:', ':heavy_minus_sign:', ':wavy_dash:', ':heavy_division_sign:', ':heavy_multiplication_x:', ':heavy_check_mark:', ':arrows_clockwise:', ':tm:', ':copyright:', ':registered:', ':currency_exchange:', ':heavy_dollar_sign:', ':curly_loop:', ':loop:', ':part_alternation_mark:', ':heavy_exclamation_mark:', ':question:', ':grey_exclamation:', ':grey_question:', ':interrobang:', ':x:', ':o:', ':100:', ':end:', ':back:', ':on:', ':top:', ':soon:', ':cyclone:', ':m:', ':ophiuchus:', ':six_pointed_star:', ':beginner:', ':trident:', ':warning:', ':hotsprings:', ':recycle:', ':anger:', ':diamond_shape_with_a_dot_inside:', ':spades:', ':clubs:', ':hearts:', ':diamonds:', ':ballot_box_with_check:', ':white_circle:', ':black_circle:', ':radio_button:', ':red_circle:', ':large_blue_circle:', ':small_red_triangle:', ':small_red_triangle_down:', ':small_orange_diamond:', ':small_blue_diamond:', ':large_orange_diamond:', ':large_blue_diamond:', ':black_small_square:', ':white_small_square:', ':black_large_square:', ':white_large_square:', ':black_medium_square:', ':white_medium_square:', ':black_medium_small_square:', ':white_medium_small_square:', ':black_square_button:', ':white_square_button:', ':clock1:', ':clock2:', ':clock3:', ':clock4:', ':clock5:', ':clock6:', ':clock7:', ':clock8:', ':clock9:', ':clock10:', ':clock11:', ':clock12:', ':clock130:', ':clock230:', ':clock330:', ':clock430:', ':clock530:', ':clock630:', ':clock730:', ':clock830:', ':clock930:', ':clock1030:', ':clock1130:', ':clock1230:']
|
165
|
+
custom: [':beryl:', ':bowtie:', ':crab:', ':cubimal_chick:', ':dusty_stick:', ':feelsgood:', ':finnadie:', ':fu:', ':goberserk:', ':godmode:', ':hurtrealbad:', ':metal:', ':neckbeard:', ':octocat:', ':piggy:', ':rage1:', ':rage2:', ':rage3:', ':rage4:', ':rube:', ':simple_smile:', ':slack:', ':squirrel:', ':suspect:', ':taco:', ':trollface:']
|
166
|
+
emoji:
|
167
|
+
- "#{people}"
|
168
|
+
- "#{nature}"
|
169
|
+
- "#{food_and_drink}"
|
170
|
+
- "#{celebration}"
|
171
|
+
- "#{activity}"
|
172
|
+
- "#{travel_and_places}"
|
173
|
+
- "#{objects_and_symbols}"
|
174
|
+
- "#{custom}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory-helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Giaraffa
|
@@ -9,79 +9,79 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-05-
|
12
|
+
date: 2015-05-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.7'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.7'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '10.0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '10.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: pry
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- -
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '0'
|
48
|
+
version: '0.10'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- -
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
55
|
+
version: '0.10'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
57
|
+
name: coveralls
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0.
|
63
|
-
type: :
|
62
|
+
version: '0.8'
|
63
|
+
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ~>
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0.
|
69
|
+
version: '0.8'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
71
|
+
name: i18n
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
77
|
-
type: :
|
76
|
+
version: '0.7'
|
77
|
+
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
|
-
description:
|
83
|
+
version: '0.7'
|
84
|
+
description: 'Easily generate fake data: names, addresses, phone numbers, etc.'
|
85
85
|
email:
|
86
86
|
- factory-helper@googlegroups.com
|
87
87
|
executables: []
|
@@ -108,6 +108,7 @@ files:
|
|
108
108
|
- lib/factory-helper/name.rb
|
109
109
|
- lib/factory-helper/number.rb
|
110
110
|
- lib/factory-helper/phone_number.rb
|
111
|
+
- lib/factory-helper/slack_emoji.rb
|
111
112
|
- lib/factory-helper/team.rb
|
112
113
|
- lib/factory-helper/time.rb
|
113
114
|
- lib/factory-helper/version.rb
|
@@ -149,17 +150,17 @@ require_paths:
|
|
149
150
|
- lib
|
150
151
|
required_ruby_version: !ruby/object:Gem::Requirement
|
151
152
|
requirements:
|
152
|
-
- -
|
153
|
+
- - ">="
|
153
154
|
- !ruby/object:Gem::Version
|
154
155
|
version: 1.9.3
|
155
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
157
|
requirements:
|
157
|
-
- -
|
158
|
+
- - ">="
|
158
159
|
- !ruby/object:Gem::Version
|
159
160
|
version: '0'
|
160
161
|
requirements: []
|
161
162
|
rubyforge_project:
|
162
|
-
rubygems_version: 2.4.
|
163
|
+
rubygems_version: 2.4.6
|
163
164
|
signing_key:
|
164
165
|
specification_version: 4
|
165
166
|
summary: Easily generate fake data
|