File tree Expand file tree Collapse file tree 5 files changed +37
-0
lines changed Expand file tree Collapse file tree 5 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ source 'http://rubygems.org'
2
2
3
3
gem 'httparty'
4
4
gem 'addressable'
5
+ gem 'rspec'
Original file line number Diff line number Diff line change 2
2
remote: http://rubygems.org/
3
3
specs:
4
4
addressable (2.3.4 )
5
+ diff-lcs (1.2.2 )
5
6
httparty (0.11.0 )
6
7
multi_json (~> 1.0 )
7
8
multi_xml (>= 0.5.2 )
8
9
multi_json (1.7.3 )
9
10
multi_xml (0.5.3 )
11
+ rspec (2.13.0 )
12
+ rspec-core (~> 2.13.0 )
13
+ rspec-expectations (~> 2.13.0 )
14
+ rspec-mocks (~> 2.13.0 )
15
+ rspec-core (2.13.1 )
16
+ rspec-expectations (2.13.0 )
17
+ diff-lcs (>= 1.1.3 , < 2.0 )
18
+ rspec-mocks (2.13.0 )
10
19
11
20
PLATFORMS
12
21
ruby
13
22
14
23
DEPENDENCIES
15
24
addressable
16
25
httparty
26
+ rspec
Original file line number Diff line number Diff line change
1
+ $:. push File . expand_path ( "../lib" , __FILE__ )
2
+ require 'open_weather_api/version'
3
+
4
+ Gem ::Specification . new do |gem |
5
+ gem . name = "open_weather_api"
6
+ gem . version = OpenWeather ::VERSION
7
+ gem . authors = [ "hsps" , "deepak" ]
8
+ gem . email = [ ]
9
+ gem . homepage = "https://github.com/coderhs/ruby_open_weather_map"
10
+ gem . summary = %q{ A ruby wrapper for Open Weather Map API. }
11
+ gem . description = %q{ A ruby wrapper for Open Weather Map API. }
12
+ gem . files = `git ls-files` . split ( "\n " )
13
+ gem . test_files = gem . files . grep ( /^(spec|test|features)/ )
14
+ gem . executables = gem . files . grep ( /^bin/ ) . map { |f | File . basename ( f ) }
15
+ gem . require_paths = [ "lib" ]
16
+ gem . add_development_dependency "rspec"
17
+ end
Original file line number Diff line number Diff line change
1
+ require 'spec_helper'
2
+
3
+ describe "Version" do
4
+ it "should be version 0.0.1" do
5
+ OpenWeather ::VERSION . should == "0.0.1"
6
+ end
7
+ end
Original file line number Diff line number Diff line change
1
+ # spec helper
2
+ require 'open_weather_api'
You can’t perform that action at this time.
0 commit comments