streetcred 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Streetcred
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/streetcred.rb CHANGED
@@ -1,7 +1,18 @@
1
1
  require "streetcred/version"
2
2
 
3
- module Streetcred
4
- def self.hello_world
5
- "hello world"
3
+ module StreetCred
4
+ class HANDLER
5
+
6
+ def initialize
7
+ end
8
+
9
+ def generate_status_ticket
10
+ status_ticket = Hash.new
11
+ end
12
+
13
+ def self.hello_world
14
+ "hello world"
15
+ end
16
+
6
17
  end
7
18
  end
@@ -0,0 +1,14 @@
1
+ require 'streetcred'
2
+
3
+ describe StreetCred do
4
+
5
+ it "should be able to be initialized" do
6
+ credit_handler = StreetCred::HANDLER.new
7
+ end
8
+
9
+ it "should generate a status ticket that is a hash" do
10
+ credit_handler = StreetCred::HANDLER.new
11
+ credit_handler.generate_status_ticket.class.should be Hash
12
+ end
13
+ end
14
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: streetcred
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.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: 2012-05-06 00:00:00.000000000 Z
12
+ date: 2012-05-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Streetcred helps to handle the credit callback needed to use Facebook
15
15
  credit.
@@ -27,6 +27,7 @@ files:
27
27
  - lib/streetcred/version.rb
28
28
  - readme.md
29
29
  - streetcred.gemspec
30
+ - streetcred_spec.rb
30
31
  homepage: https://github.com/ragingsquirrel3/streetcred
31
32
  licenses: []
32
33
  post_install_message: