bazaar 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Bazaar
2
2
 
3
- Bazaar is a random item generator.
3
+ Bazaar is a random item and Heroku-ish name generator.
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,8 +18,29 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
+ Bazaar.object
22
+ => "Dirty rubberband"
23
+ => "Unusual pillow"
24
+ => "Slippery toothpaste"
25
+
26
+ Bazaar.super_object
27
+ => "Unwavering foliage"
28
+ => "Tranquil snowflake"
29
+ => "Exuberant drylands"
30
+
31
+ Bazaar.heroku
32
+ => "inquisitive-cavern-6617"
33
+
34
+
35
+ Bazaar.adj
36
+ => "Javelin"
21
37
  Bazaar.item
22
- => "Bike"
38
+ => "Colossal"
39
+ Bazaar.super_adj
40
+ => "Limitless"
41
+ Bazaar.super_item
42
+ => "Lagoon"
43
+
23
44
 
24
45
  ## Contributing
25
46
 
@@ -8,9 +8,9 @@ Gem::Specification.new do |gem|
8
8
  gem.version = Bazaar::VERSION
9
9
  gem.authors = ["Raymond Chan"]
10
10
  gem.email = ["raycchan@gmail.com"]
11
- gem.description = %q{Bazaar}
12
- gem.summary = %q{Bazaar is a random item generator.}
13
- gem.homepage = ""
11
+ gem.description = %q{Random item and Heroku-ish name generator.}
12
+ gem.summary = %q{Bazaar is a random item and Heroku-ish name generator.}
13
+ gem.homepage = "https://github.com/raycchan/bazaar"
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -2,6 +2,27 @@ require "bazaar/version"
2
2
 
3
3
  module Bazaar
4
4
  def self.item
5
- File.read(File.expand_path("../bazaar/items.txt", __FILE__)).split("\n").sample
5
+ get_item("items").humanize
6
+ end
7
+ def self.adj
8
+ get_item("adj").humanize
9
+ end
10
+ def self.object
11
+ (get_item("adj") + ' ' + get_item("items")).humanize
12
+ end
13
+ def self.super_item
14
+ get_item("superitems").humanize
15
+ end
16
+ def self.super_adj
17
+ get_item("superadj").humanize
18
+ end
19
+ def self.super_object
20
+ (get_item("superadj") + ' ' + get_item("superitems")).humanize
21
+ end
22
+ def self.heroku
23
+ get_item("superadj") + '-' + get_item("superitems") + '-' + rand(0-9999).to_s
24
+ end
25
+ def self.get_item(filename)
26
+ File.read(File.expand_path("../bazaar/#{filename}.txt", __FILE__)).split("\n").sample
6
27
  end
7
28
  end
@@ -0,0 +1,69 @@
1
+ attractive
2
+ average
3
+ beautiful
4
+ big
5
+ broad
6
+ broken
7
+ bumpy
8
+ chubby
9
+ clean
10
+ colorful
11
+ colossal
12
+ crooked
13
+ curved
14
+ cute
15
+ damaged
16
+ dark
17
+ deep
18
+ dirty
19
+ dry
20
+ dull
21
+ dusty
22
+ fancy
23
+ fat
24
+ filthy
25
+ flat
26
+ gigantic
27
+ gorgeous
28
+ graceful
29
+ great
30
+ grotesque
31
+ high
32
+ hollow
33
+ huge
34
+ large
35
+ little
36
+ long
37
+ mammoth
38
+ massive
39
+ miniature
40
+ misty
41
+ muddy
42
+ narrow
43
+ petite
44
+ plain
45
+ precious
46
+ prickly
47
+ puny
48
+ quaint
49
+ round
50
+ scrawny
51
+ shallow
52
+ shiny
53
+ short
54
+ skinny
55
+ slimy
56
+ slippery
57
+ small
58
+ smooth
59
+ soft
60
+ steep
61
+ sticky
62
+ straight
63
+ strange
64
+ tall
65
+ teeny
66
+ tiny
67
+ ugly
68
+ unusual
69
+ wide
@@ -0,0 +1,128 @@
1
+ anvil
2
+ arrow
3
+ axe
4
+ balloon
5
+ baseball
6
+ bathtub
7
+ bible
8
+ bike
9
+ bikini
10
+ bleach
11
+ blouse
12
+ blowdryer
13
+ book
14
+ bookmark
15
+ boombox
16
+ bottle cap
17
+ button
18
+ candle
19
+ candy wrapper
20
+ canvas
21
+ card
22
+ CD
23
+ cha
24
+ chainmail
25
+ chalk
26
+ charger
27
+ checkbook
28
+ clarinet
29
+ clay pot
30
+ clock
31
+ coffee maker
32
+ comb
33
+ cookie jar
34
+ cork
35
+ crayons
36
+ credit card
37
+ cushion
38
+ deodorant
39
+ detergent
40
+ dice
41
+ dollar bill
42
+ drum
43
+ eraser
44
+ eye liner
45
+ facewash
46
+ flag
47
+ flowers
48
+ flute
49
+ fork
50
+ gel
51
+ glasses
52
+ glowstick
53
+ grid paper
54
+ hairtie
55
+ hanger
56
+ hat
57
+ helmet
58
+ icecube
59
+ javelin
60
+ keychain
61
+ kilt
62
+ kite
63
+ knife
64
+ lace
65
+ lamp shade
66
+ leg warmers
67
+ lip gloss
68
+ lotion
69
+ mallet
70
+ map
71
+ microphone
72
+ model car
73
+ mousepad
74
+ nail
75
+ needle
76
+ outlet
77
+ paint brush
78
+ passport
79
+ pencil
80
+ pepperspray
81
+ photo album
82
+ piano
83
+ picture frame
84
+ piggy bank
85
+ pillow
86
+ pool stick
87
+ puddle
88
+ quilt
89
+ radio
90
+ receipt
91
+ remote control
92
+ rock
93
+ rope
94
+ rubberband
95
+ rubber duck
96
+ rug
97
+ sandpaper
98
+ scissors
99
+ scotchtape
100
+ screw
101
+ seatbelt
102
+ sharpie
103
+ shield
104
+ shoelace
105
+ shovel
106
+ sketchpad
107
+ slipper
108
+ soap
109
+ speakers
110
+ spear
111
+ sponge
112
+ spoon
113
+ sticky note
114
+ stockings
115
+ stone
116
+ suitcase
117
+ sunglasses
118
+ thermometer
119
+ thread
120
+ tire
121
+ tissuebox
122
+ tobacco
123
+ toothpaste
124
+ toothpick
125
+ vase
126
+ wheelbarrow
127
+ whiteout
128
+ zipper
@@ -0,0 +1,86 @@
1
+ affectionate
2
+ amiable
3
+ arrogant
4
+ balmy
5
+ barren
6
+ benevolent
7
+ billowing
8
+ blessed
9
+ breezy
10
+ calm
11
+ celestial
12
+ charming
13
+ combative
14
+ composed
15
+ condemned
16
+ divine
17
+ dry
18
+ energized
19
+ exuberant
20
+ flowing
21
+ fluffy
22
+ fluttering
23
+ frightened
24
+ fuscia
25
+ gentle
26
+ greasy
27
+ grieving
28
+ harmonious
29
+ hollow
30
+ homeless
31
+ icy
32
+ indigo
33
+ inquisitive
34
+ itchy
35
+ joyful
36
+ jubilant
37
+ juicy
38
+ khaki
39
+ limitless
40
+ lush
41
+ mellow
42
+ merciful
43
+ merry
44
+ mirthful
45
+ moonlit
46
+ mysterious
47
+ natural
48
+ nely
49
+ outrageous
50
+ pacific
51
+ parched
52
+ placid
53
+ pleasant
54
+ poised
55
+ purring
56
+ radioactive
57
+ resilient
58
+ scenic
59
+ screeching
60
+ sensitive
61
+ serene
62
+ snowy
63
+ solitary
64
+ spacial
65
+ squealing
66
+ stunning
67
+ sunset
68
+ talented
69
+ tasteless
70
+ teal
71
+ thoughtless
72
+ thriving
73
+ tranquil
74
+ tropical
75
+ undisturbed
76
+ unsightly
77
+ unwavering
78
+ uplifting
79
+ voiceless
80
+ wandering
81
+ warm
82
+ wealthy
83
+ whispering
84
+ withered
85
+ wooden
86
+ zealous
@@ -0,0 +1,78 @@
1
+ abyss
2
+ aurora
3
+ autumn
4
+ badlands
5
+ beach
6
+ briars
7
+ brook
8
+ canopy
9
+ canyon
10
+ cavern
11
+ chasm
12
+ cliff
13
+ cove
14
+ crater
15
+ creek
16
+ darkness
17
+ dawn
18
+ desert
19
+ dew
20
+ dove
21
+ drylands
22
+ dusk
23
+ farm
24
+ fern
25
+ firefly
26
+ flowers
27
+ fog
28
+ foliage
29
+ forest
30
+ galaxy
31
+ garden
32
+ geyser
33
+ grove
34
+ hurricane
35
+ iceberg
36
+ lagoon
37
+ lake
38
+ leaves
39
+ marsh
40
+ meadow
41
+ mist
42
+ moss
43
+ mountain
44
+ oasis
45
+ ocean
46
+ peak
47
+ pebble
48
+ pine
49
+ pond
50
+ reef
51
+ reserve
52
+ resonance
53
+ sanctuary
54
+ sands
55
+ shelter
56
+ silence
57
+ smokescreen
58
+ snowflake
59
+ spring
60
+ storm
61
+ stream
62
+ summer
63
+ summit
64
+ sunrise
65
+ sunset
66
+ sunshine
67
+ surf
68
+ swamp
69
+ temple
70
+ thorns
71
+ tsunami
72
+ tundra
73
+ valley
74
+ volcano
75
+ waterfall
76
+ willow
77
+ winds
78
+ winter
@@ -1,3 +1,3 @@
1
1
  module Bazaar
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bazaar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2013-01-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Bazaar
14
+ description: Random item and Heroku-ish name generator.
15
15
  email:
16
16
  - raycchan@gmail.com
17
17
  executables: []
@@ -25,8 +25,12 @@ files:
25
25
  - Rakefile
26
26
  - bazaar.gemspec
27
27
  - lib/bazaar.rb
28
+ - lib/bazaar/adj.txt
29
+ - lib/bazaar/items.txt
30
+ - lib/bazaar/superadj.txt
31
+ - lib/bazaar/superitems.txt
28
32
  - lib/bazaar/version.rb
29
- homepage: ''
33
+ homepage: https://github.com/raycchan/bazaar
30
34
  licenses: []
31
35
  post_install_message:
32
36
  rdoc_options: []
@@ -49,5 +53,5 @@ rubyforge_project:
49
53
  rubygems_version: 1.8.24
50
54
  signing_key:
51
55
  specification_version: 3
52
- summary: Bazaar is a random item generator.
56
+ summary: Bazaar is a random item and Heroku-ish name generator.
53
57
  test_files: []