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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e6d4c5ede6e54c6fa0b63c5c68babf6bac3a089
4
- data.tar.gz: 6f247a034f5f4708ef17c1ce22bb2781a642b556
3
+ metadata.gz: 6977b44129c868c35c25b9c044767960c2e1d69e
4
+ data.tar.gz: 2796c5fb882ee8c6f7d7c3072cb95dd5fe6a3110
5
5
  SHA512:
6
- metadata.gz: 9d13f09873cf3f0ee51726599dbcbfa1dbcf7d38488f4926ae3639de55ba3aad0fe28c031090b739ee4f814be8e11b6c2e443ad15195ee1498f2d9af924ccf09
7
- data.tar.gz: 1d898d88137027b7e071e498bd0d44670bbd963c78a0f9ff810cbf0ced4247e845ea92aa9f299e3a99ff299ec5068d931fd70175e575f8afa33a7c1537838688
6
+ metadata.gz: 22ea399dc95aeca217c03d1b250ce1dd4f1ddc47a3707ae8c73642ef2aef9885dc7fc0be38f107d9c9e750ea50957387e5a0f0f5b8ca9fe04d1a82d08306227e
7
+ data.tar.gz: e83d4b938617f30bde59b85da6faae4c414e1df0a02fe4fc7fcf42b2fb131b2a77d96c74886cf8158895469d2b69b05c2d8ac1a9ee0f12be40c0f37837961d45
@@ -1,6 +1,9 @@
1
1
  Changelog
2
2
  ===
3
3
 
4
+ Version 1.3.0 - Wordmaps
5
+ - Runs each command in succession with default options
6
+
4
7
  Version 1.2.3 - Improve anagrams
5
8
  - Fixed anagram output by stripping whitespace.
6
9
 
@@ -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
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  # coding: utf-8
2
2
  module Lyracyst
3
3
  # Semantic program version
4
- VERSION = '1.2.3'
4
+ VERSION = '1.3.0'
5
5
  end
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.2.3
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-23 00:00:00.000000000 Z
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