rspec-http-fixtures 0.0.5 → 0.1.0
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/Gemfile.lock +2 -1
- data/lib/rspec-http-fixtures/fixture-namespace.rb +2 -4
- data/rspec-http-fixtures.gemspec +4 -4
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 906dceac9d5d7a6a74761506f3c3e8d9919f5543533d0d5290d3a127722980d1
|
4
|
+
data.tar.gz: a1b56a786b7801a82879cf07adf79d1204ff88e00dcc9ab74dc012635f268dba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0e19cd407b6794500950a6c99f3a8b01079aff6541bc44ea59698cfc9fd30ce1705d1c45fa42e493e008090c76aa46f927da217094e8125d17a910b4999cf70
|
7
|
+
data.tar.gz: c247c98ccd6af2e40c17d32f24a87aae283e92482e733189def76ba41f67cb55bdc0cea1e02ef3c320886a1f7b94cd76d2578e8bce6b948a2dfc1a1283dc69ec
|
data/Gemfile.lock
CHANGED
@@ -48,8 +48,8 @@ module RSpecHTTPFixtures
|
|
48
48
|
def build_json_string(value, default = nil)
|
49
49
|
value ||= default
|
50
50
|
|
51
|
-
#
|
52
|
-
build_json_null(value) ||
|
51
|
+
# `dump` ensures everything is escaped (e.g. \ is converted to \\) and will also include escaped quotes around the string
|
52
|
+
build_json_null(value) || value.to_s.dump
|
53
53
|
end
|
54
54
|
|
55
55
|
# Returns integer value or null if nil for json fixtures. Can also be forced to be null by passing in the
|
@@ -91,7 +91,6 @@ module RSpecHTTPFixtures
|
|
91
91
|
params_collection.map { |p| @context.read_http_fixture(build_fixture_path(fixture), p) }.join("")
|
92
92
|
end
|
93
93
|
|
94
|
-
# rubocop:disable Style/MethodMissingSuper
|
95
94
|
# rubocop:disable Style/MissingRespondToMissing
|
96
95
|
def method_missing(name, *args)
|
97
96
|
instance_variable = "@#{name}"
|
@@ -104,7 +103,6 @@ module RSpecHTTPFixtures
|
|
104
103
|
send(name, *args)
|
105
104
|
end
|
106
105
|
end
|
107
|
-
# rubocop:enable Style/MethodMissingSuper
|
108
106
|
# rubocop:enable Style/MissingRespondToMissing
|
109
107
|
end
|
110
108
|
end
|
data/rspec-http-fixtures.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "rspec-http-fixtures"
|
5
|
-
spec.version = "0.0
|
5
|
+
spec.version = "0.1.0"
|
6
6
|
spec.authors = ["James Hu"]
|
7
7
|
|
8
8
|
spec.summary = "Capistrano plugin for deploying and managing Nomad jobs"
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
# Specify which files should be added to the gem when it is released.
|
19
19
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
20
20
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
21
|
-
|
21
|
+
%x(git ls-files -z).split("\x0").reject do |f|
|
22
22
|
(f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
23
23
|
end
|
24
24
|
end
|
@@ -27,8 +27,8 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
|
29
29
|
# Uncomment to register a new dependency of your gem
|
30
|
-
spec.add_dependency
|
31
|
-
spec.add_dependency
|
30
|
+
spec.add_dependency("byebug")
|
31
|
+
spec.add_dependency("rake")
|
32
32
|
|
33
33
|
# For more information and examples about making a new gem, check out our
|
34
34
|
# guide at: https://bundler.io/guides/creating_gem.html
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-http-fixtures
|
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
|
- James Hu
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Capistrano plugin for deploying and managing Nomad jobs
|
42
|
-
email:
|
42
|
+
email:
|
43
43
|
executables: []
|
44
44
|
extensions: []
|
45
45
|
extra_rdoc_files: []
|
@@ -60,7 +60,7 @@ metadata:
|
|
60
60
|
allowed_push_host: https://rubygems.org
|
61
61
|
homepage_uri: https://github.com/axsuul/rspec-http-fixtures
|
62
62
|
source_code_uri: https://github.com/axsuul/rspec-http-fixtures
|
63
|
-
post_install_message:
|
63
|
+
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
66
66
|
- lib
|
@@ -75,8 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
78
|
+
rubygems_version: 3.3.27
|
79
|
+
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Capistrano plugin for deploying and managing Nomad jobs
|
82
82
|
test_files: []
|