sk_progress_bar 0.1.6 → 0.1.7

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: 7132a1f9da01eac32ef26c1c8f7cf5164bc265907abc5c5a51e5e15cc79e897f
4
- data.tar.gz: 1bb195a8a1c3c041100fa0c9b4e9ba4713517f0acc4b0227b46bd30d00b1d903
3
+ metadata.gz: 0428012e807202711c311dc6c773bac2f04a754eb21498d652079d9488ad24a5
4
+ data.tar.gz: 9657c5e7b2b382243d5807c3b54fe3b589f7a153320a807fe981e69199d3994e
5
5
  SHA512:
6
- metadata.gz: f1bfaaca1d3884b24121dad8d9dbea18ddefc821df648964b9d6b542ee6af0975da86a62208baa3b4a1623cb6f3d9676b5cfca03b2dea8d0aaf799f1cef2d823
7
- data.tar.gz: 6af7a7f1fb0fd75000d0fc29a5adf16f5e778bbdf3ea0326ac05d7eb94b754a7fb6148d982df39bf89cdd496432a4bb3c93b79809bcab7e6d8f7adc24e4b19f5
6
+ metadata.gz: c4323df10b59dbc0f8da861b90590fab2173b33950ee94a99bcbe86cdeba343496f862ce8153465359baa33e8263a66e8a2060b206b88081c335e903b96c5bb4
7
+ data.tar.gz: af1250858db59212102275a646916b43c3fbeb88b7b315b4d96a9eba90e4bd6b3c63f104bb5db4706be58e09088d3aab8b85ce9248f262ea1ccf034251c42584
data/README.md CHANGED
@@ -33,8 +33,9 @@ Or install it yourself as:
33
33
  ## Routes (Required)
34
34
  mount ActionCable.server, at: '/cable'
35
35
 
36
- ## Required gems
36
+ ## Recommend gems
37
37
  gem 'sidekiq'
38
+ # "Sidekiq" need if you will use progress bar in "sidekiq"
38
39
  gem 'bootstrap', '~> 4.3.1'
39
40
  # "Boostrap" need if you will use progress bar from "bootstrap"
40
41
 
@@ -55,7 +56,7 @@ Or install it yourself as:
55
56
  # Create/Update Record in DB
56
57
 
57
58
  ## Example Html Code
58
- <progress id="sk_progress_bar" value="22" max="2"></progress>
59
+ <progress id="sk_progress_bar" value="2" max="100"></progress>
59
60
 
60
61
  ## Example Html Code with Bootstrap
61
62
  <div class="progress">
@@ -129,6 +130,7 @@ A possible solution for your problem will be to change the settings in 'config/c
129
130
  production: *redis
130
131
  development: *redis
131
132
  test: *redis
133
+ and add gem 'redis' to Gemfile
132
134
 
133
135
  ## Development
134
136
 
@@ -18,8 +18,8 @@ App.sk_progress_bar = App.cable.subscriptions.create "SkProgressBarChannel",
18
18
  # $(".progress-bar").text(progress_status + '%')
19
19
  # Called when there's incoming data on the websocket for this channel
20
20
 
21
- document.getElementById("sk_progress_bar").max = progress_status
21
+ document.getElementById("sk_progress_bar").value = progress_status
22
22
  # Update progress bar without jquery and bootstrap
23
23
 
24
- document.getElementById("sk_progress_bar").style.width = progress_status + '%'
24
+ # document.getElementById("sk_progress_bar").style.width = progress_status + '%'
25
25
  # Update bootstrap progress bar without jquery
@@ -1,3 +1,3 @@
1
1
  module SkProgressBar
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sk_progress_bar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - andriy.kondzolko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-31 00:00:00.000000000 Z
11
+ date: 2019-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler