rspec-http-fixtures 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5557715cb92c802ff44757dac727c31cfe0e8e538e0b5eb41561c1b739642980
4
- data.tar.gz: a97df5d4a033df83b7043a3482eb26e757da5c4815edc06f348c9b887801bc92
3
+ metadata.gz: c7985af8f1701e5f82d9f5b42e72510a0e27c09693183809e8fd5f239afa5a32
4
+ data.tar.gz: 69da76fa59dcc78235e05f2b81795e1d7dc0683061c45565e10d45e5a72df62b
5
5
  SHA512:
6
- metadata.gz: b109f4ed430fdd78aeb67551251e254b816979769c66f6e1da34abff256fd2ede7c780aab9774a679e3da4808f9303816048fbc8e3fcfa7e797f5d2420316d58
7
- data.tar.gz: 1f1908092e7c8c0b19470939c0b73d6aa39704cb44939845ab2dc8043fa0afda2f47f5dbaba1036adfbf81cf305134b978a557efe6b3a85e3faf4d2b87e46af0
6
+ metadata.gz: 4a95db89706bc5f3864ea612704af8226b59ccb25c693103c935f5d84605986ef7bffa2f254c6f158128ea8993849119da19677c6d313383309195301bf36b8f
7
+ data.tar.gz: 968b8d9946c777f631307a674efbd8d61b40d5ebc975c885ec2b63b21eed2b16a0bb3225c98420e4dba2ec2077c21cfbe9c94e7925a4d2b45f0481a187fed7be
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-http-fixtures (0.0.2)
4
+ rspec-http-fixtures (0.0.3)
5
5
  byebug
6
6
 
7
7
  GEM
@@ -66,11 +66,11 @@ module RSpecHTTPFixtures
66
66
  end
67
67
 
68
68
  def build_json_collection_fixture(fixture, params_collection = [])
69
- @context.build_json_collection_fixture(build_fixture_path(fixture), params_collection)
69
+ @context.build_json_collection_http_fixture(build_fixture_path(fixture), params_collection)
70
70
  end
71
71
 
72
72
  def build_xml_collection_fixture(fixture, params_collection = [])
73
- params_collection.map { |p| @context.read_fixture(build_fixture_path(fixture), p) }.join("")
73
+ params_collection.map { |p| @context.read_http_fixture(build_fixture_path(fixture), p) }.join("")
74
74
  end
75
75
 
76
76
  # rubocop:disable Style/MethodMissingSuper
@@ -46,7 +46,7 @@ module RSpecHTTPFixtures
46
46
  erb.result(namespace.instance_eval { binding })
47
47
  end
48
48
 
49
- def build_json_collection_fixture(path, collection_params)
49
+ def build_json_collection_http_fixture(path, collection_params)
50
50
  return unless collection_params
51
51
 
52
52
  collection_params.map { |p| JSON.parse(read_http_fixture(path, p)) }.to_json
@@ -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.2"
5
+ spec.version = "0.0.3"
6
6
  spec.authors = ["James Hu"]
7
7
 
8
8
  spec.summary = "Capistrano plugin for deploying and managing Nomad jobs"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-http-fixtures
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Hu