wowzer 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use 1.9.2@wowzer --create
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in wowzer.gemspec
4
+ gemspec
5
+
6
+ group :development do
7
+ gem 'rspec'
8
+ gem 'rspec-rails'
9
+ gem 'sqlite3'
10
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,131 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ wowzer (0.0.1)
5
+ activerecord (~> 3.0)
6
+ activesupport
7
+ frenetic
8
+ i18n
9
+
10
+ GEM
11
+ remote: http://rubygems.org/
12
+ specs:
13
+ actionmailer (3.2.9)
14
+ actionpack (= 3.2.9)
15
+ mail (~> 2.4.4)
16
+ actionpack (3.2.9)
17
+ activemodel (= 3.2.9)
18
+ activesupport (= 3.2.9)
19
+ builder (~> 3.0.0)
20
+ erubis (~> 2.7.0)
21
+ journey (~> 1.0.4)
22
+ rack (~> 1.4.0)
23
+ rack-cache (~> 1.2)
24
+ rack-test (~> 0.6.1)
25
+ sprockets (~> 2.2.1)
26
+ activemodel (3.2.9)
27
+ activesupport (= 3.2.9)
28
+ builder (~> 3.0.0)
29
+ activerecord (3.2.9)
30
+ activemodel (= 3.2.9)
31
+ activesupport (= 3.2.9)
32
+ arel (~> 3.0.2)
33
+ tzinfo (~> 0.3.29)
34
+ activeresource (3.2.9)
35
+ activemodel (= 3.2.9)
36
+ activesupport (= 3.2.9)
37
+ activesupport (3.2.9)
38
+ i18n (~> 0.6)
39
+ multi_json (~> 1.0)
40
+ addressable (2.3.3)
41
+ arel (3.0.2)
42
+ builder (3.0.4)
43
+ combustion (0.3.2)
44
+ rails (>= 3.0.0)
45
+ thor (>= 0.14.6)
46
+ diff-lcs (1.1.3)
47
+ erubis (2.7.0)
48
+ faraday (0.8.7)
49
+ multipart-post (~> 1.1)
50
+ faraday_middleware (0.9.0)
51
+ faraday (>= 0.7.4, < 0.9)
52
+ frenetic (0.0.12)
53
+ activesupport (>= 2)
54
+ addressable (~> 2.2)
55
+ faraday (~> 0.8.1)
56
+ faraday_middleware (~> 0.9.0)
57
+ rack-cache (~> 1.1)
58
+ hike (1.2.1)
59
+ i18n (0.6.1)
60
+ journey (1.0.4)
61
+ json (1.7.5)
62
+ mail (2.4.4)
63
+ i18n (>= 0.4.0)
64
+ mime-types (~> 1.16)
65
+ treetop (~> 1.4.8)
66
+ mime-types (1.19)
67
+ multi_json (1.3.7)
68
+ multipart-post (1.2.0)
69
+ polyglot (0.3.3)
70
+ rack (1.4.1)
71
+ rack-cache (1.2)
72
+ rack (>= 0.4)
73
+ rack-ssl (1.3.2)
74
+ rack
75
+ rack-test (0.6.2)
76
+ rack (>= 1.0)
77
+ rails (3.2.9)
78
+ actionmailer (= 3.2.9)
79
+ actionpack (= 3.2.9)
80
+ activerecord (= 3.2.9)
81
+ activeresource (= 3.2.9)
82
+ activesupport (= 3.2.9)
83
+ bundler (~> 1.0)
84
+ railties (= 3.2.9)
85
+ railties (3.2.9)
86
+ actionpack (= 3.2.9)
87
+ activesupport (= 3.2.9)
88
+ rack-ssl (~> 1.3.2)
89
+ rake (>= 0.8.7)
90
+ rdoc (~> 3.4)
91
+ thor (>= 0.14.6, < 2.0)
92
+ rake (10.0.2)
93
+ rdoc (3.12)
94
+ json (~> 1.4)
95
+ rspec (2.12.0)
96
+ rspec-core (~> 2.12.0)
97
+ rspec-expectations (~> 2.12.0)
98
+ rspec-mocks (~> 2.12.0)
99
+ rspec-core (2.12.0)
100
+ rspec-expectations (2.12.0)
101
+ diff-lcs (~> 1.1.3)
102
+ rspec-mocks (2.12.0)
103
+ rspec-rails (2.12.0)
104
+ actionpack (>= 3.0)
105
+ activesupport (>= 3.0)
106
+ railties (>= 3.0)
107
+ rspec-core (~> 2.12.0)
108
+ rspec-expectations (~> 2.12.0)
109
+ rspec-mocks (~> 2.12.0)
110
+ sprockets (2.2.2)
111
+ hike (~> 1.2)
112
+ multi_json (~> 1.0)
113
+ rack (~> 1.0)
114
+ tilt (~> 1.1, != 1.3.0)
115
+ sqlite3 (1.3.6)
116
+ thor (0.16.0)
117
+ tilt (1.3.3)
118
+ treetop (1.4.12)
119
+ polyglot
120
+ polyglot (>= 0.3.1)
121
+ tzinfo (0.3.35)
122
+
123
+ PLATFORMS
124
+ ruby
125
+
126
+ DEPENDENCIES
127
+ combustion (~> 0.3.1)
128
+ rspec
129
+ rspec-rails
130
+ sqlite3
131
+ wowzer!
data/README.md ADDED
@@ -0,0 +1,4 @@
1
+ wowzer
2
+ ======
3
+
4
+ A client for the Wowzer API
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/config.ru ADDED
@@ -0,0 +1,4 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+
4
+ Bundler.require :default, :development
@@ -0,0 +1,5 @@
1
+ module Wowzer
2
+ class Application < Frenetic::Resource
3
+ api_client Client
4
+ end
5
+ end
@@ -0,0 +1,17 @@
1
+ module Wowzer
2
+
3
+ class Client
4
+
5
+ MyAPI = ::Frenetic.new(
6
+ 'url' => API_ENDPOINT,
7
+ 'app_id' => APP_ID,
8
+ 'api_key' => API_KEY,
9
+ 'headers' => {
10
+ 'accept' => 'application/hal+json',
11
+ 'content-type' => 'application/json'
12
+ }
13
+ )
14
+
15
+ end
16
+
17
+ end
@@ -0,0 +1,5 @@
1
+ module Wowzer
2
+ class Interview < Frenetic::Resource
3
+ api_client Client
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module Wowzer
2
+ VERSION = "0.0.1"
3
+ end
data/lib/wowzer.rb ADDED
@@ -0,0 +1,12 @@
1
+ require "active_record"
2
+
3
+ module Wowzer
4
+
5
+ APP_ID = nil
6
+ API_KEY = nil
7
+ API_ENDPOINT = 'https://api.wowzerapp.com'
8
+
9
+ end
10
+
11
+ require 'wowzer/version'
12
+ require 'wowzer/client'
data/wowzer.gemspec ADDED
@@ -0,0 +1,27 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "wowzer/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "wowzer"
7
+ s.version = Wowzer::VERSION
8
+ s.authors = ["Douglas Anderson", "Tim Jegels"]
9
+ s.email = ["i.am.douglas.anderson@gmail.com", "tjegels@gmail.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{ A gem that integrates with the Wowzer API. }
12
+ s.description = %q{ A gem that integrates with the Wowzer API. }
13
+
14
+ s.rubyforge_project = "wowzer"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_dependency "activesupport"
22
+ s.add_dependency "activerecord", "~> 3.0"
23
+ s.add_dependency "i18n"
24
+ s.add_dependency "frenetic"
25
+
26
+ s.add_development_dependency 'combustion', '~> 0.3.1'
27
+ end
metadata ADDED
@@ -0,0 +1,139 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wowzer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Douglas Anderson
9
+ - Tim Jegels
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2013-03-26 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activesupport
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
31
+ - !ruby/object:Gem::Dependency
32
+ name: activerecord
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ~>
37
+ - !ruby/object:Gem::Version
38
+ version: '3.0'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: '3.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: i18n
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ - !ruby/object:Gem::Dependency
64
+ name: frenetic
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ type: :runtime
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ - !ruby/object:Gem::Dependency
80
+ name: combustion
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: 0.3.1
87
+ type: :development
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 0.3.1
95
+ description: ! ' A gem that integrates with the Wowzer API. '
96
+ email:
97
+ - i.am.douglas.anderson@gmail.com
98
+ - tjegels@gmail.com
99
+ executables: []
100
+ extensions: []
101
+ extra_rdoc_files: []
102
+ files:
103
+ - .rvmrc
104
+ - Gemfile
105
+ - Gemfile.lock
106
+ - README.md
107
+ - Rakefile
108
+ - config.ru
109
+ - lib/wowzer.rb
110
+ - lib/wowzer/application.rb
111
+ - lib/wowzer/client.rb
112
+ - lib/wowzer/interview.rb
113
+ - lib/wowzer/version.rb
114
+ - wowzer.gemspec
115
+ homepage: ''
116
+ licenses: []
117
+ post_install_message:
118
+ rdoc_options: []
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
+ none: false
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ requirements: []
134
+ rubyforge_project: wowzer
135
+ rubygems_version: 1.8.24
136
+ signing_key:
137
+ specification_version: 3
138
+ summary: A gem that integrates with the Wowzer API.
139
+ test_files: []