gmaps_geocoding 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,6 +1,27 @@
1
+ # encoding: utf-8
1
2
  require 'bundler/gem_tasks'
2
3
  require 'rake/testtask'
3
4
 
5
+ lib = File.expand_path('../lib/', __FILE__)
6
+ $:.unshift lib unless $:.include?(lib)
7
+ require('gmaps_geocoding/version')
8
+
9
+ task gem: :build
10
+ task :build do
11
+ system 'gem build gmaps_geocoding.gemspec'
12
+ end
13
+
14
+ task install: :build do
15
+ system "gem install pkg/gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem"
16
+ end
17
+
18
+ task release: :build do
19
+ system "git tag -a -v#{GmapsGeocoding::VERSION} -m 'Tagging #{GmapsGeocoding::VERSION}'"
20
+ system 'git push --tags'
21
+ system "gem push pkg/gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem"
22
+ system "rm pkg/gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem"
23
+ end
24
+
4
25
  Rake::TestTask.new do |t|
5
26
  t.libs << 'lib/gmaps_geocoding'
6
27
  t.test_files = FileList['test/*_test.rb']
@@ -28,8 +28,8 @@ module GmapsGeocoding
28
28
  end
29
29
  rescue => e
30
30
  puts "[error: gmaps_geocoding]: #{e}"
31
- nil
32
31
  end
32
+ nil
33
33
  end
34
34
 
35
35
  def build_url_query
@@ -1,3 +1,3 @@
1
1
  module GmapsGeocoding
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmaps_geocoding
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-12 00:00:00.000000000 Z
12
+ date: 2013-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -142,12 +142,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
142
  - - ! '>='
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
+ segments:
146
+ - 0
147
+ hash: 89234288705583968
145
148
  required_rubygems_version: !ruby/object:Gem::Requirement
146
149
  none: false
147
150
  requirements:
148
151
  - - ! '>='
149
152
  - !ruby/object:Gem::Version
150
153
  version: '0'
154
+ segments:
155
+ - 0
156
+ hash: 89234288705583968
151
157
  requirements: []
152
158
  rubyforge_project:
153
159
  rubygems_version: 1.8.25