percy-client 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +9 -30
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/Gemfile +3 -1
- data/Guardfile +14 -0
- data/LICENSE +2 -2
- data/README.md +34 -2
- data/Rakefile +1 -1
- data/lib/percy.rb +37 -0
- data/lib/percy/client.rb +47 -0
- data/lib/percy/client/builds.rb +32 -0
- data/lib/percy/client/connection.rb +50 -0
- data/lib/percy/client/local_git.rb +50 -0
- data/lib/percy/client/resources.rb +54 -0
- data/lib/percy/client/snapshots.rb +22 -0
- data/lib/percy/client/version.rb +5 -0
- data/percy-client.gemspec +29 -0
- data/spec/cassettes/Percy_Client_Builds/_create_build/creates_a_build.yml +64 -0
- data/spec/cassettes/Percy_Client_Builds/_finalize_build/finalizes_a_build.yml +121 -0
- data/spec/cassettes/Percy_Client_Resources/_upload_resource/returns_true_with_success.yml +237 -0
- data/spec/cassettes/Percy_Client_Snapshots/_create_snapshot/creates_a_build.yml +121 -0
- data/spec/cassettes/Percy_Client_Snapshots/_create_snapshot/fails_if_no_resources_are_given.yml +122 -0
- data/spec/lib/percy/client/builds_spec.rb +19 -0
- data/spec/lib/percy/client/connection_spec.rb +16 -0
- data/spec/lib/percy/client/local_git_spec.rb +21 -0
- data/spec/lib/percy/client/resources_spec.rb +40 -0
- data/spec/lib/percy/client/snapshots_spec.rb +26 -0
- data/spec/lib/percy/client_spec.rb +17 -0
- data/spec/spec_helper.rb +34 -0
- data/spec/support/test_helpers.rb +7 -0
- data/spec/support/vcr_setup.rb +27 -0
- metadata +116 -9
- data/lib/perceptual.rb +0 -5
- data/lib/perceptual/version.rb +0 -3
- data/perceptual.gemspec +0 -23
metadata
CHANGED
@@ -1,15 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: percy-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Perceptual Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faraday
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: httpclient
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: bundler
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,21 +66,86 @@ dependencies:
|
|
38
66
|
- - "~>"
|
39
67
|
- !ruby/object:Gem::Version
|
40
68
|
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.2'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.2'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: vcr
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: webmock
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
41
111
|
description: ''
|
42
112
|
email:
|
43
|
-
-
|
113
|
+
- team@percy.io
|
44
114
|
executables: []
|
45
115
|
extensions: []
|
46
116
|
extra_rdoc_files: []
|
47
117
|
files:
|
48
118
|
- ".gitignore"
|
119
|
+
- ".rspec"
|
120
|
+
- ".travis.yml"
|
49
121
|
- Gemfile
|
122
|
+
- Guardfile
|
50
123
|
- LICENSE
|
51
124
|
- README.md
|
52
125
|
- Rakefile
|
53
|
-
- lib/
|
54
|
-
- lib/
|
55
|
-
-
|
126
|
+
- lib/percy.rb
|
127
|
+
- lib/percy/client.rb
|
128
|
+
- lib/percy/client/builds.rb
|
129
|
+
- lib/percy/client/connection.rb
|
130
|
+
- lib/percy/client/local_git.rb
|
131
|
+
- lib/percy/client/resources.rb
|
132
|
+
- lib/percy/client/snapshots.rb
|
133
|
+
- lib/percy/client/version.rb
|
134
|
+
- percy-client.gemspec
|
135
|
+
- spec/cassettes/Percy_Client_Builds/_create_build/creates_a_build.yml
|
136
|
+
- spec/cassettes/Percy_Client_Builds/_finalize_build/finalizes_a_build.yml
|
137
|
+
- spec/cassettes/Percy_Client_Resources/_upload_resource/returns_true_with_success.yml
|
138
|
+
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/creates_a_build.yml
|
139
|
+
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/fails_if_no_resources_are_given.yml
|
140
|
+
- spec/lib/percy/client/builds_spec.rb
|
141
|
+
- spec/lib/percy/client/connection_spec.rb
|
142
|
+
- spec/lib/percy/client/local_git_spec.rb
|
143
|
+
- spec/lib/percy/client/resources_spec.rb
|
144
|
+
- spec/lib/percy/client/snapshots_spec.rb
|
145
|
+
- spec/lib/percy/client_spec.rb
|
146
|
+
- spec/spec_helper.rb
|
147
|
+
- spec/support/test_helpers.rb
|
148
|
+
- spec/support/vcr_setup.rb
|
56
149
|
homepage: ''
|
57
150
|
licenses:
|
58
151
|
- MIT
|
@@ -76,5 +169,19 @@ rubyforge_project:
|
|
76
169
|
rubygems_version: 2.2.2
|
77
170
|
signing_key:
|
78
171
|
specification_version: 4
|
79
|
-
summary:
|
80
|
-
test_files:
|
172
|
+
summary: Percy::Client
|
173
|
+
test_files:
|
174
|
+
- spec/cassettes/Percy_Client_Builds/_create_build/creates_a_build.yml
|
175
|
+
- spec/cassettes/Percy_Client_Builds/_finalize_build/finalizes_a_build.yml
|
176
|
+
- spec/cassettes/Percy_Client_Resources/_upload_resource/returns_true_with_success.yml
|
177
|
+
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/creates_a_build.yml
|
178
|
+
- spec/cassettes/Percy_Client_Snapshots/_create_snapshot/fails_if_no_resources_are_given.yml
|
179
|
+
- spec/lib/percy/client/builds_spec.rb
|
180
|
+
- spec/lib/percy/client/connection_spec.rb
|
181
|
+
- spec/lib/percy/client/local_git_spec.rb
|
182
|
+
- spec/lib/percy/client/resources_spec.rb
|
183
|
+
- spec/lib/percy/client/snapshots_spec.rb
|
184
|
+
- spec/lib/percy/client_spec.rb
|
185
|
+
- spec/spec_helper.rb
|
186
|
+
- spec/support/test_helpers.rb
|
187
|
+
- spec/support/vcr_setup.rb
|
data/lib/perceptual.rb
DELETED
data/lib/perceptual/version.rb
DELETED
data/perceptual.gemspec
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'perceptual/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "percy-client"
|
8
|
-
spec.version = Perceptual::VERSION
|
9
|
-
spec.authors = ["Mike Fotinakis"]
|
10
|
-
spec.email = ["mike@fotinakis.com"]
|
11
|
-
spec.summary = "Write me."
|
12
|
-
spec.description = ""
|
13
|
-
spec.homepage = ""
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files -z`.split("\x0")
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
-
end
|