spaceship_stub 0.0.6 → 0.0.7
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.
- checksums.yaml +4 -4
- data/lib/spaceship_stub/spaceship/spec/client_stubbing.rb +1 -1
- data/lib/spaceship_stub/spaceship/spec/du/du_stubbing.rb +1 -1
- data/lib/spaceship_stub/spaceship/spec/fixtures/302.html +6 -0
- data/lib/spaceship_stub/spaceship/spec/portal/portal_stubbing.rb +1 -1
- data/lib/spaceship_stub/spaceship/spec/tunes/tunes_stubbing.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 988838363445c0c2b60715beabdaeb9fe80338f3
|
4
|
+
data.tar.gz: dcd37e759af1aa7042e9c3a7f3cd75d27941ffde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f45ac880d64e2ed9f920565d9ce6328a9366e358a634dab390ad1cac4beb97988d448bdcf724c56e40ec0b241f611d47088be7325508d31473fe707b24dc0f1
|
7
|
+
data.tar.gz: 374c012f365f37090ebbcce92e3ebca6755168a87a0c491720168187bda82335eb8214aba82908ff439d4cbdd9ea05236cf3154ee421a3ae7ac9e2215064b5a6
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class ClientStubbing
|
2
2
|
class << self
|
3
3
|
def client_read_fixture_file(filename)
|
4
|
-
File.read(File.join(
|
4
|
+
File.read(File.join(File.dirname(__FILE__), 'fixtures', filename))
|
5
5
|
end
|
6
6
|
|
7
7
|
# Necessary, as we're now running this in a different context
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class PortalStubbing
|
2
2
|
class << self
|
3
3
|
def adp_read_fixture_file(filename)
|
4
|
-
File.read(File.join(
|
4
|
+
File.read(File.join(File.dirname(__FILE__), 'fixtures', filename))
|
5
5
|
end
|
6
6
|
|
7
7
|
# Necessary, as we're now running this in a different context
|
@@ -3,7 +3,7 @@ class TunesStubbing
|
|
3
3
|
class << self
|
4
4
|
def itc_read_fixture_file(filename)
|
5
5
|
# CUSTOM: add File.dirname(__FILE__) to be able to read the files
|
6
|
-
File.read(File.join(File.dirname(__FILE__), '
|
6
|
+
File.read(File.join(File.dirname(__FILE__), 'fixtures', filename))
|
7
7
|
end
|
8
8
|
|
9
9
|
# Necessary, as we're now running this in a different context
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spaceship_stub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Minh Luong
|
@@ -31,6 +31,7 @@ files:
|
|
31
31
|
- lib/spaceship_stub/spaceship/spec/du/fixtures/upload_trailer_response_success.json
|
32
32
|
- lib/spaceship_stub/spaceship/spec/du/fixtures/upload_valid.geojson
|
33
33
|
- lib/spaceship_stub/spaceship/spec/du/utilities_spec.rb
|
34
|
+
- lib/spaceship_stub/spaceship/spec/fixtures/302.html
|
34
35
|
- lib/spaceship_stub/spaceship/spec/portal/app_group_spec.rb
|
35
36
|
- lib/spaceship_stub/spaceship/spec/portal/app_spec.rb
|
36
37
|
- lib/spaceship_stub/spaceship/spec/portal/certificate_spec.rb
|