raylayers 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,6 +52,14 @@ module Raylayers
52
52
  FileUtils.rm_f(@tmp_file)
53
53
  FileUtils.rm_rf("tmp/OpenLayers-#{options.version}")
54
54
  end
55
+
56
+ def ready
57
+ msg = "\n\nOpenLayers #{options.version} is ready to use\n"
58
+ msg += "HAML => = javascript_include_tag '/openlayers/OpenLayers.js'\n"
59
+ msg += "HTML => <script src='/openlayers/OpenLayers.js' type='text/javascript'></script>\n"
60
+ msg += "RequireJS => require (['/openlayers/OpenLayers.js'];\n\n"
61
+ say (msg)
62
+ end
55
63
  end
56
64
  end
57
65
  end
@@ -1,3 +1,3 @@
1
1
  module Raylayers
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raylayers
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
  - Fabio R. Panettieri
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-13 00:00:00 -03:00
18
+ date: 2011-01-26 00:00:00 -03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency