pairer 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/pairer/application.js +0 -2
- data/app/assets/stylesheets/pairer/application.css +0 -5
- data/app/controllers/pairer/boards_controller.rb +4 -2
- data/app/views/layouts/pairer/application.html.slim +2 -0
- data/lib/pairer/engine.rb +3 -1
- data/lib/pairer/version.rb +1 -1
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03422d4cc7e2e8f77e732ab5d8c961a12ac1eca81f239ff1686225a03b044b96
|
4
|
+
data.tar.gz: 7093748edb2faae592a62dc81dbde13d123914cfb2537b78afe1149dd31c4b16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6f6cfea6e12f5efd07b1d7a118e13f14196406bc3ef25341fef7974fff6d6f650dca5fc80b216222fcd754eaa3a89f3495c8b4942403c5480bcb5161fc0c23f
|
7
|
+
data.tar.gz: ab9182ccfc3c737f39247c1a10fac7a47d12db3f71749e9d337ad374359a99e583937d8cd0ada65d237e8f898799a3e59cb10d16b291e4760e6248bae776050a
|
@@ -247,7 +247,9 @@ module Pairer
|
|
247
247
|
redirect_to(action: :index)
|
248
248
|
end
|
249
249
|
|
250
|
-
@board = Pairer::Board
|
250
|
+
@board = Pairer::Board
|
251
|
+
.includes(:people, :groups)
|
252
|
+
.find_by!(org_id: session[:pairer_current_org_id], public_id: params[:id])
|
251
253
|
end
|
252
254
|
|
253
255
|
def people_by_id
|
@@ -266,7 +268,7 @@ module Pairer
|
|
266
268
|
|
267
269
|
include ActionView::Helpers::JavaScriptHelper
|
268
270
|
def render_js_page_replace
|
269
|
-
|
271
|
+
get_board
|
270
272
|
|
271
273
|
js_page_content = escape_javascript(render_to_string "pairer/boards/show", layout: false)
|
272
274
|
|
@@ -13,6 +13,7 @@ html
|
|
13
13
|
|
14
14
|
link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.4.0/united/bootstrap.min.css" integrity="sha512-JsK+6bBl5wmtKe9PnCXclLS1fwG7GvLZ9IkBg/ACzuSJJUKTedxyXRFujJf+KpcNFFhSX+I05YPAm99r1ivmog==" crossorigin="anonymous" referrerpolicy="no-referrer"
|
15
15
|
|
16
|
+
= stylesheet_link_tag 'pairer/utility'
|
16
17
|
= stylesheet_link_tag 'pairer/application', media: 'all'
|
17
18
|
|
18
19
|
script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" referrerpolicy="no-referrer"
|
@@ -28,6 +29,7 @@ html
|
|
28
29
|
|
29
30
|
script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha512-oBTprMeNEKCnqfuqKd6sbvFzmFQtlXS3e0C/RGFV0hD6QzhHV+ODfaQbAlmY6/q0ubbwlAM/nCJjkrgA3waLzg==" crossorigin="anonymous" referrerpolicy="no-referrer"
|
30
31
|
|
32
|
+
= javascript_include_tag 'rails-ujs'
|
31
33
|
= javascript_include_tag 'pairer/application'
|
32
34
|
|
33
35
|
body
|
data/lib/pairer/engine.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'slim'
|
2
|
-
require "sprockets/railtie"
|
3
2
|
require 'hashids'
|
4
3
|
|
5
4
|
module Pairer
|
@@ -7,8 +6,11 @@ module Pairer
|
|
7
6
|
isolate_namespace Pairer
|
8
7
|
|
9
8
|
initializer "pairer.assets.precompile" do |app|
|
9
|
+
# this initializer is only called when sprockets is in use
|
10
|
+
|
10
11
|
app.config.assets.precompile << "pairer_manifest.js" ### manifest file required
|
11
12
|
app.config.assets.precompile << "pairer/favicon.ico"
|
13
|
+
app.config.assets.precompile << "rails-ujs" # provided by activesupport
|
12
14
|
|
13
15
|
### Automatically precompile assets in specified folders
|
14
16
|
["app/assets/images/"].each do |folder|
|
data/lib/pairer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pairer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Weston Ganger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '6.
|
19
|
+
version: '6.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '6.
|
26
|
+
version: '6.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actioncable
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: sprockets-rails
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: sqlite3
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|