bhm-google-maps 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bhm-google-maps}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Darcy Laycock"]
12
- s.date = %q{2010-04-28}
12
+ s.date = %q{2010-05-02}
13
13
  s.description = %q{A set of helpers and javascript files that makes it trivial to implement google maps unobtrusively in an application.}
14
14
  s.email = %q{darcy.laycock@youthtree.org.au}
15
15
  s.extra_rdoc_files = [
@@ -1,7 +1,7 @@
1
1
  # GMap is a simply, unobtrusive google map adder for jQuery + HTML5.
2
2
  # It uses data attributes to store map locations, works with a rails
3
3
  # plugin to generate static alternatives and most importantly is simple.
4
- GMap: (($) ->
4
+ @['GMap']: (($) ->
5
5
 
6
6
  # The actual object we'll be exporting.
7
7
  map: {}
@@ -33,7 +33,13 @@ module BHM
33
33
  end
34
34
  end
35
35
 
36
- self.install_helper! if defined?(::ActionView)
36
+ def self.install_barista_framework!
37
+ coffeescript_dir = File.expand_path("../../coffeescripts/", File.dirname(__FILE__))
38
+ Barista::Framework.register 'bhm-google-maps', coffeescripts
39
+ end
40
+
41
+ self.install_helper! if defined?(::ActionView)
42
+ self.install_barista_framework! if defined?(Barista::Framework)
37
43
 
38
44
  if defined?(Rails::Railtie)
39
45
  class Railtie < Rails::Railtie
@@ -1,5 +1,5 @@
1
1
  module BHM
2
2
  module GoogleMaps
3
- VERSION = "0.1.1".freeze
3
+ VERSION = "0.1.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Darcy Laycock
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-28 00:00:00 +08:00
17
+ date: 2010-05-02 00:00:00 +08:00
18
18
  default_executable:
19
19
  dependencies: []
20
20