happening 0.2.1 → 0.2.2

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.md +4 -0
  2. data/lib/happening.rb +11 -8
  3. metadata +4 -4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =============
3
3
 
4
+ 0.2.2
5
+
6
+ - Refactor version and build code
7
+
4
8
  0.2.1
5
9
 
6
10
  - Return the response object on get so that the data can be streamed [carlism]
data/lib/happening.rb CHANGED
@@ -3,14 +3,17 @@ require 'em-http'
3
3
  require 'openssl'
4
4
  require 'logger'
5
5
 
6
- require File.dirname(__FILE__) + '/happening/utils'
7
- require File.dirname(__FILE__) + '/happening/log'
8
- require File.dirname(__FILE__) + '/happening/aws'
9
- require File.dirname(__FILE__) + '/happening/s3'
10
- require File.dirname(__FILE__) + '/happening/s3/request'
11
- require File.dirname(__FILE__) + '/happening/s3/item'
6
+ unless defined?(Happening)
7
+ $:<<(File.expand_path(File.dirname(__FILE__) + "/lib"))
8
+ require File.expand_path(File.dirname(__FILE__) + '/happening/utils')
9
+ require File.expand_path(File.dirname(__FILE__) + '/happening/log')
10
+ require File.expand_path(File.dirname(__FILE__) + '/happening/aws')
11
+ require File.expand_path(File.dirname(__FILE__) + '/happening/s3')
12
+ require File.expand_path(File.dirname(__FILE__) + '/happening/s3/request')
13
+ require File.expand_path(File.dirname(__FILE__) + '/happening/s3/item')
12
14
 
13
- module Happening
14
- class Error < RuntimeError
15
+ module Happening
16
+ VERSION = '0.2.2'
17
+ class Error < RuntimeError; end
15
18
  end
16
19
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: happening
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Weiss
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-07 00:00:00 Z
18
+ date: 2011-08-14 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement