httparty 0.23.0 → 0.23.2
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/httparty.gemspec +1 -0
- data/lib/httparty/request/body.rb +1 -0
- data/lib/httparty/version.rb +1 -1
- data/lib/httparty.rb +10 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20e6019fdfbb861c0ffe11f3cf52c76c9e404647e52007f3c7aa508d548c68fd
|
4
|
+
data.tar.gz: 2f7fce01ab20c8d6c268e80a95fb69d5aa8f471addd3c7d53eb2fdcd9305fcf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08b4cf9fc625f8093c56ff34b2bbfc3c0ed5b5dd3e391112dc10244c0709a5dae10917d15c851ec6ad86882c07c3973556f1b45a7310aed9965c6b9e4bf45fe2'
|
7
|
+
data.tar.gz: 1086fee06fe7fa50351b488d62247c34d9516c335c8defc545205c16b779e7a01578271f7a0b28ae495d35d2d6e50314d5d70e916cba84b4a8134ad14f26bdbe
|
data/httparty.gemspec
CHANGED
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.homepage = "https://github.com/jnunemaker/httparty"
|
13
13
|
s.summary = 'Makes http fun! Also, makes consuming restful web services dead easy.'
|
14
14
|
s.description = 'Makes http fun! Also, makes consuming restful web services dead easy.'
|
15
|
+
s.metadata["changelog_uri"] = 'https://github.com/jnunemaker/httparty/releases'
|
15
16
|
|
16
17
|
s.required_ruby_version = '>= 2.7.0'
|
17
18
|
|
data/lib/httparty/version.rb
CHANGED
data/lib/httparty.rb
CHANGED
@@ -62,6 +62,16 @@ module HTTParty
|
|
62
62
|
# * :+ssl_ca_path+: see HTTParty::ClassMethods.ssl_ca_path.
|
63
63
|
|
64
64
|
module ClassMethods
|
65
|
+
# Turns on or off the foul option.
|
66
|
+
#
|
67
|
+
# class Foo
|
68
|
+
# include HTTParty
|
69
|
+
# foul true
|
70
|
+
# end
|
71
|
+
def foul(bool)
|
72
|
+
default_options[:foul] = bool
|
73
|
+
end
|
74
|
+
|
65
75
|
# Turns on logging
|
66
76
|
#
|
67
77
|
# class Foo
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httparty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-
|
12
|
+
date: 2025-10-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: csv
|
@@ -130,7 +130,8 @@ files:
|
|
130
130
|
homepage: https://github.com/jnunemaker/httparty
|
131
131
|
licenses:
|
132
132
|
- MIT
|
133
|
-
metadata:
|
133
|
+
metadata:
|
134
|
+
changelog_uri: https://github.com/jnunemaker/httparty/releases
|
134
135
|
post_install_message: When you HTTParty, you must party hard!
|
135
136
|
rdoc_options: []
|
136
137
|
require_paths:
|