siteleaf 2.1.2 → 2.2.0

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: 7632e9291c8a7111f572ac0380262e85d8ed86791fad2baa9ac7ef4bdea37973
4
- data.tar.gz: 280efe8fe737f575fee142871d0b77334f5ee03e84e3d1613b42b5daa65c08c3
3
+ metadata.gz: 046b60a59a32c75e4294c753c2593933a1cc4c7f4bd631d063680810f9c9c4ac
4
+ data.tar.gz: d5d9312cab00db6b14ad706420649f008bd12382d1a54f3ef030fb90601c0024
5
5
  SHA512:
6
- metadata.gz: 6d641ff9b139f5ea7c49beb1bcab152fe19dde0996e3043cf3e137d0ba41488ff4f8250e47bd41042d0e5d35c36b9df11df845981cfc55438ba4d90e35a4c260
7
- data.tar.gz: fe6f49d7ad52adce8522b35c77775e85b2170e327dd442fba6a043cf2b0f4482008643a3be544641e1480ae47293fec544e316feeb928bb503f00d94814d06f6
6
+ metadata.gz: e1c28c75af43d0c5472d721dc228c76c553d3f1aecc688c0911862b226ddacb080d09f7d3051fd3f9daa92b1bccb313006ea717dc5846ccdd0d632b89a84037e
7
+ data.tar.gz: d6a2293493b93183677f2e287adcdd5be234c7a2115fda7d78461722bd2537c0e4cb3adfba55a8caef5a3e344e5baf1f3ddb3ec272db69a854d05eaff0623746
@@ -5,7 +5,7 @@ module Siteleaf
5
5
  attr_reader :name, :url, :download_url, :type, :filesize, :sha, :created_at, :updated_at, :user_id
6
6
 
7
7
  def create_endpoint
8
- uri = URI.encode(identifier)
8
+ uri = URI::Parser.new.escape(identifier)
9
9
  uri = uri.gsub('[', '%5B').gsub(']', '%5D') # workaround for https://bugs.ruby-lang.org/issues/12235
10
10
  ::File.join('sites', site_id, 'source', uri)
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module Siteleaf
2
- VERSION = "2.1.2"
2
+ VERSION = "2.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siteleaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siteleaf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-24 00:00:00.000000000 Z
11
+ date: 2023-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.1.4
118
+ rubygems_version: 3.2.32
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Siteleaf Ruby interface