weather_in_poland 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module WeatherInPoland
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,9 +1,5 @@
1
1
  module WeatherInPoland
2
2
 
3
- require "rubygems"
4
- require 'mechanize'
5
- require 'yahoo-weather'
6
-
7
3
  attr_reader :city
8
4
  attr_reader :code
9
5
  attr_reader :image
@@ -12,6 +12,9 @@ Gem::Specification.new do |s|
12
12
  s.summary = %q{Weather in Poland checker}
13
13
  s.description = %q{Simply gem for Yahoo! Weather with location checking to get proper location code}
14
14
 
15
+ s.add_dependency("yahoo-weather")
16
+ s.add_dependency("mechanize")
17
+
15
18
  s.rubyforge_project = "weather_in_poland"
16
19
 
17
20
  s.files = `git ls-files`.split("\n")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weather_in_poland
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Oskar Szrajer
@@ -17,8 +17,35 @@ cert_chain: []
17
17
 
18
18
  date: 2011-02-09 00:00:00 +01:00
19
19
  default_executable:
20
- dependencies: []
21
-
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: yahoo-weather
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: mechanize
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ type: :runtime
48
+ version_requirements: *id002
22
49
  description: Simply gem for Yahoo! Weather with location checking to get proper location code
23
50
  email:
24
51
  - oskarszrajer@gmail.com