mage-hand 0.4.7 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.7
1
+ 0.4.8
@@ -49,20 +49,9 @@ module MageHand
49
49
  if id # save existing wiki pae
50
50
 
51
51
  else # create new wiki page
52
- puts '#########'
53
- puts client.logged_in?
54
- puts self.campaign.inspect
55
- puts self.class.collection_url(self.campaign.id)
56
- puts client.access_token.inspect
57
- puts client.campaign(self.campaign.id).name
58
-
59
52
  json_body = {'wiki_page' => self.to_hash}.to_json
60
- puts json_body
61
53
  @response = client.access_token.post(self.class.collection_url(self.campaign.id),
62
54
  json_body, {'content-type' => 'application/x-www-form-urlencoded'})
63
- puts @response.inspect
64
- puts @response.message
65
- puts @response.body
66
55
  self.update_attributes!(JSON.parse(@response.body))
67
56
  end
68
57
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "mage-hand"
8
- s.version = "0.4.7"
8
+ s.version = "0.4.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Steven Hammond"]
12
- s.date = "2012-03-21"
12
+ s.date = "2012-03-23"
13
13
  s.description = "mage-hand is a ghostly hand that reaches across the internet to access the Obsidian Portal API."
14
14
  s.email = "shammond@northpub.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mage-hand
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
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-03-21 00:00:00.000000000 Z
12
+ date: 2012-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oauth
@@ -221,7 +221,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
221
221
  version: '0'
222
222
  segments:
223
223
  - 0
224
- hash: -1021386638790416384
224
+ hash: 4023440787944590669
225
225
  required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  none: false
227
227
  requirements: