cap_reserve 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/cap_reserve.gemspec +1 -3
  2. data/lib/cap_reserve.rb +2 -4
  3. metadata +3 -19
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "cap_reserve"
9
- s.version = '0.1.8'
9
+ s.version = '0.1.9'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = [ "Winton Welsh" ]
12
12
  s.email = [ "mail@wintoni.us" ]
@@ -20,6 +20,4 @@ Gem::Specification.new do |s|
20
20
  s.test_files = `cd #{root} && git ls-files -- {features,test,spec}/*`.split("\n")
21
21
 
22
22
  s.add_development_dependency "rspec", "~> 1.0"
23
-
24
- s.add_dependency "yajl-ruby", "= 1.0.0"
25
23
  end
@@ -1,8 +1,6 @@
1
- gem 'yajl-ruby', '= 1.0.0'
2
-
3
1
  require 'open-uri'
4
2
  require 'uri'
5
- require 'yajl'
3
+ require 'json'
6
4
 
7
5
  $:.unshift File.dirname(__FILE__)
8
6
 
@@ -49,7 +47,7 @@ Capistrano::Configuration.instance(:must_exist).load do
49
47
  params.chop! # trailing &
50
48
 
51
49
  json = open("#{full_url}?#{params}").read
52
- Yajl::Parser.parse(json)
50
+ JSON.parse(json)
53
51
  end
54
52
 
55
53
  desc "Reserve environment using RESERVE=minutes"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap_reserve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
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: 2013-02-17 00:00:00.000000000 Z
12
+ date: 2013-05-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -27,22 +27,6 @@ dependencies:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.0'
30
- - !ruby/object:Gem::Dependency
31
- name: yajl-ruby
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - '='
36
- - !ruby/object:Gem::Version
37
- version: 1.0.0
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - '='
44
- - !ruby/object:Gem::Version
45
- version: 1.0.0
46
30
  description: Uses a maitre_d server to reserve time on deploy environments.
47
31
  email:
48
32
  - mail@wintoni.us
@@ -79,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
63
  version: '0'
80
64
  requirements: []
81
65
  rubyforge_project:
82
- rubygems_version: 1.8.23
66
+ rubygems_version: 1.8.25
83
67
  signing_key:
84
68
  specification_version: 3
85
69
  summary: Uses a maitre_d server to reserve time on deploy environments