loading_screen 0.1.1 → 0.1.2
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/CHANGELOG.md +5 -4
- data/Gemfile +1 -0
- data/README.md +8 -4
- data/lib/loading_screen/engine.rb +1 -0
- data/loading_screen.gemspec +4 -4
- metadata +26 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b1577af349d669bc485cb62e2a111ff9f1c2a00
|
4
|
+
data.tar.gz: 11bf56925a36d896cf08d20bbffb89807ed7c5cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a356322318ee1ffe02816c3a3e13e130f8034bd8324669433f8f851884f3defc6661fbee4434904ec8d837b49ad95eaed118394a00e4d0926c6d72f028ad2d92
|
7
|
+
data.tar.gz: c5484c038a65bdbb5d35aab4d7f416b14013cb56092690b02126e23e734766baaa2fd21612f745a42f10f3a3b1f5a5e1f4a9471115987d162cf927b773ca63aa
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
## Releases
|
2
|
-
## 1.
|
2
|
+
## 0.1.2
|
3
3
|
|
4
4
|
### Basic Initializations
|
5
|
-
* Add documentation
|
6
|
-
* CSS, JS, function added
|
7
|
-
* Helper added for using `loading_screen` tags in view
|
5
|
+
* Add documentation.
|
6
|
+
* CSS, JS, function added.
|
7
|
+
* Helper added for using `loading_screen` tags in view.
|
8
|
+
* Dependency for jquery added.
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# LoadingScreen
|
2
|
+
[](https://badge.fury.io/rb/loading_screen)
|
2
3
|
|
3
4
|
This gem allow to load a simple loading screen on any page that you want.
|
4
5
|
|
@@ -21,18 +22,21 @@ And then execute:
|
|
21
22
|
$ bundle install
|
22
23
|
|
23
24
|
## Usage
|
24
|
-
|
25
|
-
|
25
|
+
Gem has dependency on jquery so if not already added, please add
|
26
|
+
```
|
27
|
+
//= require jquery
|
28
|
+
```
|
29
|
+
and then this line in application.js
|
26
30
|
```
|
27
31
|
//= require loading_screen
|
28
32
|
```
|
29
33
|
|
30
|
-
|
34
|
+
After that add this line in application.css
|
31
35
|
```
|
32
36
|
*= require loading_screen
|
33
37
|
```
|
34
38
|
|
35
|
-
|
39
|
+
We are all set, now to use it in any view file ( for e.g.: index.html.erb) just add:
|
36
40
|
```
|
37
41
|
<%= loading_screen %>
|
38
42
|
```
|
data/loading_screen.gemspec
CHANGED
@@ -1,16 +1,15 @@
|
|
1
|
-
|
2
1
|
lib = File.expand_path("../lib", __FILE__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require "loading_screen/version"
|
5
4
|
|
6
5
|
Gem::Specification.new do |spec|
|
7
6
|
spec.name = "loading_screen"
|
8
|
-
spec.version = '0.1.
|
9
|
-
spec.authors = ["Mujadded Al Rabbani Alif", "
|
7
|
+
spec.version = '0.1.2'
|
8
|
+
spec.authors = ["Mujadded Al Rabbani Alif", "Yearsin Ar Rahman", "Swakhar Dey"]
|
10
9
|
spec.email = ["Mujadded.alif@gmail.com"]
|
11
10
|
|
12
11
|
spec.summary = "Loading screen for time-consuming background task"
|
13
|
-
spec.description = "It loads up a animation until the full page
|
12
|
+
spec.description = "It loads up a animation until the full page is loaded in the browser. Not only default css animation but you can also add custom gif to show in the loading screen"
|
14
13
|
spec.homepage = "https://github.com/Mujadded/loading_screen"
|
15
14
|
spec.license = "MIT"
|
16
15
|
|
@@ -24,4 +23,5 @@ Gem::Specification.new do |spec|
|
|
24
23
|
spec.add_development_dependency "bundler", "~> 1.16"
|
25
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
25
|
spec.add_development_dependency "rspec", "~> 3.0"
|
26
|
+
spec.add_dependency "jquery-rails", "~> 4.3", ">= 4.3.1"
|
27
27
|
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loading_screen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mujadded Al Rabbani Alif
|
8
|
-
-
|
8
|
+
- Yearsin Ar Rahman
|
9
9
|
- Swakhar Dey
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-01-
|
13
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -54,7 +54,29 @@ dependencies:
|
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '3.0'
|
57
|
-
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: jquery-rails
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '4.3'
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 4.3.1
|
67
|
+
type: :runtime
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '4.3'
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 4.3.1
|
77
|
+
description: It loads up a animation until the full page is loaded in the browser.
|
78
|
+
Not only default css animation but you can also add custom gif to show in the loading
|
79
|
+
screen
|
58
80
|
email:
|
59
81
|
- Mujadded.alif@gmail.com
|
60
82
|
executables: []
|