cats 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d3924418b2469a2b0eed380a2fdec52711149f55
4
+ data.tar.gz: 0aadd1cc50d70cb253b1c54da5af538927ee82e9
5
+ SHA512:
6
+ metadata.gz: 41956eac82a05bde01a6c179b34fdb46889efaca9002e1cbd977c8235379a1a0bd8105ae64790c640ef7167b6f2855013155167c7897ddee7798f170dc89ca2b
7
+ data.tar.gz: afd7aace3ee5754e8412885287f7a426bfe591ae5e2cc5ef3124fc86ce4d755e85fbbd6ff2993db3626ed824dc39aecf47f6496e1f2bb434ea7c570dc34678b3
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/README.md CHANGED
@@ -1,9 +1,13 @@
1
1
  # Cats
2
+ [![Dependency Status](https://gemnasium.com/thenickperson/cats.png)](https://gemnasium.com/thenickperson/cats)
3
+ [![Code Climate](https://codeclimate.com/github/thenickperson/cats.png)](https://codeclimate.com/github/thenickperson/cats)
2
4
 
3
- TODO: Write a gem description
5
+ A library/tool that does a small number of cat-related tasks. Cats currently
6
+ acts as a command line client and library for recieving cat facts.
4
7
 
5
- ## Installation
8
+ ## [Documentation](http://rubydoc.info/github/thenickperson/cats/frames)
6
9
 
10
+ ## Installation
7
11
  Add this line to your application's Gemfile:
8
12
 
9
13
  gem 'cats'
@@ -18,10 +22,25 @@ Or install it yourself as:
18
22
 
19
23
  ## Usage
20
24
 
21
- TODO: Write usage instructions here
25
+ ### As a command line tool
26
+ ```shell
27
+ $ cats fact
28
+ A cat can travel at a top speed of approximately 31 mph (49 km) over a short
29
+ distance.
30
+ ```
22
31
 
23
- ## Contributing
32
+ ### As a library
33
+ ```ruby
34
+ require 'cats'
24
35
 
36
+ puts Cats.fact
37
+ ```
38
+
39
+ ## Credits
40
+ - List of cat facts: [CatFactsApi](https://github.com/pieces029/CatFactsApi)
41
+ (MIT License)
42
+
43
+ ## Contributing
25
44
  1. Fork it
26
45
  2. Create your feature branch (`git checkout -b my-new-feature`)
27
46
  3. Commit your changes (`git commit -am 'Add some feature'`)
data/Rakefile CHANGED
@@ -1 +1,4 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
+
3
+ require 'yard'
4
+ YARD::Rake::YardocTask.new
data/bin/cats ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'cats'
4
+
5
+ # Start the CLI with Thor
6
+ Cats::CLI.start ARGV
data/cats.gemspec CHANGED
@@ -1,23 +1,29 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'cats/version'
4
+ require 'cats'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "cats"
7
+ spec.name = 'cats'
8
8
  spec.version = Cats::VERSION
9
- spec.authors = ["Nicolas McCurdy"]
10
- spec.email = ["thenickperson@gmail.com"]
11
- spec.description = "A pointless placeholder gem that might do something cat-related eventually."
12
- spec.summary = "A pointless placeholder gem that might do something cat-related eventually."
13
- spec.homepage = ""
14
- spec.license = "MIT"
9
+ spec.authors = ['Nicolas McCurdy']
10
+ spec.email = ['thenickperson@gmail.com']
11
+ spec.description = 'A library/tool that does a small number of cat-related
12
+ tasks.'
13
+ spec.summary = 'A library/tool that does a small number of cat-related
14
+ tasks.'
15
+ spec.homepage = 'https://github.com/thenickperson/cats'
16
+ spec.license = 'MIT'
15
17
 
16
18
  spec.files = `git ls-files`.split($/)
17
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
20
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
21
+ spec.require_paths = ['lib']
20
22
 
21
- spec.add_development_dependency "bundler", "~> 1.3"
22
- spec.add_development_dependency "rake"
23
+ spec.add_runtime_dependency 'thor', '~> 0.18'
24
+
25
+ spec.add_development_dependency 'bundler', '~> 1.3'
26
+ spec.add_development_dependency 'rake'
27
+ spec.add_development_dependency 'yard', '~> 0.8'
28
+ spec.add_development_dependency 'rdoc', '~> 4.0'
23
29
  end
data/lib/cats.rb CHANGED
@@ -1,5 +1,43 @@
1
- require "cats/version"
1
+ require 'thor'
2
2
 
3
+ # The central module for Cats, a library/tool that does a small number of
4
+ # cat-related tasks
3
5
  module Cats
4
- # Your code goes here...
6
+
7
+ extend self
8
+
9
+ # The version of the Cats gem
10
+ VERSION = '0.1.0'
11
+
12
+ # An Array of cat facts. Each string contains one fact. The facts are read
13
+ # from a simple text file, with one fact on each line.
14
+ @facts = File.open("#{File.dirname __FILE__}/facts.txt").read.split(/\n/)
15
+
16
+ # Returns a given number of cat facts, which defaults to 1
17
+ #
18
+ # TODO: Consider allowing more than 202 cat facts (show duplicates?)
19
+ #
20
+ # @param [Fixnum] quantity the number of cat facts to recieve (0-many)
21
+ #
22
+ # @return [Array] an Array of Strings of cat facts
23
+ def fact(quantity = 1)
24
+ @facts.sample quantity
25
+ end
26
+
27
+ end
28
+
29
+ # The command line interface for Cats. Uses Thor to map each method to a
30
+ # command.
31
+ class Cats::CLI < Thor
32
+
33
+ default_task :fact
34
+
35
+ desc 'fact QUANTITY', 'Displays a given number of cat facts'
36
+ argument :quantity, type: :numeric, default: 1
37
+ # Acts as the UI for Cats.fact by showing each cat fact on a new line of text
38
+ def fact
39
+ facts = Cats.fact quantity
40
+ facts.each { |fact| puts fact }
41
+ end
42
+
5
43
  end
data/lib/facts.txt ADDED
@@ -0,0 +1,202 @@
1
+ Ancient Egyptians believed that 'Bast' was the mother of all cats on Earth. They also believed that cats were sacred animals.
2
+ Ancient Egyptians shaved off their eyebrows to mourn the death of their cats.
3
+ Cat gut, used in tennis rackets and strings for musical instruments does not come from cats, but from sheep.
4
+ Cat urine glows under a black light.
5
+ Cat was the name of Holly Golightly's pet cat in the film Breakfast at Tiffany's.
6
+ Catnip can affect lions and tigers as well as house cats.
7
+ Cats average 16 hours of sleep a day, more than any other mammal.
8
+ Cats have over one hundred vocal sounds, while dogs only have about ten.
9
+ Despite its reputation for being finicky, the average cat consumes about 127,750 calories a year, nearly 28 times its own weight.
10
+ Felix the Cat is the first cartoon character to ever have been made into a balloon for a parade.
11
+ A cat has 230 bones in their body.
12
+ Cats have four rows of whiskers. These whiskers help a cat determine if a space is too small for them to squeeze through.
13
+ Cats do not have sweat glands.
14
+ A cat's brain is closer related to human's brains than a dog's brain.
15
+ Cat's ears can pivot 180 degrees.
16
+ The cat's heartbeat is twice as fast as humans at 110 to 140 beats per minute.
17
+ The normal body temperature of a cat is 101.5 degrees Fahrenheit.
18
+ An adult cat has 30 teeth.
19
+ Adult cats usually have about 12 whiskers
20
+ A cat can jumps seven time its height or higher.
21
+ When a cat is in a real hurry, he can run at around 31 miles per hour.
22
+ The reason your cat cannot find little treats you place on the floor is that they cannot see directly under the nose.
23
+ A cat can see around six times better than a human because of extra reflecting cells, which absorb light.
24
+ Meowing is not for other cats, it is used to communicate with humans.
25
+ When a cat holds its tail high it means he is happy
26
+ If a cat is twitching his tail this is a warning sign.
27
+ If a cat tucks his tail close to his body, he is insecure.
28
+ An arched back is a sign the cat feels threatened.
29
+ Cats spend around thirty percent of their lives grooming.
30
+ To calm themselves after a frightening experience or a fight with another cat, they will clean themselves with paw and tongue.
31
+ White cats with blue eyes are often deaf, however, if they have only one blue eye they are deaf in the ear closest to the blue eye.
32
+ The domestic house cat is a small carnivorous mammal. Its most immediate ancestor is believed to be the African wild cat.
33
+ The cat has been living in close association with humans for somewhere between 3,500 and 8,000 years.
34
+ Cats usually weigh between 2.5 and 7 kg (5.5–16 pounds), although some breeds can exceed 11.3 kg (25 pounds).
35
+ Some cats have been known to reach up to 23 kg (50 pounds) due to overfeeding. This not healthy for the cat.
36
+ Indoor cats typically live 14 to 20 years although the oldest-known cat lived to an amazing age of 36.
37
+ According to National Geographic, cats can't taste sugary foods due to a faulty sweet receptor gene.
38
+ Cats can conserve energy by sleeping more than most animals. Durations of sleep are various, usually 12–16 hours, with 13–14 being the average.
39
+ The term cat nap refers to the cat's ability to fall asleep (lightly) for a brief period.
40
+ Due to cats nocturnal nature, they are often known to enter a period of increased hyperactivity and playfulness during the evening
41
+ Shorter haired cats tend to be skinnier and more active. Cats with longer hair tend to be heavier and less active.
42
+ The body temperature of a cat is between 38 and 39 &deg;C (101 and 102.2 &deg;F).
43
+ A domestic cat's normal heart rate ranges from 140 to 220 beats per minute which is largely dependent on how excited the cat is
44
+ Reason for the 'meow' can vary. Cats can call out to indicate pain, request human attention (to be fed or played with, for example), or even as a greeting.
45
+ A kitten's call first starts out as a high-pitched squeak-like sound when very young, but then deepens over time.
46
+ Declawing surgery is not recommended for an adult animal and is considered an act of animal cruelty in some countries.
47
+ Every year, nearly four million cats are eaten in Asia.
48
+ On average, cats spend 2/3 of every day sleeping. That means a nine-year-old cat has been awake for only three years of its life.
49
+ Unlike dogs, cats do not have a sweet tooth. Scientists believe this is due to a mutation in a key taste receptor.
50
+ When a cat chases its prey, it keeps its head level. Dogs and humans bob their heads up and down.
51
+ The technical term for a cat's hairball is a 'bezoar.'
52
+ A group of cats is called a 'clowder.'
53
+ A cat cannot climb head first down a tree because its claws are curved the wrong way A cat can't climb head first down a tree because every claw on a cat's paw points the same way. To get down from a tree, a cat must back down.
54
+ Cats make about 100 different sounds. Dogs make only about 10.
55
+ A cat's brain is biologically more similar to a human brain than itis to a dog's. Both humans and cats have identical regions in their brains that are responsible for emotions.
56
+ There are more than 500 million domestic cats in the world, with approximately40 recognized breeds.
57
+ Approximately 24 cat skins can make a coat.
58
+ While it is commonly thought that the ancient Egyptians were the first to domesticate cats, the oldest known pet cat was recently found in a 9,500-year-old grave on the Mediterranean island of Cyprus. This grave predates early Egyptian art depicting cats by 4,000 years or more.
59
+ During the time of the Spanish Inquisition, Pope Innocent VIII condemned cats as evil and thousands of cats were burned. Unfortunately, the widespread killing of cats led to an explosion of the rat population, which exacerbated the effects of the Black Death.
60
+ During the Middle Ages, cats were associated with with craft, and on St. John's Day, people all over Europe would stuff them into sacks and toss the cats into bonfires. On holy days, people celebrated by tossing cats from church towers.
61
+ Cats are the most popular pet in North American Cats are North America's most popular pets: there are 73 million cats compared to 63 million dogs. Over 30% of households in North America owna cat.
62
+ The first cat in space was a French cat named Felicette (a.k.a. 'Astrocat') In 1963, France blasted the cat into outer space. Electrodes implanted in her brains sent neurological signals back to Earth. She survived the trip.
63
+ The group of words associated with cat (catt, cath, chat, katze) stem from the Latin catus, meaning domestic cat, as opposed to feles, or wild cat.
64
+ The term 'puss' is the root of the principal word for 'cat' in the Romanian term pisica and the root of secondary words in Lithuanian(puz) and Low German puus. Some scholars suggest that 'puss' could be imitative of the hissing sound used to get a cat's attention. A slang word for the female pudenda, it could be associated with the connotation of a cat being soft, warm, and fuzzy.
65
+ Approximately 40,000 people are bitten by cats in the U.S. annually.
66
+ According to Hebrew legend, Noah prayed to God for help protecting all the food he stored on the ark from being eaten by rats. In reply, God made the lion sneeze, and out popped a cat.
67
+ A cat's hearing is better than a dog's. And a cat can hear high-frequency sounds up to two octaves higher than a human.
68
+ A cat can travel at a top speed of approximately 31 mph (49 km) over a short distance.
69
+ A cat can jump up to five times its own height in a single bound.
70
+ Some cats have survived falls of over 65 feet (20 meters), due largely to their 'righting reflex.' The eyes and balance organs in the inner ear tell it where it is in space so the cat can land on its feet. Even cats without a tail have this ability.
71
+ A cat rubs against people to mark them as their territory A cat rubs against people not only to be affectionate but also to mark out its territory with scent glands around its face. The tail area and paws also carry the cat's scent.
72
+ Researchers are unsure exactly how a cat purrs. Most veterinarians believe that a cat purrs by vibrating vocal folds deep in the throat. To do this, a muscle in the larynx opens and closes the air passage about 25 times per second.
73
+ When a family cat died in ancient Egypt, family members would mourn by shaving off their eyebrows. They also held elaborate funerals during which they drank wine and beat their breasts. The cat was embalmed with a sculpted wooden mask and the tiny mummy was placed in the family tomb or in a pet cemetery with tiny mummies of mice.
74
+ In 1888, more than 300,000 mummified cats were found an Egyptian cemetery. They were stripped of their wrappings and carted off to be used by farmer sin England and the U.S. for fertilizer.
75
+ Most cats give birth to a litter of between one and nine kittens. The largest known litter ever produced was 19 kittens, of which 15 survived.
76
+ Smuggling a cat out of ancient Egypt was punishable by death. Phoenician traders eventually succeeded in smuggling felines, which they sold to rich people in Athens and other important cities.
77
+ The earliest ancestor of the modern cat lived about 30 million years ago. Scientists called it the Proailurus, which means 'first cat' in Greek. The group of animals that pet cats belong to emerged around 12 million years ago.
78
+ The biggest wildcat today is the Siberian Tiger. It can be more than 12feet (3.6 m) long (about the size of a small car) and weigh up to 700 pounds(317 kg).
79
+ The smallest wildcat today is the Black-footed cat. The females are less than 20 inches (50 cm) long and can weigh as little as 2.5 lbs (1.2 kg).
80
+ Many Egyptians worshipped the goddess Bast, who had a woman's body and a cat's head.
81
+ Mohammed loved cats and reportedly his favorite cat, Muezza, was a tabby. Legend says that tabby cats have an 'M' for Mohammed on top of their heads because Mohammad would often rest his hand on the cat's head.
82
+ While many parts of Europe and North America consider the black cat a sign of bad luck, in Britain and Australia, black cats are considered lucky.
83
+ The most popular pedigreed cat is the Persian cat, followed by the Main Coon cat and the Siamese cat.
84
+ The smallest pedigreed cat is a Singapura, which can weigh just 4 lbs (1.8kg), or about five large cans of cat food. The largest pedigreed cats are Maine Coon cats, which can weigh 25 lbs (11.3 kg), or nearly twice as much as an average cat weighs.
85
+ Some Siamese cats are cross-eyed to compensate for abnormal optic wiring Some Siamese cats appear cross-eyed because the nerves from the left side of the brain go to mostly the right eye and the nerves from the right side of the brain go mostly to the left eye. This causes some double vision, which the cat tries to correct by 'crossing' its eyes.
86
+ Researchers believe the word 'tabby' comes from Attabiyah, a neighborhood in Baghdad, Iraq. Tabbies got their name because their striped coats resembled the famous wavy patterns in the silk produced in this city.
87
+ Cats hate the water because their fur does not insulate well when it's wet. The Turkish Van, however, is one cat that likes swimming. Bred in central Asia, its coat has a unique texture that makes it water resistant.
88
+ The Egyptian Mau is probably the oldest breed of cat. In fact, the breed is so ancient that its name is the Egyptian word for 'cat.'
89
+ The costliest cat ever is named Little Nicky, who cost his owner $50,000.He is a clone of an older cat.
90
+ A cat usually has about 12 whiskers on each side of its face.
91
+ A cat's eyesight is both better and worse than humans. It is better because cats can see in much dimmer light and they have a wider peripheral view. It's worse because they don't see color as well as humans do. Scientists believe grass appears red to cats.
92
+ Spanish-Jewish folklore recounts that Adam's first wife, Lilith, became a black vampire cat, sucking the blood from sleeping babies. This may be the root of the superstition that a cat will smother a sleeping baby or suck out the child's breath.
93
+ Perhaps the most famous comic cat is the Cheshire Cat in Lewis Carroll's Alice in Wonderland. With the ability to disappear, this mysterious character embodies the magic and sorcery historically associated with cats.
94
+ In the original Italian version of Cinderella, the benevolent fairy godmother figure was a cat.
95
+ Two Siamese cats discovered microphones hidden by Russian spies in Holland's embassy in Moscow In Holland's embassy in Moscow, Russia, the staff noticed that the two Siamese cats kept meowing and clawing at the walls of the building. Their owners finally investigated, thinking they would find mice. Instead, they discovered microphones hidden by Russian spies. The cats heard the microphones when they turned on.
96
+ The little tufts of hair in a cat's ear that help keep out dirt direct sounds into the ear, and insulate the ears are called 'ear furnishings.'
97
+ The ability of a cat to find its way home is called 'psi-traveling.' Experts think cats either use the angle of the sunlight to find their way or that cats have magnetized cells in their brains that act as compasses.
98
+ Isaac Newton invented the cat flap. Newton was experimenting in a pitch-black room. Spithead, one of his cats, kept opening the door and wrecking his experiment. The cat flap kept both Newton and Spithead happy.
99
+ The world's rarest coffee, Kopi Luwak, comes from Indonesia where a wildcat known as the luwak lives. The cat eats coffee berries and the coffee beans inside pass through the stomach. The beans are harvested from the cat's dung heaps and then cleaned and roasted. Kopi Luwak sells for about $500 for a 450 g (1 lb) bag.
100
+ A cat's jaw can't move sideways, so a cat can't chew large chunks of food.
101
+ A cat almost never meows at another cat, mostly just humans. Cats typically will spit, purr, and hiss at other cats.
102
+ A cat's back is extremely flexible because it has up to 53 loosely fitting vertebrae. Humans only have 34.
103
+ Many cat owners think their cats can read their minds. Approximately &#8531; of cat owners think their pets are able to read their minds.
104
+ All cats have claws, and all except the cheetah sheath them when at rest.
105
+ Two members of the cat family are distinct from all others: the clouded leopard and the cheetah. The clouded leopard does not roar like other big cats, nor does it groom or rest like small cats. The cheetah is unique because it is a running cat; all others are leaping cats. They are leaping cats because they slowly stalk their prey and then leap on it.
106
+ A cat lover is called an Ailurophilia (Greek: cat+lover).
107
+ In Japan, cats are thought to have the power to turn into super spirits when they die. This may be because according to the Buddhist religion, the body of the cat is the temporary resting place of very spiritual people.
108
+ Most cats had short hair until about 100 years ago, when it became fashionable to own cats and experiment with breeding.
109
+ Cats have 32 muscles that control the outer ear (humans have only 6). A cat can independently rotate its ears 180 degrees.
110
+ During the nearly 18 hours a day that kittens sleep, an important growth hormone is released. One reason that kittens sleep so much is because a growth hormone is released only during sleep.
111
+ Cats have about 130,000 hairs per square inch (20,155 hairs per square centimeter).
112
+ The heaviest cat on record is Himmy, a Tabby from Queensland, Australia. He weighed nearly 47 pounds (21 kg). He died at the age of 10.
113
+ The oldest cat on record was Creme Puff from Austin, Texas, who lived from 1967 to August 6, 2005, three days after her 38th birthday. A cat typically can live up to 20 years, which is equivalent to about 96 human years.
114
+ The lightest cat on record is a blue point Himalayan called Tinker Toy, who weighed 1 pound, 6 ounces (616 g). Tinker Toy was 2.75 inches (7 cm)tall and 7.5 inches (19 cm) long.
115
+ The tiniest cat on record is Mr. Pebbles, a 2-year-old cat that weighed3 lbs (1.3 k) and was 6.1 inches (15.5 cm) high.
116
+ A commemorative tower was built in Scotland for a cat named Towser, who caught nearly 30,000 mice in her lifetime.
117
+ In the 1750s, Europeans introduced cats into the Americas to control pests.
118
+ The first cat show was organized in 1871 in London. Cat shows later became a worldwide craze.
119
+ The first cartoon cat was Felix the Cat in 1919. In 1940, Tom and Jerry starred in the first theatrical cartoon 'Puss Gets the Boot.' In1981 Andrew Lloyd Weber created the musical Cats, based on T.S. Eliot's Old Possum's Book of Practical Cats.
120
+ The normal body temperature of a cat is between 100.5 &#176; and 102.5 &#176;F.A cat is sick if its temperature goes below 100 &#176; or above 103 &#176;F.
121
+ A cat has 230 bones in its body. A human has 206. A cat has no collarbone, so it can fit through any opening the size of its head.
122
+ A cat's nose pad is ridged with a unique pattern, just like the fingerprint of a human.
123
+ If they have ample water, cats can tolerate temperatures up to 133 &#176;F.
124
+ Foods that should not be given to cats include onions, garlic, green tomatoes, raw potatoes, chocolate, grapes, and raisins. Though milk is not toxic, it can cause an upset stomach and gas. Tylenol and aspirin are extremely toxic to cats, as are many common houseplants. Feeding cats dog food or canned tuna that's for human consumption can cause malnutrition.
125
+ A 2007 Gallup poll revealed that both men and women were equally likely to own a cat.
126
+ A cat's heart beats nearly twice as fast as a human heart, at 110to 140 beats a minute.
127
+ Cat's sweat only through their paws. Cats don't have sweat glands over their bodies like humans do. Instead, they sweat only through their paws.
128
+ In just seven years, a single pair of cats and their offspring could produce a staggering total of 420,000 kittens.
129
+ Relative to its body size, the clouded leopard has the biggest canines of all animals' canines. Its dagger-like teeth can be as long as 1.8 inches(4.5 cm).
130
+ Cats spend nearly &#8531; of their waking hours cleaning themselves.
131
+ Grown cats have 30 teeth. Kittens have about 26 temporary teeth, which they lose when they are about 6 months old.
132
+ A cat called Dusty has the known record for the most kittens. She had more than 420 kittens in her lifetime.
133
+ The largest cat breed is the Ragdoll. Male Ragdolls weigh between 12 and20 lbs (5.4&#8211;9.0 k). Females weigh between 10 and 15 lbs (4.5&#8211;6.8 k).
134
+ Cats are extremely sensitive to vibrations. Cats are said to detect earth quake tremors 10 or 15 minutes before humans can.
135
+ In contrast to dogs, cats have not undergone major changes during their domestication process.
136
+ A female cat is called a queen or a molly.
137
+ In the 1930s, two Russian biologists discovered that color change in Siamese kittens depend on their body temperature. Siamese cats carry albino genes that work only when the body temperature is above 98&#176; F. If these kittens are left in a very warm room, their points won't darken and they will stay a creamy white.
138
+ There are up to 60 million feral cats in the United States alone.
139
+ The oldest cat to give birth was Kitty who, at the age of 30, gave birth to two kittens. During her life, she gave birth to 218 kittens.
140
+ The most traveled cat is Hamlet, who escaped from his carrier while on a flight. He hid for seven weeks behind a pane. By the time he was discovered, he had traveled nearly 373,000 miles (600,000 km).
141
+ The most expensive cat was an Asian Leopard cat (ALC)-Domestic Shorthair(DSH) hybrid named Zeus. Zeus, who is 90% ALC and 10% DSH, has an asking price of &pound;100,000 ($154,000).
142
+ The cat who holds the record for the longest non-fatal fall is Andy. He fell from the 16 floor of an apartment building (about 200 ft/.06 km) and survived.
143
+ The richest cat is Blackie who was left &#163;15 million by his owner, Ben Rea.
144
+ The claws on the cat's back paws aren't as sharp as the claw son the front paws because the claws in the back don't retract and, consequently, become worn.
145
+ Both humans and cats have identical regions in the brain responsible for emotion.
146
+ A cat's brain is more similar to a man's brain than that of a dog.
147
+ A cat has more bones than a human; humans have 206, but the cat has 230 (some cites list 245 bones, and state that bones may fuse together as the cat ages).
148
+ Cats have 30 vertebrae (humans have 33 vertebrae during early development; 26 after the sacral and coccygeal regions fuse
149
+ The cat's clavicle, or collarbone, does not connect with other bones but is buried in the muscles of the shoulder region. This lack of a functioning collarbone allows them to fit through any opening the size of their head.
150
+ The cat has 500 skeletal muscles (humans have 650).
151
+ Cats have 32 muscles that control the outer ear (compared to human's 6 muscles each). A cat can rotate its ears independently 180 degrees, and can turn in the direction of sound 10 times faster than those of the best watchdog.
152
+ Cats' hearing is much more sensitive than humans and dogs.
153
+ Cats' hearing stops at 65 khz (kilohertz); humans' hearing stops at 20 khz.
154
+ A cat sees about 6 times better than a human at night, and needs 1/6 the amount of of light that a human does - it has a layer of extra reflecting cells which absorb light.
155
+ Recent studies have shown that cats can see blue and green. There is disagreement as to whether they can see red.
156
+ A cat's field of vision is about 200 degrees.
157
+ Unlike humans, cats do not need to blink their eyes on a regular basis to keep their eyes lubricated.
158
+ Blue-eyed, pure white cats are frequently deaf.
159
+ It may take as long as 2 weeks for a kitten to be able to hear well. Their eyes usually open between 7 and 10 days, but sometimes it happens in as little as 2 days.
160
+ Cats can judge within 3 inches the precise location of a sound being made 1 yard away.
161
+ Cats can be right-pawed or left-pawed.
162
+ A cat cannot see directly under its nose.
163
+ Almost 10&#8211; of a cat's bones are in its tail, and the tail is used to maintain balance.
164
+ The domestic cat is the only species able to hold its tail vertically while walking.
165
+ If a cat is frightened, the hair stands up fairly evenly all over the body; when the cat is threatened or is ready to attack, the hair stands up only in a narrow band along the spine and tail.
166
+ A cat has approximately 60 to 80 million olfactory cells (a human has between 5 and 20 million).
167
+ Cats have a special scent organ located in the roof of their mouth, called the Jacobson's organ.
168
+ Cats dislike citrus scent.
169
+ A cat has a total of 24 whiskers, 4 rows of whiskers on each side. The upper two rows can move independently of the bottom two rows.
170
+ Cats have 30 teeth (12 incisors, 10 premolars, 4 canines, and 4 molars), while dogs have 42. Kittens have baby teeth, which are replaced by permanent teeth around the age of 7 months.
171
+ A cat's jaw has only up and down motion; it does not have any lateral, side to side motion, like dogs and humans.
172
+ Cats lap liquid from the underside of their tongue, not from the top.
173
+ Cats purr at the same frequency as an idling diesel engine, about 26 cycles per second.
174
+ Domestic cats purr both when inhaling and when exhaling.
175
+ The cat's front paw has 5 toes, but the back paws have 4. Some cats are born with as many as 7 front toes and extra back toes (polydactl).
176
+ A domestic cat can sprint at about 31 miles per hour.
177
+ A kitten will typically weigh about 3 ounces at birth. The typical male housecat will weigh between 7 and 9 pounds, slightly less for female housecats.
178
+ Cats take between 20&#8211;40 breaths per minute.
179
+ Normal body temperature for a cat is 102 degrees F.
180
+ A cat's normal pulse is 140&#8211;240 beats per minute, with an average of 195.
181
+ Cats lose almost as much fluid in the saliva while grooming themselves as they do through urination.
182
+ A cat has two vocal chords, and can make over 100 sounds.
183
+ Cats respond most readily to names that end in an 'ee' sound.
184
+ The female cat reaches sexual maturity within 6 to 10 months
185
+ Cats with long, lean bodies are more likely to be outgoing, and more protective and vocal than those with a stocky build.
186
+ A steady diet of dog food may cause blindness in your cat - it lacks taurine.
187
+ An estimated 50&#8211; of today's cat owners never take their cats to a veterinarian for health care.
188
+ Never give your cat aspirin unless specifically prescribed by your veterinarian; it can be fatal.
189
+ Never ever give Tylenol to a cat. And be sure to keep anti-freeze away from all animals &#8211; it's sweet and enticing, but deadly poison.
190
+ A cat uses its whiskers for measuring distances. The whiskers of a cat are capable of registering very small changes in air pressure.
191
+ It has been scientifically proven that stroking a cat can lower one's blood pressure.
192
+ In 1987, cats overtook dogs as the number one pet in America (about 50 million cats resided in 24 million homes in 1986). About 37&#8211; of American homes today have at least one cat.
193
+ If your cat snores or rolls over on his back to expose his belly, it means he trusts you.
194
+ Cats respond better to women than to men, probably due to the fact that women's voices have a higher pitch.
195
+ In an average year, cat owners in the United States spend over $2 billion on cat food.
196
+ According to a Gallup poll, most American pet owners obtain their cats by adopting strays.
197
+ When your cats rubs up against you, she is actually marking you as 'hers' with her scent. If your cat pushes his face against your head, it is a sign of acceptance and affection.
198
+ Six-toed kittens are so common in Boston and surrounding areas of Massachusetts that experts consider it an established mutation.
199
+ The silks created by weavers in Baghdad were inspired by the beautiful and varied colors and markings of cat coats. These fabrics were called 'tabby' by European traders.
200
+ Cat families usually play best in even numbers. Cats and kittens should be acquired in pairs whenever possible.
201
+ Cats lived with soldiers in trenches, where they killed mice during World War I.
202
+ A male cat is called a 'tom' (or a 'gib,' if neutered), and a female is called a 'molly' or 'queen.' The father of a cat is its 'sire,' and mother is its 'dam.' An immature cat of either sex is called a 'kitten.' A group of cats is a 'clowder.'
metadata CHANGED
@@ -1,77 +1,128 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cats
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nicolas McCurdy
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-25 00:00:00.000000000 Z
11
+ date: 2013-07-28 00:00:00.000000000 Z
13
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '0.18'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '0.18'
14
27
  - !ruby/object:Gem::Dependency
15
28
  name: bundler
16
- requirement: &23289300 !ruby/object:Gem::Requirement
17
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
18
30
  requirements:
19
31
  - - ~>
20
32
  - !ruby/object:Gem::Version
21
33
  version: '1.3'
22
34
  type: :development
23
35
  prerelease: false
24
- version_requirements: *23289300
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
25
41
  - !ruby/object:Gem::Dependency
26
42
  name: rake
27
- requirement: &23288880 !ruby/object:Gem::Requirement
28
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
29
44
  requirements:
30
- - - ! '>='
45
+ - - '>='
31
46
  - !ruby/object:Gem::Version
32
47
  version: '0'
33
48
  type: :development
34
49
  prerelease: false
35
- version_requirements: *23288880
36
- description: A pointless placeholder gem that might do something cat-related eventually.
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: yard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.8'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '0.8'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rdoc
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '4.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '4.0'
83
+ description: |-
84
+ A library/tool that does a small number of cat-related
85
+ tasks.
37
86
  email:
38
87
  - thenickperson@gmail.com
39
- executables: []
88
+ executables:
89
+ - cats
40
90
  extensions: []
41
91
  extra_rdoc_files: []
42
92
  files:
93
+ - .document
43
94
  - .gitignore
44
95
  - Gemfile
45
- - LICENSE
46
96
  - LICENSE.txt
47
97
  - README.md
48
98
  - Rakefile
99
+ - bin/cats
49
100
  - cats.gemspec
50
101
  - lib/cats.rb
51
- - lib/cats/version.rb
52
- homepage: ''
102
+ - lib/facts.txt
103
+ homepage: https://github.com/thenickperson/cats
53
104
  licenses:
54
105
  - MIT
106
+ metadata: {}
55
107
  post_install_message:
56
108
  rdoc_options: []
57
109
  require_paths:
58
110
  - lib
59
111
  required_ruby_version: !ruby/object:Gem::Requirement
60
- none: false
61
112
  requirements:
62
- - - ! '>='
113
+ - - '>='
63
114
  - !ruby/object:Gem::Version
64
115
  version: '0'
65
116
  required_rubygems_version: !ruby/object:Gem::Requirement
66
- none: false
67
117
  requirements:
68
- - - ! '>='
118
+ - - '>='
69
119
  - !ruby/object:Gem::Version
70
120
  version: '0'
71
121
  requirements: []
72
122
  rubyforge_project:
73
- rubygems_version: 1.8.11
123
+ rubygems_version: 2.0.3
74
124
  signing_key:
75
- specification_version: 3
76
- summary: A pointless placeholder gem that might do something cat-related eventually.
125
+ specification_version: 4
126
+ summary: A library/tool that does a small number of cat-related tasks.
77
127
  test_files: []
128
+ has_rdoc:
data/LICENSE DELETED
@@ -1,20 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2013 Nicolas McCurdy
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of
6
- this software and associated documentation files (the "Software"), to deal in
7
- the Software without restriction, including without limitation the rights to
8
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software is furnished to do so,
10
- subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- 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, FITNESS
17
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/lib/cats/version.rb DELETED
@@ -1,3 +0,0 @@
1
- module Cats
2
- VERSION = "0.0.1"
3
- end