foucault_http 0.5.0 → 0.5.1

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: f713a32d7cf2653ee97bc088d52395790834fb2f31b7b38b042d8d1ce1da43aa
4
- data.tar.gz: 3d7e950145225c23cf7f34c51518d0856adf678b9335ed7a88cc71d71ab196e5
3
+ metadata.gz: 153e8532fab19d01487d2543af44447eba7fdfa526279415571f2e54c36cf55c
4
+ data.tar.gz: bc574b39fcef1f56cd7efe341858981f7a5d572ca1065f9c653da93dbd9ffb1a
5
5
  SHA512:
6
- metadata.gz: e40b5184e7a4c85d405a3d37d70c557671724dfad5638fc1ca091ab53c125b7c52725c16dcb3e792f32c50b8d054c46f0f6d4a04ffd3217cf76cd8820aa78999
7
- data.tar.gz: 3d5907000303d178f0a9118cedde9716c45efe6299ebcbf3d8c28f6206616e5228ff2dd2320fa24551e45e478e290a2a7736daab50ec92474950e2f8bd8de9b1
6
+ metadata.gz: 96cb8744cb67d426b90ad3d60020e1c24390c781719e30900edfe822bff36e2c933479c564cd8d0b097f367df432dcf830f86bd60238db924584ac7680f8f32f
7
+ data.tar.gz: 5aca366139d697878b72e5e94f77dbca134f95f6ef8351263d6d2e1fbd42968abfa57127a79e148eb67792cfe1c19ca1dfe5570ffef4bfe34fda285f4566373c
data/Rakefile CHANGED
@@ -4,3 +4,17 @@ require "rspec/core/rake_task"
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task :default => :spec
7
+
8
+ task :build do |t, args|
9
+ puts "packaging gem"
10
+ system "gem build foucault_http.gemspec"
11
+ end
12
+
13
+ task :push, [:version] do |t, args|
14
+ if args[:version]
15
+ puts "pushing gem"
16
+ system "gem push foucault_http-#{args[:version]}.gem"
17
+ else
18
+ puts "Please provide version"
19
+ end
20
+ end
@@ -132,7 +132,7 @@ module FoucaultHttp
132
132
  -> type {
133
133
  case type
134
134
  when "text/html"
135
- nil_parser
135
+ xml_parser
136
136
  when "text/plain"
137
137
  text_parser
138
138
  when "text/csv"
@@ -1,3 +1,3 @@
1
1
  module FoucaultHttp
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foucault_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Col Perks
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-15 00:00:00.000000000 Z
11
+ date: 2020-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: stoplight