audiences 1.5.4.alpha → 1.5.4
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/Rakefile +1 -20
- data/lib/audiences/engine.rb +0 -4
- data/lib/audiences/version.rb +1 -1
- data/lib/audiences.rb +0 -1
- metadata +6 -6
- data/app/assets/builds/audiences-ujs.js +0 -1503
- data/lib/audiences/editor_helper.rb +0 -16
- data/lib/audiences/railtie.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd59db4417464971778494de7c990f84e60c53437f2fe42539f346982ccbfb78
|
4
|
+
data.tar.gz: '048a21bed0712f1319b0a307a7d673e90ebdb1e8bf2dbff83e07866ffe642e2b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46734c2a07e2c7613a686371e3b65a22db975bfd857ef1ea6a10785ea65399016394802046018b94eb84a9c2fbd95c66469f28ce4620a35c24ec6f2da4af71bd
|
7
|
+
data.tar.gz: d246e5e8636ffaded7bb3ae150d3df5cc185c8223f526c6cecb578f51810597098241c47f25a1b5e625bc45f8395a88b7aa6da852e519efc8d92d35b12cddced
|
data/Rakefile
CHANGED
@@ -15,23 +15,4 @@ APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
|
|
15
15
|
load "rails/tasks/engine.rake"
|
16
16
|
load "rails/tasks/statistics.rake"
|
17
17
|
|
18
|
-
|
19
|
-
task build_frontend: :environment do
|
20
|
-
puts "Building audiences-react..."
|
21
|
-
system("cd ../audiences-react && yarn install && yarn build --mode ujs") || raise("Failed to build audiences-react")
|
22
|
-
|
23
|
-
source_path = Pathname.pwd.join("../audiences-react/dist/audiences-ujs.js")
|
24
|
-
destination_dir = Pathname.pwd.join("app/assets/builds")
|
25
|
-
destination_path = destination_dir.join("audiences-ujs.js")
|
26
|
-
|
27
|
-
destination_dir.mkpath
|
28
|
-
raise "Build file not found: #{source_path}" unless source_path.exist?
|
29
|
-
|
30
|
-
puts "Copying #{source_path} to #{destination_path}..."
|
31
|
-
FileUtils.cp(source_path.to_s, destination_path.to_s)
|
32
|
-
puts "Successfully copied!"
|
33
|
-
end
|
34
|
-
|
35
|
-
Rake::Task["build"].enhance(["build_frontend"])
|
36
|
-
|
37
|
-
task default: %i[rubocop spec build_frontend]
|
18
|
+
task default: %i[rubocop spec]
|
data/lib/audiences/engine.rb
CHANGED
@@ -10,10 +10,6 @@ module Audiences
|
|
10
10
|
class Engine < ::Rails::Engine
|
11
11
|
isolate_namespace Audiences
|
12
12
|
|
13
|
-
initializer "audiences.assets.precompile" do |app|
|
14
|
-
app.config.assets.precompile += %w[audiences-ujs.js] if app.config.respond_to?(:assets)
|
15
|
-
end
|
16
|
-
|
17
13
|
initializer "audiences.model" do
|
18
14
|
if Audiences.config.identity_class
|
19
15
|
ActiveSupport.on_load(:active_record) do
|
data/lib/audiences/version.rb
CHANGED
data/lib/audiences.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: audiences
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.4
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Palhares
|
8
|
+
autorequire:
|
8
9
|
bindir: bin
|
9
10
|
cert_chain: []
|
10
|
-
date: 2025-
|
11
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
11
12
|
dependencies:
|
12
13
|
- !ruby/object:Gem::Dependency
|
13
14
|
name: rails
|
@@ -32,7 +33,6 @@ extensions: []
|
|
32
33
|
extra_rdoc_files: []
|
33
34
|
files:
|
34
35
|
- Rakefile
|
35
|
-
- app/assets/builds/audiences-ujs.js
|
36
36
|
- app/controllers/audiences/application_controller.rb
|
37
37
|
- app/controllers/audiences/contexts_controller.rb
|
38
38
|
- app/controllers/audiences/scim_proxy_controller.rb
|
@@ -61,11 +61,9 @@ files:
|
|
61
61
|
- docs/README.md
|
62
62
|
- lib/audiences.rb
|
63
63
|
- lib/audiences/configuration.rb
|
64
|
-
- lib/audiences/editor_helper.rb
|
65
64
|
- lib/audiences/engine.rb
|
66
65
|
- lib/audiences/model.rb
|
67
66
|
- lib/audiences/notifications.rb
|
68
|
-
- lib/audiences/railtie.rb
|
69
67
|
- lib/audiences/scim.rb
|
70
68
|
- lib/audiences/scim/client.rb
|
71
69
|
- lib/audiences/scim/resource.rb
|
@@ -80,6 +78,7 @@ metadata:
|
|
80
78
|
source_code_uri: https://github.com/powerhome/audiences
|
81
79
|
changelog_uri: https://github.com/powerhome/audiences/blob/main/packages/audiences/docs/CHANGELOG.md
|
82
80
|
rubygems_mfa_required: 'true'
|
81
|
+
post_install_message:
|
83
82
|
rdoc_options: []
|
84
83
|
require_paths:
|
85
84
|
- lib
|
@@ -94,7 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
93
|
- !ruby/object:Gem::Version
|
95
94
|
version: '0'
|
96
95
|
requirements: []
|
97
|
-
rubygems_version: 3.
|
96
|
+
rubygems_version: 3.5.23
|
97
|
+
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Audiences system
|
100
100
|
test_files: []
|