rack-geo 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ *.gem
2
+ /Gemfile.lock
3
+
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source :rubygems
2
+ gemspec
@@ -1,3 +1,13 @@
1
+ === Version 0.1.3 2011-06-29
2
+
3
+ * Removed Jeweler; added gemspec
4
+ * Added Gemfile
5
+ * Upgrade test library to RSpec2
6
+
7
+ === Version 0.1.2 2011-03-07
8
+
9
+ Increase precision generated by to_http_header for lat/long
10
+
1
11
  === Version 0.1.1 2010-07-18
2
12
 
3
13
  Initial release of Rack::Geo middleware.
data/Rakefile CHANGED
@@ -1,49 +1,7 @@
1
- require 'rubygems'
1
+ require 'bundler/setup'
2
2
  require 'rake'
3
- require 'spec/rake/spectask'
4
3
 
5
- require File.join(File.dirname(__FILE__), 'lib', 'rack', 'geo', 'version')
4
+ require 'rspec/core/rake_task'
5
+ RSpec::Core::RakeTask.new(:spec)
6
6
 
7
- begin
8
- require 'jeweler'
9
- Jeweler::Tasks.new do |gemspec|
10
- gemspec.version = Rack::Geo::VERSION::STRING
11
- gemspec.name = "rack-geo"
12
- gemspec.summary = "Rack middleware for Geo-Position HTTP headers"
13
- gemspec.description = "Parse and serialize geospatial HTTP headers."
14
- gemspec.email = "github@squareup.com"
15
- gemspec.homepage = "http://github.com/square/rack-geo"
16
- gemspec.authors = [
17
- "Randy Reddig",
18
- "Cameron Walters",
19
- "Paul McKellar",
20
- ]
21
- gemspec.extra_rdoc_files = [
22
- 'README.rdoc',
23
- 'HISTORY.rdoc',
24
- 'LICENSE.txt',
25
- ]
26
- gemspec.add_dependency "rack", ">=1.0.0"
27
- gemspec.add_development_dependency "rack-test", ">=0.5.3"
28
- gemspec.add_development_dependency "rspec", ">=1.3.0"
29
- end
30
- rescue LoadError
31
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
32
- end
33
-
34
- desc "Run all specs"
35
- Spec::Rake::SpecTask.new do |t|
36
- t.spec_opts = ["--options", "spec/spec.opts"]
37
- t.spec_files = FileList["spec/**/*_spec.rb"]
38
- t.rcov = ENV["RCOV"]
39
- t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/}
40
- t.verbose = true
41
- end
42
-
43
- task :spec => :check_dependencies
44
7
  task :default => :spec
45
-
46
- desc "Remove trailing whitespace"
47
- task :whitespace do
48
- sh %{find . -name '*.rb' -exec sed -i '' 's/ *$//g' {} \\;}
49
- end
@@ -3,7 +3,7 @@ module Rack
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 2
6
+ TINY = 3
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  end
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "rack/geo/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "rack-geo"
7
+ s.version = Rack::Geo::VERSION::STRING
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Randy Reddig", "Cameron Walters", "Paul McKellar"]
10
+ s.email = "github@squareup.com"
11
+ s.homepage = "https://github.com/square/rack-geo"
12
+ s.summary = %q{Rack middleware for Geo-Position HTTP headers}
13
+ s.description = %q{Parse and serialize geospatial HTTP headers.}
14
+
15
+ s.files = `git ls-files`.split("\n")
16
+ s.test_files = `git ls-files -- spec/*`.split("\n")
17
+ s.extra_rdoc_files = ['README.rdoc', 'HISTORY.rdoc', 'LICENSE.txt']
18
+ s.require_paths = ["lib"]
19
+
20
+ s.add_dependency 'rack', '~> 1.0'
21
+ s.add_development_dependency 'rake'
22
+ s.add_development_dependency 'rack-test', '~> 0.5'
23
+ s.add_development_dependency 'rspec', '~> 2.6'
24
+ end
@@ -1,7 +1,8 @@
1
- require 'rubygems'
2
-
3
- $:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
1
+ require 'bundler/setup'
4
2
 
5
3
  require 'rack-geo'
6
- require 'spec/expectations'
7
4
  require 'rack/test'
5
+ require 'rspec'
6
+
7
+ RSpec.configure do |config|
8
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-geo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Randy Reddig
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-03-07 00:00:00 -08:00
20
+ date: 2011-06-29 00:00:00 -07:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -26,48 +26,59 @@ dependencies:
26
26
  requirement: &id001 !ruby/object:Gem::Requirement
27
27
  none: false
28
28
  requirements:
29
- - - ">="
29
+ - - ~>
30
30
  - !ruby/object:Gem::Version
31
- hash: 23
31
+ hash: 15
32
32
  segments:
33
33
  - 1
34
34
  - 0
35
- - 0
36
- version: 1.0.0
35
+ version: "1.0"
37
36
  type: :runtime
38
37
  version_requirements: *id001
39
38
  - !ruby/object:Gem::Dependency
40
- name: rack-test
39
+ name: rake
41
40
  prerelease: false
42
41
  requirement: &id002 !ruby/object:Gem::Requirement
43
42
  none: false
44
43
  requirements:
45
44
  - - ">="
46
45
  - !ruby/object:Gem::Version
47
- hash: 13
46
+ hash: 3
48
47
  segments:
49
48
  - 0
50
- - 5
51
- - 3
52
- version: 0.5.3
49
+ version: "0"
53
50
  type: :development
54
51
  version_requirements: *id002
55
52
  - !ruby/object:Gem::Dependency
56
- name: rspec
53
+ name: rack-test
57
54
  prerelease: false
58
55
  requirement: &id003 !ruby/object:Gem::Requirement
59
56
  none: false
60
57
  requirements:
61
- - - ">="
58
+ - - ~>
62
59
  - !ruby/object:Gem::Version
63
- hash: 27
60
+ hash: 1
64
61
  segments:
65
- - 1
66
- - 3
67
62
  - 0
68
- version: 1.3.0
63
+ - 5
64
+ version: "0.5"
69
65
  type: :development
70
66
  version_requirements: *id003
67
+ - !ruby/object:Gem::Dependency
68
+ name: rspec
69
+ prerelease: false
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ hash: 15
76
+ segments:
77
+ - 2
78
+ - 6
79
+ version: "2.6"
80
+ type: :development
81
+ version_requirements: *id004
71
82
  description: Parse and serialize geospatial HTTP headers.
72
83
  email: github@squareup.com
73
84
  executables: []
@@ -75,10 +86,12 @@ executables: []
75
86
  extensions: []
76
87
 
77
88
  extra_rdoc_files:
89
+ - README.rdoc
78
90
  - HISTORY.rdoc
79
91
  - LICENSE.txt
80
- - README.rdoc
81
92
  files:
93
+ - .gitignore
94
+ - Gemfile
82
95
  - HISTORY.rdoc
83
96
  - LICENSE.txt
84
97
  - README.rdoc
@@ -86,11 +99,11 @@ files:
86
99
  - lib/rack-geo.rb
87
100
  - lib/rack/geo.rb
88
101
  - lib/rack/geo/version.rb
102
+ - rack-geo.gemspec
89
103
  - spec/rack/geo_spec.rb
90
- - spec/spec.opts
91
104
  - spec/spec_helper.rb
92
105
  has_rdoc: true
93
- homepage: http://github.com/square/rack-geo
106
+ homepage: https://github.com/square/rack-geo
94
107
  licenses: []
95
108
 
96
109
  post_install_message:
@@ -119,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
132
  requirements: []
120
133
 
121
134
  rubyforge_project:
122
- rubygems_version: 1.4.2
135
+ rubygems_version: 1.6.2
123
136
  signing_key:
124
137
  specification_version: 3
125
138
  summary: Rack middleware for Geo-Position HTTP headers
@@ -1,4 +0,0 @@
1
- --colour
2
- --format progress
3
- --loadby mtime
4
- --reverse