rails_dialog 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e1a24960740c91f82e93dca9008fc3be9da857fc
4
+ data.tar.gz: 9bab592ee9b0c34422dfaa305dc8f0d7fc808dd8
5
+ SHA512:
6
+ metadata.gz: 5438ac42b9f301134301a97a8ff23bcb3f88f833efd8edf9c078f8262ba1b952ddf02fc5965e895211481fb7891856bf496f1e553572e5006189c41b2d2ce1d6
7
+ data.tar.gz: f01651e471e499ab4d6aa03919299c3721361af37e4c2a5af1616a05cd4e87654efc776d23eae4427609967dbed2370367cf8b8e44bae61d46496e5804b28f50
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Genki Sato
4
+
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:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
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 THE
21
+ SOFTWARE.
22
+
data/README.md ADDED
@@ -0,0 +1,2 @@
1
+ rails_dialog
2
+ ============
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,3 @@
1
+ module RailsDialog
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,6 @@
1
+ require "rails_dialog/version"
2
+
3
+ module RailsDialog
4
+ class Engine < ::Rails::Engine
5
+ end
6
+ end
@@ -0,0 +1,30 @@
1
+ @mixin dialog($width, $height) {
2
+ background: rgba(black, .6);
3
+ display: none;
4
+ height: 100%;
5
+ left: 0;
6
+ position: fixed;
7
+ top: 0;
8
+ width: 100%;
9
+ z-index: 100;
10
+
11
+ >div {
12
+ @include box-sizing(border-box);
13
+ bottom: 0;
14
+ height: $height;
15
+ left: 0;
16
+ margin: auto;
17
+ right: 0;
18
+ position: fixed;
19
+ top: 0;
20
+ width: $width;
21
+
22
+ /* option(just decoration) */
23
+ @include border-radius(6px);
24
+ background-color: #f0f0f0;
25
+ border: solid 3px #505050;
26
+ color: #333;
27
+ padding: 20px 10px;
28
+ text-align: center;
29
+ }
30
+ }
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_dialog
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Genki Sato
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
27
+ description: sass mixin to implement a dialog easily
28
+ email:
29
+ - satogenki1115@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE
35
+ - README.md
36
+ - Rakefile
37
+ - lib/rails_dialog.rb
38
+ - lib/rails_dialog/version.rb
39
+ - vendor/assets/stylesheets/_rails_dialog.scss
40
+ homepage: https://github.com/tenbrother/rails_dialog
41
+ licenses:
42
+ - MIT
43
+ metadata: {}
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubyforge_project:
60
+ rubygems_version: 2.2.2
61
+ signing_key:
62
+ specification_version: 4
63
+ summary: sass mixin to implement a dialog easily
64
+ test_files: []