loading_screen 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: ececd7d3a9a23e0921be7093865b6da48a292adf
4
- data.tar.gz: 39f684f7a19d532bb9a957752484d15034f72612
3
+ metadata.gz: 0b1577af349d669bc485cb62e2a111ff9f1c2a00
4
+ data.tar.gz: 11bf56925a36d896cf08d20bbffb89807ed7c5cc
5
5
  SHA512:
6
- metadata.gz: a225d3a6ee36f3b844c1fd60fd30479b4b5b0dc96ed045b8d15e1e05bdc68d41f13bf203c864e86293b45833a9615977a65ea37287c02075b214f43ceb96f6d5
7
- data.tar.gz: 8a97cbafd8192da280ed2e4ed3bb5308e1a2ed5c3b794dd5e667606bf13c54642f7ff74116a36503a8734a55c76bcb556caa74c675898535368fbda46903032d
6
+ metadata.gz: a356322318ee1ffe02816c3a3e13e130f8034bd8324669433f8f851884f3defc6661fbee4434904ec8d837b49ad95eaed118394a00e4d0926c6d72f028ad2d92
7
+ data.tar.gz: c5484c038a65bdbb5d35aab4d7f416b14013cb56092690b02126e23e734766baaa2fd21612f745a42f10f3a3b1f5a5e1f4a9471115987d162cf927b773ca63aa
data/CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
1
  ## Releases
2
- ## 1.0.0
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
@@ -3,3 +3,4 @@ source "https://rubygems.org"
3
3
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  gemspec
6
+ gem 'jquery-rails'
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # LoadingScreen
2
+ [![Gem Version](https://badge.fury.io/rb/loading_screen.svg)](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
- Add this line in application.js
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
- Add this line in application.css
34
+ After that add this line in application.css
31
35
  ```
32
36
  *= require loading_screen
33
37
  ```
34
38
 
35
- All now to use it in any view just add in any .erb file inside view
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
  ```
@@ -1,3 +1,4 @@
1
+ require 'jquery-rails'
1
2
  module LoadingScreen
2
3
  class Engine < ::Rails::Engine; end
3
4
  end
@@ -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.1'
9
- spec.authors = ["Mujadded Al Rabbani Alif", "Yeasin Ar Rahman", "Swakhar Dey"]
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 a loaded in the browser"
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mujadded Al Rabbani Alif
8
- - Yeasin Ar Rahman
8
+ - Yearsin Ar Rahman
9
9
  - Swakhar Dey
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-01-24 00:00:00.000000000 Z
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
- description: It loads up a animation until the full page a loaded in the browser
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: []