upscrn-client 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
3
  gem "rest-client"
4
- gem "json"
4
+ gem "json_pure"
5
5
 
6
6
  group :development do
7
7
  gem "rspec", "~> 2.3.0"
data/Gemfile.lock CHANGED
@@ -7,7 +7,7 @@ GEM
7
7
  bundler (~> 1.0)
8
8
  git (>= 1.2.5)
9
9
  rake
10
- json (1.5.4)
10
+ json_pure (1.6.0)
11
11
  mime-types (1.16)
12
12
  rake (0.9.2)
13
13
  rcov (0.9.10)
@@ -28,7 +28,7 @@ PLATFORMS
28
28
  DEPENDENCIES
29
29
  bundler (~> 1.0.0)
30
30
  jeweler (~> 1.6.4)
31
- json
31
+ json_pure
32
32
  rcov
33
33
  rest-client
34
34
  rspec (~> 2.3.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -13,7 +13,7 @@ module UpscrnClient
13
13
  file = File.open filename, 'r'
14
14
  begin
15
15
  if options[:project_id]
16
- post_response = perform("post", "projects/#{project}/screenshots", auth_token, {:screenshot => {:image => @image}})
16
+ post_response = perform("post", "projects/#{options[:project_id]}/screenshots", auth_token, {:screenshot => {:image => @image}})
17
17
  else
18
18
  post_response = perform('post', 'screenshots', auth_token, {:screenshot => {:image => file}})
19
19
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{upscrn-client}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Matt Cowley}]
12
- s.date = %q{2011-09-15}
12
+ s.date = %q{2011-09-22}
13
13
  s.description = %q{client library for accessing the upscrn api}
14
14
  s.email = %q{madcowley@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -42,14 +42,14 @@ Gem::Specification.new do |s|
42
42
 
43
43
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
44
44
  s.add_runtime_dependency(%q<rest-client>, [">= 0"])
45
- s.add_runtime_dependency(%q<json>, [">= 0"])
45
+ s.add_runtime_dependency(%q<json_pure>, [">= 0"])
46
46
  s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
47
47
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
48
48
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
49
49
  s.add_development_dependency(%q<rcov>, [">= 0"])
50
50
  else
51
51
  s.add_dependency(%q<rest-client>, [">= 0"])
52
- s.add_dependency(%q<json>, [">= 0"])
52
+ s.add_dependency(%q<json_pure>, [">= 0"])
53
53
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
54
54
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
55
55
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
@@ -57,7 +57,7 @@ Gem::Specification.new do |s|
57
57
  end
58
58
  else
59
59
  s.add_dependency(%q<rest-client>, [">= 0"])
60
- s.add_dependency(%q<json>, [">= 0"])
60
+ s.add_dependency(%q<json_pure>, [">= 0"])
61
61
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
62
62
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
63
63
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upscrn-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Cowley
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-15 00:00:00 Z
18
+ date: 2011-09-22 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
@@ -41,7 +41,7 @@ dependencies:
41
41
  segments:
42
42
  - 0
43
43
  version: "0"
44
- name: json
44
+ name: json_pure
45
45
  prerelease: false
46
46
  type: :runtime
47
47
  requirement: *id002