wordfor 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
1
  require 'httparty'
2
2
 
3
3
  require 'wordfor/core_ext/array'
4
+ require 'wordfor/core_ext/dir'
4
5
 
5
6
  require 'wordfor/version'
6
7
  require 'wordfor/configuration'
@@ -0,0 +1,13 @@
1
+ if /1.8/ =~ RUBY_VERSION
2
+ class Dir
3
+ class << self
4
+ def home user
5
+ if ENV['HOME']
6
+ home = ENV['HOME']
7
+ else
8
+ raise "set your $HOME environment variable or upgrade to Ruby 1.9+ :("
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module Wordfor
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -18,4 +18,5 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ["lib"]
19
19
 
20
20
  gem.add_dependency('httparty', '~> 0.9.0')
21
+ gem.add_dependency('json', '~> 1.7.5')
21
22
  end
metadata CHANGED
@@ -1,40 +1,65 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: wordfor
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 2
10
+ version: 0.0.2
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Adam Bachman
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2013-01-10 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-01-10 00:00:00 -05:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: httparty
16
- requirement: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
26
+ requirements:
19
27
  - - ~>
20
- - !ruby/object:Gem::Version
28
+ - !ruby/object:Gem::Version
29
+ hash: 59
30
+ segments:
31
+ - 0
32
+ - 9
33
+ - 0
21
34
  version: 0.9.0
22
35
  type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: json
23
39
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
40
+ requirement: &id002 !ruby/object:Gem::Requirement
25
41
  none: false
26
- requirements:
42
+ requirements:
27
43
  - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 0.9.0
44
+ - !ruby/object:Gem::Version
45
+ hash: 1
46
+ segments:
47
+ - 1
48
+ - 7
49
+ - 5
50
+ version: 1.7.5
51
+ type: :runtime
52
+ version_requirements: *id002
30
53
  description: Find synonyms and antonyms from the command line.
31
- email:
54
+ email:
32
55
  - adam.bachman@gmail.com
33
- executables:
56
+ executables:
34
57
  - wordfor
35
58
  extensions: []
59
+
36
60
  extra_rdoc_files: []
37
- files:
61
+
62
+ files:
38
63
  - .gitignore
39
64
  - Gemfile
40
65
  - LICENSE.txt
@@ -44,33 +69,45 @@ files:
44
69
  - lib/wordfor.rb
45
70
  - lib/wordfor/configuration.rb
46
71
  - lib/wordfor/core_ext/array.rb
72
+ - lib/wordfor/core_ext/dir.rb
47
73
  - lib/wordfor/lookup.rb
48
74
  - lib/wordfor/plaintext.rb
49
75
  - lib/wordfor/setup.rb
50
76
  - lib/wordfor/version.rb
51
77
  - wordfor.gemspec
78
+ has_rdoc: true
52
79
  homepage: http://github.com/abachman/wordfor
53
80
  licenses: []
81
+
54
82
  post_install_message:
55
83
  rdoc_options: []
56
- require_paths:
84
+
85
+ require_paths:
57
86
  - lib
58
- required_ruby_version: !ruby/object:Gem::Requirement
87
+ required_ruby_version: !ruby/object:Gem::Requirement
59
88
  none: false
60
- requirements:
61
- - - ! '>='
62
- - !ruby/object:Gem::Version
63
- version: '0'
64
- required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ hash: 3
93
+ segments:
94
+ - 0
95
+ version: "0"
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
97
  none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 0
104
+ version: "0"
70
105
  requirements: []
106
+
71
107
  rubyforge_project:
72
- rubygems_version: 1.8.24
108
+ rubygems_version: 1.6.2
73
109
  signing_key:
74
110
  specification_version: 3
75
111
  summary: A thesaurus for your command line.
76
112
  test_files: []
113
+