osm 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.2
4
+ - 1.9.3
4
5
  branches:
5
6
  only:
6
7
  - master
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Version 0.4.2
2
+
3
+ * Fix undefined variable "section_id" when fetching notepad from cache
4
+
1
5
  ## Version 0.4.1
2
6
 
3
7
  * Fix not handling of Event's config not being an Array of Hash
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
  ##Build State
6
- This project uses continuous integration to help ensure that a quality product is delivered.
6
+ This project uses continuous integration to help ensure that a quality product is delivered. It is tested using ruby 1.9.2 and 1.9.3 other versions may work but are not guarenteed (since they aren't tested).
7
7
  Travis CI monitors two branches (versions) of the code - Master (which is what gets released)
8
8
  and Staging (which is what is currently being debugged ready for moving to master).
9
9
 
data/lib/osm/section.rb CHANGED
@@ -259,7 +259,7 @@ module Osm
259
259
  require_access_to_section(api, self, options)
260
260
  cache_key = ['notepad', id]
261
261
 
262
- if !options[:no_cache] && cache_exist?(api, cache_key) && can_access_section?(api, section_id)
262
+ if !options[:no_cache] && cache_exist?(api, cache_key) && can_access_section?(api, self.id)
263
263
  return cache_read(api, cache_key)
264
264
  end
265
265
 
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Osm
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.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-03-19 00:00:00.000000000 Z
12
+ date: 2013-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport