open-weather 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile.lock +0 -8
- data/README.md +11 -3
- data/lib/open_weather/version.rb +1 -1
- data/open_weather.gemspec +4 -1
- data/spec/open_weather/version_spec.rb +2 -2
- metadata +33 -1
data/Gemfile.lock
CHANGED
@@ -2,18 +2,12 @@ GEM
|
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
4
|
addressable (2.3.4)
|
5
|
-
coderay (1.0.9)
|
6
5
|
diff-lcs (1.2.2)
|
7
6
|
httparty (0.11.0)
|
8
7
|
multi_json (~> 1.0)
|
9
8
|
multi_xml (>= 0.5.2)
|
10
|
-
method_source (0.8.2)
|
11
9
|
multi_json (1.7.3)
|
12
10
|
multi_xml (0.5.3)
|
13
|
-
pry (0.9.12.2)
|
14
|
-
coderay (~> 1.0.5)
|
15
|
-
method_source (~> 0.8)
|
16
|
-
slop (~> 3.4)
|
17
11
|
rspec (2.13.0)
|
18
12
|
rspec-core (~> 2.13.0)
|
19
13
|
rspec-expectations (~> 2.13.0)
|
@@ -22,7 +16,6 @@ GEM
|
|
22
16
|
rspec-expectations (2.13.0)
|
23
17
|
diff-lcs (>= 1.1.3, < 2.0)
|
24
18
|
rspec-mocks (2.13.0)
|
25
|
-
slop (3.4.6)
|
26
19
|
|
27
20
|
PLATFORMS
|
28
21
|
ruby
|
@@ -30,5 +23,4 @@ PLATFORMS
|
|
30
23
|
DEPENDENCIES
|
31
24
|
addressable
|
32
25
|
httparty
|
33
|
-
pry
|
34
26
|
rspec
|
data/README.md
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
Add the following to your **Gemfile**
|
6
6
|
|
7
|
-
gem '
|
7
|
+
gem 'open-weather'
|
8
8
|
|
9
9
|
or
|
10
10
|
|
11
|
-
$ gem install
|
11
|
+
$ gem install open-weather
|
12
12
|
|
13
13
|
## Usage
|
14
14
|
|
@@ -39,7 +39,15 @@ Add the following to your **Gemfile**
|
|
39
39
|
## Contributing
|
40
40
|
|
41
41
|
Fork it
|
42
|
+
|
42
43
|
Create your feature branch (git checkout -b my-new-feature)
|
44
|
+
|
43
45
|
Commit your changes (git commit -am 'Added some feature')
|
46
|
+
|
44
47
|
Push to the branch (git push origin my-new-feature)
|
45
|
-
|
48
|
+
|
49
|
+
Create new Pull Request
|
50
|
+
|
51
|
+
--------
|
52
|
+
|
53
|
+
**Created during the Hacker Saturdays hosted by Kerala/Kochi Ruby Users Group**
|
data/lib/open_weather/version.rb
CHANGED
data/open_weather.gemspec
CHANGED
@@ -14,4 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.executables = gem.files.grep(/^bin/).map{ |f| File.basename(f) }
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.add_development_dependency "rspec"
|
17
|
-
|
17
|
+
|
18
|
+
gem.add_runtime_dependency 'httparty'
|
19
|
+
gem.add_runtime_dependency 'addressable'
|
20
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: open-weather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.9.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -28,6 +28,38 @@ dependencies:
|
|
28
28
|
- - ! '>='
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '0'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: httparty
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
type: :runtime
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: addressable
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
31
63
|
description: ! ' A ruby wrapper for Open Weather Map API. '
|
32
64
|
email:
|
33
65
|
- mailme@hsps.in
|