say-anything 1.0.1
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 +7 -0
- data/lib/say-anything/words.yaml +109583 -0
- data/lib/say-anything.rb +18 -0
- metadata +45 -0
data/lib/say-anything.rb
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
require "yaml"
|
|
2
|
+
|
|
3
|
+
module SayAnything
|
|
4
|
+
@list = YAML.load_file File.dirname(__FILE__) + "/say-anything/words.yaml"
|
|
5
|
+
|
|
6
|
+
def self.words
|
|
7
|
+
@list
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def self.one
|
|
11
|
+
@list.sample
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def self.times(number)
|
|
15
|
+
@list.sample number
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: say-anything
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Axel Rozo--Brézillac
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2015-06-23 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: This literally say anything.
|
|
14
|
+
email: axel.rozobrezillac@gmail.com
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- lib/say-anything.rb
|
|
20
|
+
- lib/say-anything/words.yaml
|
|
21
|
+
homepage: https://github.com/rozaxe/say-anything
|
|
22
|
+
licenses:
|
|
23
|
+
- MIT
|
|
24
|
+
metadata: {}
|
|
25
|
+
post_install_message:
|
|
26
|
+
rdoc_options: []
|
|
27
|
+
require_paths:
|
|
28
|
+
- lib
|
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
35
|
+
requirements:
|
|
36
|
+
- - ">="
|
|
37
|
+
- !ruby/object:Gem::Version
|
|
38
|
+
version: '0'
|
|
39
|
+
requirements: []
|
|
40
|
+
rubyforge_project:
|
|
41
|
+
rubygems_version: 2.4.3
|
|
42
|
+
signing_key:
|
|
43
|
+
specification_version: 4
|
|
44
|
+
summary: Rainbow !
|
|
45
|
+
test_files: []
|