oso 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG.rdoc +4 -0
  2. data/lib/oso.rb +7 -1
  3. metadata +3 -3
@@ -1,3 +1,7 @@
1
+ === 2.0.1 / 2011-03-30
2
+
3
+ * Add Oso.reset!, forcing the static instance to re-initialize.
4
+
1
5
  === 2.0.0 / 2011-03-30
2
6
 
3
7
  * Return the unshortened URL if Oso#shorten encounters a problem.
data/lib/oso.rb CHANGED
@@ -13,7 +13,7 @@ class Oso
13
13
 
14
14
  # Duh.
15
15
 
16
- VERSION = "2.0.0"
16
+ VERSION = "2.0.1"
17
17
 
18
18
  # :nodoc:
19
19
 
@@ -21,6 +21,12 @@ class Oso
21
21
  @instance ||= new
22
22
  end
23
23
 
24
+ # :nodoc:
25
+
26
+ def self.reset!
27
+ @instance = nil
28
+ end
29
+
24
30
  # A static helper if you don't want to create new instances of the
25
31
  # Oso class. Set the <tt>OSO_URL</tt> environment variable to
26
32
  # control the server location. See +initialize+ for more
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oso
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 0
10
- version: 2.0.0
9
+ - 1
10
+ version: 2.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Audiosocket