Pr0d1r2-geokit-cache 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.2
@@ -1,4 +1,4 @@
1
- class GeokitCachedGenerator < RspecModelGenerator
1
+ class GeokitCacheGenerator < RspecModelGenerator
2
2
 
3
3
  def initialize(runtime_args, runtime_options = {})
4
4
  runtime_args = [
@@ -2,16 +2,8 @@ require File.expand_path(File.dirname(__FILE__) + '<%= '/..' * class_nesting_dep
2
2
 
3
3
  describe <%= class_name %> do
4
4
 
5
- before(:each) do
6
- @valid_attributes = {
7
- <% attributes.each_with_index do |attribute, attribute_index| -%>
8
- :<%= attribute.name %> => <%= attribute.default_value %><%= attribute_index == attributes.length - 1 ? '' : ','%>
9
- <% end -%>
10
- }
11
- end
12
-
13
- it "should create a new instance given valid attributes" do
14
- <%= class_name %>.create!(@valid_attributes)
5
+ it "should provide geocode command" do
6
+ <%= class_name %>.should respond_to(:geocode)
15
7
  end
16
8
 
17
9
  end
@@ -0,0 +1,68 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{geokit-cache}
8
+ s.version = "1.0.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Marcin Nowicki"]
12
+ s.date = %q{2009-09-24}
13
+ s.description = %q{Caching support in database for locations geocoded by andre/geokit-gem}
14
+ s.email = %q{pr0d1r2@ragnarson.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "generators/geokit_cache/geokit_cache_generator.rb",
27
+ "generators/geokit_cache/templates/model.rb",
28
+ "generators/geokit_cache/templates/model_spec.rb",
29
+ "geokit-cache.gemspec",
30
+ "lib/geokit-cache.rb",
31
+ "lib/geokit/cache/active_record.rb",
32
+ "lib/geokit/cache/model.rb",
33
+ "spec/geokit-cache_spec.rb",
34
+ "spec/spec_helper.rb"
35
+ ]
36
+ s.has_rdoc = true
37
+ s.homepage = %q{http://github.com/Pr0d1r2/geokit-cache}
38
+ s.rdoc_options = ["--charset=UTF-8"]
39
+ s.require_paths = ["lib"]
40
+ s.rubygems_version = %q{1.3.1}
41
+ s.summary = %q{Geokit caching support}
42
+ s.test_files = [
43
+ "spec/geokit-cache_spec.rb",
44
+ "spec/spec_helper.rb"
45
+ ]
46
+
47
+ if s.respond_to? :specification_version then
48
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
+ s.specification_version = 2
50
+
51
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
+ s.add_development_dependency(%q<rspec>, [">= 0"])
53
+ s.add_development_dependency(%q<Pr0d1r2-active_record_connectionless>, [">= 0"])
54
+ s.add_development_dependency(%q<Pr0d1r2-active_record_geocodable>, [">= 0"])
55
+ s.add_development_dependency(%q<htmlentities>, [">= 0"])
56
+ else
57
+ s.add_dependency(%q<rspec>, [">= 0"])
58
+ s.add_dependency(%q<Pr0d1r2-active_record_connectionless>, [">= 0"])
59
+ s.add_dependency(%q<Pr0d1r2-active_record_geocodable>, [">= 0"])
60
+ s.add_dependency(%q<htmlentities>, [">= 0"])
61
+ end
62
+ else
63
+ s.add_dependency(%q<rspec>, [">= 0"])
64
+ s.add_dependency(%q<Pr0d1r2-active_record_connectionless>, [">= 0"])
65
+ s.add_dependency(%q<Pr0d1r2-active_record_geocodable>, [">= 0"])
66
+ s.add_dependency(%q<htmlentities>, [">= 0"])
67
+ end
68
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Pr0d1r2-geokit-cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Nowicki
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-23 00:00:00 -07:00
12
+ date: 2009-09-24 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -71,6 +71,7 @@ files:
71
71
  - generators/geokit_cache/geokit_cache_generator.rb
72
72
  - generators/geokit_cache/templates/model.rb
73
73
  - generators/geokit_cache/templates/model_spec.rb
74
+ - geokit-cache.gemspec
74
75
  - lib/geokit-cache.rb
75
76
  - lib/geokit/cache/active_record.rb
76
77
  - lib/geokit/cache/model.rb