gemaweek 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/gemaweek.gemspec CHANGED
@@ -9,8 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.email = ["emachnic@broadmac.net"]
10
10
  s.homepage = "http://gemaweek.com"
11
11
  s.summary = %q{Demonstration gem for GemAWeek Screencast}
12
- s.description = %q{I wanted to write a basic Gem for consuming my own API.
13
- This is a terrible example of a gem. Don't use this except for educational purposes.}
12
+ s.description = %q{I wanted to write a basic Gem for consuming my own API. This is a terrible example of a gem. Don't use this except for educational purposes.}
14
13
 
15
14
  s.rubyforge_project = "gemaweek"
16
15
 
@@ -19,5 +18,5 @@ Gem::Specification.new do |s|
19
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
19
  s.require_paths = ["lib"]
21
20
 
22
- s.add_runtime_dependency 'api_smith', '~> 1.0.0'
21
+ s.add_dependency 'api_smith', '~> 1.0.0'
23
22
  end
data/lib/gemaweek.rb CHANGED
@@ -3,5 +3,4 @@ require 'api_smith'
3
3
 
4
4
  module Gemaweek
5
5
  end
6
-
7
- require 'gemaweek/posts'
6
+ require "gemaweek/client"
@@ -0,0 +1,4 @@
1
+ class Gemaweek::Client
2
+ include APISmith::Client
3
+ base_uri 'http://localhost:3000'
4
+ end
@@ -1,3 +1,3 @@
1
1
  module Gemaweek
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gemaweek
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Evan Machnic
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-03 00:00:00 -04:00
13
+ date: 2011-07-04 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -24,9 +24,7 @@ dependencies:
24
24
  version: 1.0.0
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
- description: |-
28
- I wanted to write a basic Gem for consuming my own API.
29
- This is a terrible example of a gem. Don't use this except for educational purposes.
27
+ description: I wanted to write a basic Gem for consuming my own API. This is a terrible example of a gem. Don't use this except for educational purposes.
30
28
  email:
31
29
  - emachnic@broadmac.net
32
30
  executables: []
@@ -41,6 +39,7 @@ files:
41
39
  - Rakefile
42
40
  - gemaweek.gemspec
43
41
  - lib/gemaweek.rb
42
+ - lib/gemaweek/client.rb
44
43
  - lib/gemaweek/version.rb
45
44
  has_rdoc: true
46
45
  homepage: http://gemaweek.com