siteleaf 2.1.2 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/siteleaf/role.rb +12 -0
- data/lib/siteleaf/site.rb +5 -0
- data/lib/siteleaf/source_file.rb +1 -1
- data/lib/siteleaf/version.rb +1 -1
- data/lib/siteleaf.rb +1 -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: ce6fc710cfc1acbebaf8d32fd7b2fd8a71d4214a927f3044123f83379edd39ca
|
4
|
+
data.tar.gz: 230fb95a0b07b80a64bfe9327ea91a29c7666bbb30451f213c54954b1363e32d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea19934dd0aea81f63d0e92369d757888011cbd951c015b7e69de6b3813e3774e69fd5bcff527b9207f610b29f7a1f4bd1ba894e99342090e273b539bbd4a5f9
|
7
|
+
data.tar.gz: 0a72065cf23659cbe5efa2beea7590588bcd22235ce00f42e4be3a3fb4084ab5671f258dd025427e2db48cb4690d11d29635a5f8a2a2617cd628b5093e64d380
|
data/README.md
CHANGED
data/lib/siteleaf/site.rb
CHANGED
data/lib/siteleaf/source_file.rb
CHANGED
@@ -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.
|
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
|
data/lib/siteleaf/version.rb
CHANGED
data/lib/siteleaf.rb
CHANGED
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
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Siteleaf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- lib/siteleaf/git_hash.rb
|
92
92
|
- lib/siteleaf/job.rb
|
93
93
|
- lib/siteleaf/page.rb
|
94
|
+
- lib/siteleaf/role.rb
|
94
95
|
- lib/siteleaf/site.rb
|
95
96
|
- lib/siteleaf/source_file.rb
|
96
97
|
- lib/siteleaf/user.rb
|
@@ -115,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
116
|
- !ruby/object:Gem::Version
|
116
117
|
version: '0'
|
117
118
|
requirements: []
|
118
|
-
rubygems_version: 3.
|
119
|
+
rubygems_version: 3.2.32
|
119
120
|
signing_key:
|
120
121
|
specification_version: 4
|
121
122
|
summary: Siteleaf Ruby interface
|