bspin 0.0.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +9 -17
- data/.idea/.rakeTasks +7 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/LICENSE.txt +17 -18
- data/README.md +21 -8
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/bspin.gemspec +17 -9
- data/lib/bspin.rb +1 -43
- data/lib/bspin/version.rb +1 -1
- data/vendor/assets/stylesheets/bspin.css +73 -0
- metadata +19 -34
- data/.idea/bspin.iml +0 -50
- data/.idea/encodings.xml +0 -5
- data/.idea/misc.xml +0 -5
- data/.idea/modules.xml +0 -9
- data/.idea/scopes/scope_settings.xml +0 -5
- data/.idea/vcs.xml +0 -7
- data/app/assets/stylesheets/bspin.css +0 -204
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 880d4824fb859d210ceff9318d86699e4cd6e800
|
4
|
+
data.tar.gz: e3bdcb7cda04eaa44dc4be6a136c311990b27095
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e9f8e29a08205fd308bfe69d1288256cb5427de0187f91c43520f8b25abe41b7124feff5b5a4fe64f98d5e4a94aa7c6aa83d3d3bce682aa4382dabedd3043ba
|
7
|
+
data.tar.gz: e5d06f474173645848ae77653815d25256cd86d99b5f166ca4bc12d3288261484fc385323f3ebcf5ed26893fdf9f1df008b28180a7341ea9001574f756b5737e
|
data/.gitignore
CHANGED
@@ -1,17 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/Gemfile.lock
|
4
|
+
/_yardoc/
|
5
|
+
/coverage/
|
6
|
+
/doc/
|
7
|
+
/pkg/
|
8
|
+
/spec/reports/
|
9
|
+
/tmp/
|
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build spinner-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Build and install spinner-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install spinner-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push spinner-0.1.0.gem to Rubygems" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/LICENSE.txt
CHANGED
@@ -1,22 +1,21 @@
|
|
1
|
-
|
1
|
+
The MIT License (MIT)
|
2
2
|
|
3
|
-
|
3
|
+
Copyright (c) 2015 Wayne Harlech-Jones
|
4
4
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
the following conditions:
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
12
11
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
15
14
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
OF
|
22
|
-
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
# Bspin
|
2
2
|
|
3
|
-
|
3
|
+
This will allow a call to a bspin - a css spinner styled to sit in the middle of the page over text!
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
-
|
9
|
+
```ruby
|
10
|
+
gem 'bspin'
|
11
|
+
```
|
10
12
|
|
11
13
|
And then execute:
|
12
14
|
|
@@ -18,12 +20,23 @@ Or install it yourself as:
|
|
18
20
|
|
19
21
|
## Usage
|
20
22
|
|
21
|
-
|
23
|
+
in your applicaion.css have:
|
24
|
+
*= require bspin
|
25
|
+
|
26
|
+
An example call is <div class='bspin'></div>
|
27
|
+
|
28
|
+
## Development
|
29
|
+
|
30
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
31
|
+
|
32
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
22
33
|
|
23
34
|
## Contributing
|
24
35
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
36
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bspin. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
37
|
+
|
38
|
+
|
39
|
+
## License
|
40
|
+
|
41
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
42
|
+
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "bspin"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/bspin.gemspec
CHANGED
@@ -4,21 +4,29 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'bspin/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.add_development_dependency "rspec"
|
8
7
|
spec.name = "bspin"
|
9
8
|
spec.version = Bspin::VERSION
|
10
9
|
spec.authors = ["Wayne Harlech-Jones"]
|
11
10
|
spec.email = ["wayne@barebonesphoto.com"]
|
12
|
-
|
13
|
-
spec.
|
14
|
-
spec.
|
11
|
+
|
12
|
+
spec.summary = %q{A CSS based spinner.}
|
13
|
+
spec.description = %q{This will be a CSS spinner that sits in the middle of the page as an overlay.}
|
14
|
+
spec.homepage = "https://bitbucket.org"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
+
# delete this section to allow pushing this gem to any host.
|
19
|
+
# if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata['allowed_push_host'] = "https://rubygems.org'"
|
21
|
+
# else
|
22
|
+
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
# end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
28
|
spec.require_paths = ["lib"]
|
21
29
|
|
22
|
-
spec.add_development_dependency "bundler", "~> 1.
|
23
|
-
spec.add_development_dependency "rake"
|
30
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
31
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
24
32
|
end
|
data/lib/bspin.rb
CHANGED
@@ -1,47 +1,5 @@
|
|
1
1
|
require "bspin/version"
|
2
2
|
|
3
3
|
module Bspin
|
4
|
-
|
5
|
-
html = <<-HTML
|
6
|
-
<div class='modal' id='spinner' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
|
7
|
-
<div class='modal-dialog' style='margin-top:30%;margin-left:45%'>
|
8
|
-
<div class='modal-content' style='margin-top:-50%; width:110px; background-color: transparent;'>
|
9
|
-
|
10
|
-
<div class='modal-body' style='height: 120px; background-color: transparent; '>
|
11
|
-
<div id='floatingBarsG'>
|
12
|
-
<div class='blockG' id='rotateG_01'></div>
|
13
|
-
<div class='blockG' id='rotateG_02'></div>
|
14
|
-
<div class='blockG' id='rotateG_03'></div>
|
15
|
-
<div class='blockG' id='rotateG_04'></div>
|
16
|
-
<div class='blockG' id='rotateG_05'></div>
|
17
|
-
<div class='blockG' id='rotateG_06'></div>
|
18
|
-
<div class='blockG' id='rotateG_07'></div>
|
19
|
-
<div class='blockG' id='rotateG_08'></div>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
HTML
|
27
|
-
|
28
|
-
html
|
29
|
-
end
|
30
|
-
|
31
|
-
def self.jblock
|
32
|
-
html = <<-HTML
|
33
|
-
<script type="text/javascript">
|
34
|
-
function please_wait() {
|
35
|
-
$('#spinner').modal({
|
36
|
-
backdrop: false,
|
37
|
-
keyboard: false
|
38
|
-
});
|
39
|
-
}
|
40
|
-
;
|
41
|
-
</script>
|
42
|
-
HTML
|
43
|
-
|
44
|
-
html
|
45
|
-
end
|
46
|
-
|
4
|
+
class Engine < ::Rails::Engine; end
|
47
5
|
end
|
data/lib/bspin/version.rb
CHANGED
@@ -0,0 +1,73 @@
|
|
1
|
+
.bspin {
|
2
|
+
font-size: 90px;
|
3
|
+
text-indent: -9999em;
|
4
|
+
overflow: hidden;
|
5
|
+
width: 1em;
|
6
|
+
height: 1em;
|
7
|
+
border-radius: 50%;
|
8
|
+
margin: 72px auto;
|
9
|
+
position:fixed;
|
10
|
+
z-index:99;
|
11
|
+
top:0;
|
12
|
+
left:0;
|
13
|
+
right:0;
|
14
|
+
bottom:0;
|
15
|
+
margin:auto;
|
16
|
+
-webkit-transform: translateZ(0);
|
17
|
+
-ms-transform: translateZ(0);
|
18
|
+
transform: translateZ(0);
|
19
|
+
-webkit-animation: load6 1.7s infinite ease;
|
20
|
+
animation: load6 1.7s infinite ease;
|
21
|
+
}
|
22
|
+
@-webkit-keyframes load6 {
|
23
|
+
0% {
|
24
|
+
-webkit-transform: rotate(0deg);
|
25
|
+
transform: rotate(0deg);
|
26
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, 0 -0.83em 0 -0.42em #000000, 0 -0.83em 0 -0.44em #000000, 0 -0.83em 0 -0.46em #000000, 0 -0.83em 0 -0.477em #000000;
|
27
|
+
}
|
28
|
+
5%,
|
29
|
+
95% {
|
30
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, 0 -0.83em 0 -0.42em #000000, 0 -0.83em 0 -0.44em #000000, 0 -0.83em 0 -0.46em #000000, 0 -0.83em 0 -0.477em #000000;
|
31
|
+
}
|
32
|
+
10%,
|
33
|
+
59% {
|
34
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, -0.087em -0.825em 0 -0.42em #000000, -0.173em -0.812em 0 -0.44em #000000, -0.256em -0.789em 0 -0.46em #000000, -0.297em -0.775em 0 -0.477em #000000;
|
35
|
+
}
|
36
|
+
20% {
|
37
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, -0.338em -0.758em 0 -0.42em #000000, -0.555em -0.617em 0 -0.44em #000000, -0.671em -0.488em 0 -0.46em #000000, -0.749em -0.34em 0 -0.477em #000000;
|
38
|
+
}
|
39
|
+
38% {
|
40
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, -0.377em -0.74em 0 -0.42em #000000, -0.645em -0.522em 0 -0.44em #000000, -0.775em -0.297em 0 -0.46em #000000, -0.82em -0.09em 0 -0.477em #000000;
|
41
|
+
}
|
42
|
+
100% {
|
43
|
+
-webkit-transform: rotate(360deg);
|
44
|
+
transform: rotate(360deg);
|
45
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, 0 -0.83em 0 -0.42em #000000, 0 -0.83em 0 -0.44em #000000, 0 -0.83em 0 -0.46em #000000, 0 -0.83em 0 -0.477em #000000;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
@keyframes load6 {
|
49
|
+
0% {
|
50
|
+
-webkit-transform: rotate(0deg);
|
51
|
+
transform: rotate(0deg);
|
52
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, 0 -0.83em 0 -0.42em #000000, 0 -0.83em 0 -0.44em #000000, 0 -0.83em 0 -0.46em #000000, 0 -0.83em 0 -0.477em #000000;
|
53
|
+
}
|
54
|
+
5%,
|
55
|
+
95% {
|
56
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, 0 -0.83em 0 -0.42em #000000, 0 -0.83em 0 -0.44em #000000, 0 -0.83em 0 -0.46em #000000, 0 -0.83em 0 -0.477em #000000;
|
57
|
+
}
|
58
|
+
10%,
|
59
|
+
59% {
|
60
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, -0.087em -0.825em 0 -0.42em #000000, -0.173em -0.812em 0 -0.44em #000000, -0.256em -0.789em 0 -0.46em #000000, -0.297em -0.775em 0 -0.477em #000000;
|
61
|
+
}
|
62
|
+
20% {
|
63
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, -0.338em -0.758em 0 -0.42em #000000, -0.555em -0.617em 0 -0.44em #000000, -0.671em -0.488em 0 -0.46em #000000, -0.749em -0.34em 0 -0.477em #000000;
|
64
|
+
}
|
65
|
+
38% {
|
66
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, -0.377em -0.74em 0 -0.42em #000000, -0.645em -0.522em 0 -0.44em #000000, -0.775em -0.297em 0 -0.46em #000000, -0.82em -0.09em 0 -0.477em #000000;
|
67
|
+
}
|
68
|
+
100% {
|
69
|
+
-webkit-transform: rotate(360deg);
|
70
|
+
transform: rotate(360deg);
|
71
|
+
box-shadow: 0 -0.83em 0 -0.4em #000000, 0 -0.83em 0 -0.42em #000000, 0 -0.83em 0 -0.44em #000000, 0 -0.83em 0 -0.46em #000000, 0 -0.83em 0 -0.477em #000000;
|
72
|
+
}
|
73
|
+
}
|
metadata
CHANGED
@@ -1,58 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bspin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wayne Harlech-Jones
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rspec
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: bundler
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
19
|
+
version: '1.10'
|
34
20
|
type: :development
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
26
|
+
version: '1.10'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rake
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
|
-
- - "
|
31
|
+
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
33
|
+
version: '10.0'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- - "
|
38
|
+
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
description:
|
40
|
+
version: '10.0'
|
41
|
+
description: This will be a CSS spinner that sits in the middle of the page as an
|
42
|
+
overlay.
|
56
43
|
email:
|
57
44
|
- wayne@barebonesphoto.com
|
58
45
|
executables: []
|
@@ -60,21 +47,19 @@ extensions: []
|
|
60
47
|
extra_rdoc_files: []
|
61
48
|
files:
|
62
49
|
- ".gitignore"
|
63
|
-
- ".idea
|
64
|
-
-
|
65
|
-
- ".idea/misc.xml"
|
66
|
-
- ".idea/modules.xml"
|
67
|
-
- ".idea/scopes/scope_settings.xml"
|
68
|
-
- ".idea/vcs.xml"
|
50
|
+
- ".idea/.rakeTasks"
|
51
|
+
- CODE_OF_CONDUCT.md
|
69
52
|
- Gemfile
|
70
53
|
- LICENSE.txt
|
71
54
|
- README.md
|
72
55
|
- Rakefile
|
73
|
-
-
|
56
|
+
- bin/console
|
57
|
+
- bin/setup
|
74
58
|
- bspin.gemspec
|
75
59
|
- lib/bspin.rb
|
76
60
|
- lib/bspin/version.rb
|
77
|
-
|
61
|
+
- vendor/assets/stylesheets/bspin.css
|
62
|
+
homepage: https://bitbucket.org
|
78
63
|
licenses:
|
79
64
|
- MIT
|
80
65
|
metadata: {}
|
@@ -94,8 +79,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
79
|
version: '0'
|
95
80
|
requirements: []
|
96
81
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.
|
82
|
+
rubygems_version: 2.4.8
|
98
83
|
signing_key:
|
99
84
|
specification_version: 4
|
100
|
-
summary:
|
85
|
+
summary: A CSS based spinner.
|
101
86
|
test_files: []
|
data/.idea/bspin.iml
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<module type="RUBY_MODULE" version="4">
|
3
|
-
<component name="FacetManager">
|
4
|
-
<facet type="gem" name="Gem">
|
5
|
-
<configuration>
|
6
|
-
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
7
|
-
<option name="GEM_APP_TEST_PATH" value="" />
|
8
|
-
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
9
|
-
</configuration>
|
10
|
-
</facet>
|
11
|
-
</component>
|
12
|
-
<component name="ModuleRunConfigurationManager">
|
13
|
-
<configuration default="false" name="IRB console: bspin" type="IrbRunConfigurationType" factoryName="IRB console" temporary="true">
|
14
|
-
<module name="bspin" />
|
15
|
-
<IRB_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
16
|
-
<IRB_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$" />
|
17
|
-
<IRB_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
18
|
-
<IRB_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
19
|
-
<IRB_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
20
|
-
<envs />
|
21
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
22
|
-
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
23
|
-
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
24
|
-
<COVERAGE_PATTERN ENABLED="true">
|
25
|
-
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
26
|
-
</COVERAGE_PATTERN>
|
27
|
-
</EXTENSION>
|
28
|
-
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
29
|
-
<IRB_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$USER_HOME$/.rvm/rubies/ruby-2.1.0/bin/irb" />
|
30
|
-
<IRB_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="--prompt simple" />
|
31
|
-
<IRB_RUN_CONFIG NAME="IS_RAILS_CONSOLE" VALUE="false" />
|
32
|
-
<RunnerSettings RunnerId="RubyRunner" />
|
33
|
-
<ConfigurationWrapper RunnerId="RubyRunner" />
|
34
|
-
<method />
|
35
|
-
</configuration>
|
36
|
-
</component>
|
37
|
-
<component name="NewModuleRootManager">
|
38
|
-
<content url="file://$MODULE_DIR$" />
|
39
|
-
<orderEntry type="inheritedJdk" />
|
40
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
41
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.5.2, RVM: ruby-2.1.0) [gem]" level="application" />
|
42
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.1.0) [gem]" level="application" />
|
43
|
-
<orderEntry type="library" scope="PROVIDED" name="rake (v10.1.1, RVM: ruby-2.1.0) [gem]" level="application" />
|
44
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (v2.14.1, RVM: ruby-2.1.0) [gem]" level="application" />
|
45
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.14.8, RVM: ruby-2.1.0) [gem]" level="application" />
|
46
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.14.5, RVM: ruby-2.1.0) [gem]" level="application" />
|
47
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.14.6, RVM: ruby-2.1.0) [gem]" level="application" />
|
48
|
-
</component>
|
49
|
-
</module>
|
50
|
-
|
data/.idea/encodings.xml
DELETED
data/.idea/misc.xml
DELETED
data/.idea/modules.xml
DELETED
data/.idea/vcs.xml
DELETED
@@ -1,204 +0,0 @@
|
|
1
|
-
#floatingBarsG{
|
2
|
-
position:relative;
|
3
|
-
width:62px;
|
4
|
-
height:77px}
|
5
|
-
|
6
|
-
.blockG{
|
7
|
-
position:absolute;
|
8
|
-
background-color:#FFFFFF;
|
9
|
-
width:10px;
|
10
|
-
height:24px;
|
11
|
-
-moz-border-radius:8px 8px 0 0;
|
12
|
-
-moz-transform:scale(0.4);
|
13
|
-
-moz-animation-name:fadeG;
|
14
|
-
-moz-animation-duration:0.48s;
|
15
|
-
-moz-animation-iteration-count:infinite;
|
16
|
-
-moz-animation-direction:linear;
|
17
|
-
-webkit-border-radius:8px 8px 0 0;
|
18
|
-
-webkit-transform:scale(0.4);
|
19
|
-
-webkit-animation-name:fadeG;
|
20
|
-
-webkit-animation-duration:0.48s;
|
21
|
-
-webkit-animation-iteration-count:infinite;
|
22
|
-
-webkit-animation-direction:linear;
|
23
|
-
-ms-border-radius:8px 8px 0 0;
|
24
|
-
-ms-transform:scale(0.4);
|
25
|
-
-ms-animation-name:fadeG;
|
26
|
-
-ms-animation-duration:0.48s;
|
27
|
-
-ms-animation-iteration-count:infinite;
|
28
|
-
-ms-animation-direction:linear;
|
29
|
-
-o-border-radius:8px 8px 0 0;
|
30
|
-
-o-transform:scale(0.4);
|
31
|
-
-o-animation-name:fadeG;
|
32
|
-
-o-animation-duration:0.48s;
|
33
|
-
-o-animation-iteration-count:infinite;
|
34
|
-
-o-animation-direction:linear;
|
35
|
-
border-radius:8px 8px 0 0;
|
36
|
-
transform:scale(0.4);
|
37
|
-
animation-name:fadeG;
|
38
|
-
animation-duration:0.48s;
|
39
|
-
animation-iteration-count:infinite;
|
40
|
-
animation-direction:linear;
|
41
|
-
}
|
42
|
-
|
43
|
-
#rotateG_01{
|
44
|
-
left:0;
|
45
|
-
top:28px;
|
46
|
-
-moz-animation-delay:0.18s;
|
47
|
-
-moz-transform:rotate(-90deg);
|
48
|
-
-webkit-animation-delay:0.18s;
|
49
|
-
-webkit-transform:rotate(-90deg);
|
50
|
-
-ms-animation-delay:0.18s;
|
51
|
-
-ms-transform:rotate(-90deg);
|
52
|
-
-o-animation-delay:0.18s;
|
53
|
-
-o-transform:rotate(-90deg);
|
54
|
-
animation-delay:0.18s;
|
55
|
-
transform:rotate(-90deg);
|
56
|
-
}
|
57
|
-
|
58
|
-
#rotateG_02{
|
59
|
-
left:8px;
|
60
|
-
top:10px;
|
61
|
-
-moz-animation-delay:0.24s;
|
62
|
-
-moz-transform:rotate(-45deg);
|
63
|
-
-webkit-animation-delay:0.24s;
|
64
|
-
-webkit-transform:rotate(-45deg);
|
65
|
-
-ms-animation-delay:0.24s;
|
66
|
-
-ms-transform:rotate(-45deg);
|
67
|
-
-o-animation-delay:0.24s;
|
68
|
-
-o-transform:rotate(-45deg);
|
69
|
-
animation-delay:0.24s;
|
70
|
-
transform:rotate(-45deg);
|
71
|
-
}
|
72
|
-
|
73
|
-
#rotateG_03{
|
74
|
-
left:26px;
|
75
|
-
top:3px;
|
76
|
-
-moz-animation-delay:0.3s;
|
77
|
-
-moz-transform:rotate(0deg);
|
78
|
-
-webkit-animation-delay:0.3s;
|
79
|
-
-webkit-transform:rotate(0deg);
|
80
|
-
-ms-animation-delay:0.3s;
|
81
|
-
-ms-transform:rotate(0deg);
|
82
|
-
-o-animation-delay:0.3s;
|
83
|
-
-o-transform:rotate(0deg);
|
84
|
-
animation-delay:0.3s;
|
85
|
-
transform:rotate(0deg);
|
86
|
-
}
|
87
|
-
|
88
|
-
#rotateG_04{
|
89
|
-
right:8px;
|
90
|
-
top:10px;
|
91
|
-
-moz-animation-delay:0.36s;
|
92
|
-
-moz-transform:rotate(45deg);
|
93
|
-
-webkit-animation-delay:0.36s;
|
94
|
-
-webkit-transform:rotate(45deg);
|
95
|
-
-ms-animation-delay:0.36s;
|
96
|
-
-ms-transform:rotate(45deg);
|
97
|
-
-o-animation-delay:0.36s;
|
98
|
-
-o-transform:rotate(45deg);
|
99
|
-
animation-delay:0.36s;
|
100
|
-
transform:rotate(45deg);
|
101
|
-
}
|
102
|
-
|
103
|
-
#rotateG_05{
|
104
|
-
right:0;
|
105
|
-
top:28px;
|
106
|
-
-moz-animation-delay:0.42000000000000004s;
|
107
|
-
-moz-transform:rotate(90deg);
|
108
|
-
-webkit-animation-delay:0.42000000000000004s;
|
109
|
-
-webkit-transform:rotate(90deg);
|
110
|
-
-ms-animation-delay:0.42000000000000004s;
|
111
|
-
-ms-transform:rotate(90deg);
|
112
|
-
-o-animation-delay:0.42000000000000004s;
|
113
|
-
-o-transform:rotate(90deg);
|
114
|
-
animation-delay:0.42000000000000004s;
|
115
|
-
transform:rotate(90deg);
|
116
|
-
}
|
117
|
-
|
118
|
-
#rotateG_06{
|
119
|
-
right:8px;
|
120
|
-
bottom:7px;
|
121
|
-
-moz-animation-delay:0.48s;
|
122
|
-
-moz-transform:rotate(135deg);
|
123
|
-
-webkit-animation-delay:0.48s;
|
124
|
-
-webkit-transform:rotate(135deg);
|
125
|
-
-ms-animation-delay:0.48s;
|
126
|
-
-ms-transform:rotate(135deg);
|
127
|
-
-o-animation-delay:0.48s;
|
128
|
-
-o-transform:rotate(135deg);
|
129
|
-
animation-delay:0.48s;
|
130
|
-
transform:rotate(135deg);
|
131
|
-
}
|
132
|
-
|
133
|
-
#rotateG_07{
|
134
|
-
bottom:0;
|
135
|
-
left:26px;
|
136
|
-
-moz-animation-delay:0.5399999999999999s;
|
137
|
-
-moz-transform:rotate(180deg);
|
138
|
-
-webkit-animation-delay:0.5399999999999999s;
|
139
|
-
-webkit-transform:rotate(180deg);
|
140
|
-
-ms-animation-delay:0.5399999999999999s;
|
141
|
-
-ms-transform:rotate(180deg);
|
142
|
-
-o-animation-delay:0.5399999999999999s;
|
143
|
-
-o-transform:rotate(180deg);
|
144
|
-
animation-delay:0.5399999999999999s;
|
145
|
-
transform:rotate(180deg);
|
146
|
-
}
|
147
|
-
|
148
|
-
#rotateG_08{
|
149
|
-
left:8px;
|
150
|
-
bottom:7px;
|
151
|
-
-moz-animation-delay:0.6s;
|
152
|
-
-moz-transform:rotate(-135deg);
|
153
|
-
-webkit-animation-delay:0.6s;
|
154
|
-
-webkit-transform:rotate(-135deg);
|
155
|
-
-ms-animation-delay:0.6s;
|
156
|
-
-ms-transform:rotate(-135deg);
|
157
|
-
-o-animation-delay:0.6s;
|
158
|
-
-o-transform:rotate(-135deg);
|
159
|
-
animation-delay:0.6s;
|
160
|
-
transform:rotate(-135deg);
|
161
|
-
}
|
162
|
-
|
163
|
-
@-moz-keyframes fadeG{
|
164
|
-
0%{
|
165
|
-
background-color:#000000}
|
166
|
-
|
167
|
-
100%{
|
168
|
-
background-color:#FFFFFF}
|
169
|
-
|
170
|
-
}
|
171
|
-
|
172
|
-
@-webkit-keyframes fadeG{
|
173
|
-
0%{
|
174
|
-
background-color:#000000}
|
175
|
-
|
176
|
-
100%{
|
177
|
-
background-color:#FFFFFF}
|
178
|
-
|
179
|
-
}
|
180
|
-
|
181
|
-
@-ms-keyframes fadeG{
|
182
|
-
0%{
|
183
|
-
background-color:#000000}
|
184
|
-
|
185
|
-
100%{
|
186
|
-
background-color:#FFFFFF}
|
187
|
-
|
188
|
-
}
|
189
|
-
|
190
|
-
@-o-keyframes fadeG{
|
191
|
-
0%{
|
192
|
-
background-color:#000000}
|
193
|
-
|
194
|
-
100%{
|
195
|
-
background-color:#FFFFFF}
|
196
|
-
|
197
|
-
}
|
198
|
-
|
199
|
-
@keyframes fadeG{
|
200
|
-
0%{
|
201
|
-
background-color:#000000}
|
202
|
-
|
203
|
-
100%{
|
204
|
-
background-color:#FFFFFF}}
|