bspin 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 598f20dfae16038e146647b098e316691aff5b9b
4
+ data.tar.gz: c1111fd7a34eec6c97bf5c65228105cfe3328168
5
+ SHA512:
6
+ metadata.gz: 5b4fd5b8466eebb06c981d98a9d324d31d091dcb262327bdfb1f4a888a53e49fef5ae42e44c04f762ddf4781ed78f691a28354b6f4036bd2d643d018ed9b0c53
7
+ data.tar.gz: e45fe1d2572fba1a3e5627da2e646a8b3d8024858379e82437b99d5b22d42a5829185e2a7f0986b9e46ba5184a779d044982b7af828dab636694ce6557e5f720
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
@@ -0,0 +1,50 @@
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
+
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.1.0" project-jdk-type="RUBY_SDK" />
4
+ </project>
5
+
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/bspin.iml" filepath="$PROJECT_DIR$/.idea/bspin.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
@@ -0,0 +1,5 @@
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
7
+
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in bspin.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Wayne Harlech-Jones
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,29 @@
1
+ # Bspin
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'bspin'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install bspin
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it ( http://github.com/<my-github-username>/bspin/fork )
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,204 @@
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}}
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'bspin/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.add_development_dependency "rspec"
8
+ spec.name = "bspin"
9
+ spec.version = Bspin::VERSION
10
+ spec.authors = ["Wayne Harlech-Jones"]
11
+ spec.email = ["wayne@barebonesphoto.com"]
12
+ spec.summary = %q{Lorem ipsum generator}
13
+ spec.description = %q{Simply generates lorem ipsum text.}
14
+ spec.homepage = ""
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0")
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.5"
23
+ spec.add_development_dependency "rake"
24
+ end
@@ -0,0 +1,47 @@
1
+ require "bspin/version"
2
+
3
+ module Bspin
4
+ def self.hblock
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
+
47
+ end
@@ -0,0 +1,3 @@
1
+ module Bspin
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bspin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Wayne Harlech-Jones
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-03-13 00:00:00.000000000 Z
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
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.5'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.5'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: Simply generates lorem ipsum text.
56
+ email:
57
+ - wayne@barebonesphoto.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".idea/bspin.iml"
64
+ - ".idea/encodings.xml"
65
+ - ".idea/misc.xml"
66
+ - ".idea/modules.xml"
67
+ - ".idea/scopes/scope_settings.xml"
68
+ - ".idea/vcs.xml"
69
+ - Gemfile
70
+ - LICENSE.txt
71
+ - README.md
72
+ - Rakefile
73
+ - app/assets/stylesheets/bspin/index.css
74
+ - bspin.gemspec
75
+ - lib/bspin.rb
76
+ - lib/bspin/version.rb
77
+ homepage: ''
78
+ licenses:
79
+ - MIT
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubyforge_project:
97
+ rubygems_version: 2.2.1
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: Lorem ipsum generator
101
+ test_files: []