lyracyst 1.2.3 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/bin/lyracyst +1 -0
- data/lib/lyracyst.rb +1 -0
- data/lib/lyracyst/cli/wordmap.rb +19 -0
- data/lib/lyracyst/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6977b44129c868c35c25b9c044767960c2e1d69e
|
4
|
+
data.tar.gz: 2796c5fb882ee8c6f7d7c3072cb95dd5fe6a3110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22ea399dc95aeca217c03d1b250ce1dd4f1ddc47a3707ae8c73642ef2aef9885dc7fc0be38f107d9c9e750ea50957387e5a0f0f5b8ca9fe04d1a82d08306227e
|
7
|
+
data.tar.gz: e83d4b938617f30bde59b85da6faae4c414e1df0a02fe4fc7fcf42b2fb131b2a77d96c74886cf8158895469d2b69b05c2d8ac1a9ee0f12be40c0f37837961d45
|
data/CHANGELOG.md
CHANGED
data/bin/lyracyst
CHANGED
@@ -76,6 +76,7 @@ switch [:v, :verbose], :default_value => false, :desc => 'Prints parameters and
|
|
76
76
|
require 'lyracyst/cli/onelook'
|
77
77
|
require 'lyracyst/cli/rhymebrain'
|
78
78
|
require 'lyracyst/cli/urban'
|
79
|
+
require 'lyracyst/cli/wordmap'
|
79
80
|
require 'lyracyst/cli/wordnik'
|
80
81
|
require 'lyracyst/cli/wordsmith'
|
81
82
|
|
data/lib/lyracyst.rb
CHANGED
@@ -76,6 +76,7 @@ switch [:v, :verbose], :default_value => false, :desc => 'Prints parameters and
|
|
76
76
|
require 'lyracyst/cli/onelook'
|
77
77
|
require 'lyracyst/cli/rhymebrain'
|
78
78
|
require 'lyracyst/cli/urban'
|
79
|
+
require 'lyracyst/cli/wordmap'
|
79
80
|
require 'lyracyst/cli/wordnik'
|
80
81
|
require 'lyracyst/cli/wordsmith'
|
81
82
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
desc 'Map word info'
|
2
|
+
arg_name 'word'
|
3
|
+
command :wmap do |map|
|
4
|
+
map.action do |global_options, options, args|
|
5
|
+
search = args[0]
|
6
|
+
system "lyracyst wn def #{search}"
|
7
|
+
system "lyracyst wn ex #{search}"
|
8
|
+
system "lyracyst wn hyph #{search}"
|
9
|
+
system "lyracyst wn ori #{search}"
|
10
|
+
system "lyracyst wn phr #{search}"
|
11
|
+
system "lyracyst wn pro #{search}"
|
12
|
+
system "lyracyst wn rel #{search}"
|
13
|
+
system "lyracyst rb comb #{search}"
|
14
|
+
system "lyracyst rb inf #{search}"
|
15
|
+
system "lyracyst rb rhy #{search}"
|
16
|
+
system "lyracyst urb #{search}"
|
17
|
+
system "lyracyst ana #{search}"
|
18
|
+
end
|
19
|
+
end
|
data/lib/lyracyst/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lyracyst
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Prentice
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|
@@ -233,6 +233,7 @@ files:
|
|
233
233
|
- lib/lyracyst/cli/onelook.rb
|
234
234
|
- lib/lyracyst/cli/rhymebrain.rb
|
235
235
|
- lib/lyracyst/cli/urban.rb
|
236
|
+
- lib/lyracyst/cli/wordmap.rb
|
236
237
|
- lib/lyracyst/cli/wordnik.rb
|
237
238
|
- lib/lyracyst/cli/wordsmith.rb
|
238
239
|
- lib/lyracyst/onelook.rb
|