glimmer-dsl-css 0.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/CONTRIBUTING.md +60 -0
- data/LICENSE.txt +1 -1
- data/README.md +43 -19
- data/VERSION +1 -1
- data/glimmer-dsl-css.gemspec +73 -0
- data/lib/glimmer/css/rule.rb +27 -3
- data/lib/glimmer/css/style_sheet.rb +22 -1
- data/lib/glimmer/dsl/css/css_expression.rb +22 -1
- data/lib/glimmer/dsl/css/dsl.rb +21 -0
- data/lib/glimmer/dsl/css/dynamic_property_expression.rb +21 -0
- data/lib/glimmer/dsl/css/property_expression.rb +21 -0
- data/lib/glimmer/dsl/css/pv_expression.rb +21 -0
- data/lib/glimmer/dsl/css/rule_expression.rb +21 -0
- data/lib/glimmer/dsl/css/s_expression.rb +21 -0
- data/lib/glimmer-dsl-css.rb +21 -0
- metadata +29 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60097a99b37df357274e69a853ef95daffc940b9f7f1d6ab9a6f5b52d3a49e23
|
4
|
+
data.tar.gz: e41c45cfc38cd15bc3ce81dba62fd17fe068cb14a2000b54532ba71681c0f6b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3958db7393e7e7d59dd25f47a0fb49390dc2e35d10df986e9b32f8967433c967cee341dc2af59be3a77e830941cea91b3a3edcc9cbde4d1a9a278fbb09a34351
|
7
|
+
data.tar.gz: 353afcdc618894c747992975f604552b56589cc2f834484c519e5aa53dd493f931dedbcb9d79e64e99df64c31d7569d43057e82733e32083988f4d8c32bd697d
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## 1.2.1
|
4
|
+
|
5
|
+
- Relax glimmer dependency to between 2.0.0 and 2.4.x
|
6
|
+
|
7
|
+
## 1.2.0
|
8
|
+
|
9
|
+
- Upgrade to glimmer 2.0.0
|
10
|
+
|
11
|
+
## 1.1.0
|
12
|
+
|
13
|
+
- Opal Ruby Compatibility by removing `String` mutations via `<<` method
|
14
|
+
- Make `pv` always interpret numeric values as pixels by convention.
|
15
|
+
|
16
|
+
## 1.0.0
|
17
|
+
|
18
|
+
- Upgraded to Glimmer 1.0.0
|
19
|
+
|
20
|
+
## 0.2.0
|
21
|
+
|
22
|
+
- Relaxed dependency on glimmer
|
23
|
+
|
24
|
+
## 0.1.0
|
25
|
+
|
26
|
+
- Extracted Glimmer DSL for CSS (glimmer-dsl-css gem) from Glimmer
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
# Contributing
|
2
|
+
|
3
|
+
## Pre-requisites
|
4
|
+
|
5
|
+
- MacOS
|
6
|
+
- Other pre-requisites mentioned in [README.md](https://github.com/AndyObtiva/glimmer/tree/master#pre-requisites)
|
7
|
+
|
8
|
+
## Machine Setup
|
9
|
+
|
10
|
+
Follow these steps, running mentioned commands in the terminal:
|
11
|
+
- Fork project repo
|
12
|
+
- Ensure pre-requisites installed (installing JRuby via RVM on the Mac)
|
13
|
+
- cd into project again to activate RVM glimmer gemset
|
14
|
+
- gem install bundler
|
15
|
+
- bundle
|
16
|
+
- rake # runs specs (ensure they finish successfully)
|
17
|
+
- Once done, open a pull request with master branch.
|
18
|
+
|
19
|
+
### rspec
|
20
|
+
|
21
|
+
`rake` or `rake spec` runs all specs.
|
22
|
+
|
23
|
+
To run a specific spec file, run:
|
24
|
+
```
|
25
|
+
rake SPEC=spec_file_path
|
26
|
+
```
|
27
|
+
|
28
|
+
To run a specific spec, run:
|
29
|
+
```
|
30
|
+
rake SPEC=spec_file_path:line_number
|
31
|
+
```
|
32
|
+
|
33
|
+
To display Glimmer debug information, add `GLIMMER_DEBUG=true`:
|
34
|
+
```
|
35
|
+
rake SPEC=spec_file_path:line_number GLIMMER_DEBUG=true
|
36
|
+
```
|
37
|
+
|
38
|
+
Note: make sure not to use the keyboard or mouse while tests are running since they bring up UI elements behind the scenes (invisible). This avoids fudging them and causing false test failures. If you get obscure failures related to focus of widgets, they are most likely false negatives. Just rerun the specs without touching the keyboard or mouse and they would pass if they are not really broken.
|
39
|
+
|
40
|
+
### build
|
41
|
+
|
42
|
+
`rake build` builds the Glimmer gem under the `pkg` directory.
|
43
|
+
|
44
|
+
### glimmer command
|
45
|
+
|
46
|
+
To run a glimmer sample, run local `bin/glimmer` command:
|
47
|
+
```
|
48
|
+
bin/glimmer samples/hello_world.rb
|
49
|
+
```
|
50
|
+
|
51
|
+
It will notify you that you are in development mode.
|
52
|
+
|
53
|
+
### girb command
|
54
|
+
|
55
|
+
To experiment with glimmer syntax using `girb`, run local `bin/girb`:
|
56
|
+
```
|
57
|
+
bin/girb
|
58
|
+
```
|
59
|
+
|
60
|
+
It will notify you that you are in development mode.
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for CSS
|
1
|
+
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for CSS 1.2.1
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-css.svg)](http://badge.fury.io/rb/glimmer-dsl-css)
|
3
3
|
[![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-dsl-css.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-css)
|
4
4
|
[![Coverage Status](https://coveralls.io/repos/github/AndyObtiva/glimmer-dsl-css/badge.svg?branch=master)](https://coveralls.io/github/AndyObtiva/glimmer-dsl-css?branch=master)
|
@@ -7,12 +7,23 @@
|
|
7
7
|
|
8
8
|
[Glimmer](https://github.com/AndyObtiva/glimmer) DSL for CSS provides Ruby syntax for building CSS (Cascading Style Sheets).
|
9
9
|
|
10
|
-
Within the context of [Glimmer](https://github.com/AndyObtiva/glimmer) app development, Glimmer DSL for CSS is useful in providing CSS for the [SWT Browser widget](https://github.com/AndyObtiva/glimmer/tree/master#browser-widget).
|
10
|
+
Within the context of [Glimmer](https://github.com/AndyObtiva/glimmer) app development, Glimmer DSL for CSS is useful in providing CSS for the [SWT Browser widget](https://github.com/AndyObtiva/glimmer-dsl-swt/tree/master#browser-widget).
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
Additionally, it is useful with [Glimmer DSL for Opal](https://github.com/AndyObtiva/glimmer-dsl-opal)
|
13
|
+
|
14
|
+
**[Glimmer](https://rubygems.org/gems/glimmer) DSL Comparison Table:**
|
15
|
+
DSL | Platforms | Native? | Vector Graphics? | Pros | Cons | Prereqs
|
16
|
+
----|-----------|---------|------------------|------|------|--------
|
17
|
+
[Glimmer DSL for SWT (JRuby Desktop Development GUI Framework)](https://github.com/AndyObtiva/glimmer-dsl-swt) | Mac / Windows / Linux | Yes | Yes (Canvas Shape DSL) | Very Mature / Scaffolding / Native Executable Packaging / Custom Widgets | Slow JRuby Startup Time / Heavy Memory Footprint | Java / JRuby
|
18
|
+
[Glimmer DSL for Opal (Pure Ruby Web GUI and Auto-Webifier of Desktop Apps)](https://github.com/AndyObtiva/glimmer-dsl-opal) | All Web Browsers | No | Yes (Canvas Shape DSL) | Simpler than All JavaScript Technologies / Auto-Webify Desktop Apps | Setup Process / Only Rails 5 Support for Now | Rails
|
19
|
+
[Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-libui) | Mac / Windows / Linux | Yes | Yes (Area API) | Fast Startup Time / Light Memory Footprint | LibUI is an Incomplete Mid-Alpha Only | None Other Than MRI Ruby
|
20
|
+
[Glimmer DSL for Tk (MRI Ruby Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-tk) | Mac / Windows / Linux | Some Native-Themed Widgets (Not Truly Native) | Yes (Canvas) | Fast Startup Time / Light Memory Footprint | Widgets Do Not Look Truly Native, Espcially on Linux | ActiveTcl / MRI Ruby
|
21
|
+
[Glimmer DSL for GTK (Ruby-GNOME Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-gtk) | Mac / Windows / Linux | Only on Linux | Yes (Cairo) | Complete Access to GNOME Features on Linux (Forte) | Not Native on Mac and Windows | None Other Than MRI Ruby on Linux / Brew Packages on Mac / MSYS & MING Toolchains on Windows / MRI Ruby
|
22
|
+
[Glimmer DSL for FX (FOX Toolkit Ruby Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-fx) | Mac (requires XQuartz) / Windows / Linux | No | Yes (Canvas) | No Prerequisites on Windows (Forte Since Binaries Are Included Out of The Box) | Widgets Do Not Look Native / Mac Usage Obtrusively Starts XQuartz | None Other Than MRI Ruby on Windows / XQuarts on Mac / MRI Ruby
|
23
|
+
[Glimmer DSL for JFX (JRuby JavaFX Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-jfx) | Mac / Windows / Linux | No | Yes (javafx.scene.shape and javafx.scene.canvas) | Rich in Custom Widgets | Slow JRuby Startup Time / Heavy Memory Footprint / Widgets Do Not Look Native | Java / JRuby / JavaFX SDK
|
24
|
+
[Glimmer DSL for Swing (JRuby Swing Desktop Development GUI Library)](https://github.com/AndyObtiva/glimmer-dsl-swing) | Mac / Windows / Linux | No | Yes (Java2D) | Very Mature | Slow JRuby Startup Time / Heavy Memory Footprint / Widgets Do Not Look Native | Java / JRuby
|
25
|
+
[Glimmer DSL for XML (& HTML)](https://github.com/AndyObtiva/glimmer-dsl-xml) | All Web Browsers | No | Yes (SVG) | Programmable / Lighter-weight Than Actual XML | XML Elements Are Sometimes Not Well-Named (Many Types of Input) | None
|
26
|
+
[Glimmer DSL for CSS](https://github.com/AndyObtiva/glimmer-dsl-css) | All Web Browsers | No | Yes | Programmable | CSS Is Over-Engineered / Too Many Features To Learn | None
|
16
27
|
|
17
28
|
## Setup
|
18
29
|
|
@@ -22,16 +33,14 @@ Please follow these instructions to make the `glimmer` command available on your
|
|
22
33
|
|
23
34
|
Run this command to install directly:
|
24
35
|
```
|
25
|
-
|
36
|
+
gem install glimmer-dsl-css -v 1.2.1
|
26
37
|
```
|
27
38
|
|
28
|
-
`jgem` is JRuby's version of `gem` command.
|
29
|
-
RVM allows running `gem` as an alias.
|
30
|
-
Otherwise, you may also run `jruby -S gem install ...`
|
39
|
+
Note: In case you are using JRuby, `jgem` is JRuby's version of the `gem` command. RVM allows running `gem` as an alias in JRuby. Otherwise, you may also run `jruby -S gem install ...`
|
31
40
|
|
32
41
|
Add `require 'glimmer-dsl-css'` to your code.
|
33
42
|
|
34
|
-
When using with Glimmer DSL for SWT or Glimmer DSL for Opal, make sure it is added after `require glimmer-dsl-swt` and `require glimmer-dsl-opal` to give it a lower precedence than them when processed by the Glimmer DSL engine.
|
43
|
+
When using with [Glimmer DSL for SWT](https://github.com/AndyObtiva/glimmer-dsl-swt) or [Glimmer DSL for Opal](https://github.com/AndyObtiva/glimmer-dsl-opal), make sure it is added after `require glimmer-dsl-swt` and `require glimmer-dsl-opal` to give it a lower precedence than them when processed by the Glimmer DSL engine.
|
35
44
|
|
36
45
|
That's it! Requiring the gem activates the Glimmer CSS DSL automatically.
|
37
46
|
|
@@ -39,14 +48,16 @@ That's it! Requiring the gem activates the Glimmer CSS DSL automatically.
|
|
39
48
|
|
40
49
|
Add the following to `Gemfile` (after `glimmer-dsl-swt` and/or `glimmer-dsl-opal` if included too):
|
41
50
|
```
|
42
|
-
gem 'glimmer-dsl-css', '~>
|
51
|
+
gem 'glimmer-dsl-css', '~> 1.2.1'
|
43
52
|
```
|
44
53
|
|
45
54
|
And, then run:
|
46
55
|
```
|
47
|
-
|
56
|
+
bundle install
|
48
57
|
```
|
49
58
|
|
59
|
+
Note: When using JRuby, prefix with `jruby -S`
|
60
|
+
|
50
61
|
Require in your code via Bundler (e.g. `require 'bundler'; Bundler.require`) or add `require 'glimmer-dsl-css'` to your code.
|
51
62
|
|
52
63
|
When using with Glimmer DSL for SWT or Glimmer DSL for Opal, make sure it is loaded after `glimmer-dsl-swt` and `glimmer-dsl-opal` to give it a lower precedence than them when processed by the Glimmer DSL engine.
|
@@ -55,6 +66,8 @@ That's it! Requiring the gem activates the Glimmer CSS DSL automatically.
|
|
55
66
|
|
56
67
|
## CSS DSL
|
57
68
|
|
69
|
+
The key reason for using the CSS DSL instead of actual CSS is Ruby programmability without getting lost in string concatenations. The CSS DSL helps in including conditional CSS as well as looping from lists while building CSS.
|
70
|
+
|
58
71
|
Simply start with `css` keyword and add stylesheet rule sets inside its block using Glimmer DSL syntax.
|
59
72
|
Once done, you may call `to_s` or `to_css` to get the formatted CSS output.
|
60
73
|
|
@@ -63,23 +76,34 @@ Once done, you may call `to_s` or `to_css` to get the formatted CSS output.
|
|
63
76
|
Selectors may be specified by `s` keyword or HTML element keyword directly (e.g. `body`)
|
64
77
|
Rule property values may be specified by `pv` keyword or underscored property name directly (e.g. `font_size`)
|
65
78
|
|
66
|
-
Example (you
|
79
|
+
Example (you can try in IRB):
|
67
80
|
|
68
81
|
```ruby
|
82
|
+
require 'glimmer-dsl-css'
|
83
|
+
include Glimmer
|
69
84
|
@css = css {
|
70
85
|
body {
|
71
86
|
font_size '1.1em'
|
72
87
|
pv 'background', 'white'
|
73
88
|
}
|
74
|
-
|
75
89
|
s('body > h1') {
|
76
90
|
background_color :red
|
77
|
-
pv 'font-size',
|
91
|
+
pv 'font-size', 24
|
78
92
|
}
|
79
93
|
}
|
80
94
|
puts @css
|
81
95
|
```
|
82
96
|
|
97
|
+
Output (minified CSS):
|
98
|
+
|
99
|
+
```css
|
100
|
+
body{font-size:1.1em;background:white}body > h1{background-color:red;font-size:24px}
|
101
|
+
```
|
102
|
+
|
103
|
+
### Numeric Values
|
104
|
+
|
105
|
+
As you saw above, numeric values (e.g. `24` in `pv 'font-size', 24`) automatically get suffixed with `px` by convention (e.g. `24px`).
|
106
|
+
|
83
107
|
## Multi-DSL Support
|
84
108
|
|
85
109
|
Learn more about how to use this DSL alongside other Glimmer DSLs:
|
@@ -90,9 +114,9 @@ Learn more about how to use this DSL alongside other Glimmer DSLs:
|
|
90
114
|
|
91
115
|
### Issues
|
92
116
|
|
93
|
-
You may submit [issues](https://github.com/AndyObtiva/glimmer/issues) on [GitHub](https://github.com/AndyObtiva/glimmer/issues).
|
117
|
+
You may submit [issues](https://github.com/AndyObtiva/glimmer-dsl-css/issues) on [GitHub](https://github.com/AndyObtiva/glimmer-dsl-css/issues).
|
94
118
|
|
95
|
-
[Click here to submit an issue.](https://github.com/AndyObtiva/glimmer/issues)
|
119
|
+
[Click here to submit an issue.](https://github.com/AndyObtiva/glimmer-dsl-css/issues)
|
96
120
|
|
97
121
|
### Chat
|
98
122
|
|
@@ -122,7 +146,7 @@ These features have been suggested. You might see them in a future version of Gl
|
|
122
146
|
|
123
147
|
[MIT](LICENSE.txt)
|
124
148
|
|
125
|
-
Copyright (c) 2020 - Andy Maleh.
|
149
|
+
Copyright (c) 2020-2022 - Andy Maleh.
|
126
150
|
|
127
151
|
--
|
128
152
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
1.2.1
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: glimmer-dsl-css 1.2.1 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "glimmer-dsl-css".freeze
|
9
|
+
s.version = "1.2.1"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["AndyMaleh".freeze]
|
14
|
+
s.date = "2022-02-07"
|
15
|
+
s.description = "Glimmer DSL for CSS (Cascading Style Sheets)".freeze
|
16
|
+
s.email = "andy.am@gmail.com".freeze
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"CHANGELOG.md",
|
19
|
+
"LICENSE.txt",
|
20
|
+
"README.md"
|
21
|
+
]
|
22
|
+
s.files = [
|
23
|
+
"CHANGELOG.md",
|
24
|
+
"CONTRIBUTING.md",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.md",
|
27
|
+
"VERSION",
|
28
|
+
"glimmer-dsl-css.gemspec",
|
29
|
+
"lib/glimmer-dsl-css.rb",
|
30
|
+
"lib/glimmer/css/rule.rb",
|
31
|
+
"lib/glimmer/css/style_sheet.rb",
|
32
|
+
"lib/glimmer/dsl/css/css_expression.rb",
|
33
|
+
"lib/glimmer/dsl/css/dsl.rb",
|
34
|
+
"lib/glimmer/dsl/css/dynamic_property_expression.rb",
|
35
|
+
"lib/glimmer/dsl/css/property_expression.rb",
|
36
|
+
"lib/glimmer/dsl/css/pv_expression.rb",
|
37
|
+
"lib/glimmer/dsl/css/rule_expression.rb",
|
38
|
+
"lib/glimmer/dsl/css/s_expression.rb"
|
39
|
+
]
|
40
|
+
s.homepage = "http://github.com/AndyObtiva/glimmer-dsl-css".freeze
|
41
|
+
s.licenses = ["MIT".freeze]
|
42
|
+
s.rubygems_version = "3.3.1".freeze
|
43
|
+
s.summary = "Glimmer DSL for CSS".freeze
|
44
|
+
|
45
|
+
if s.respond_to? :specification_version then
|
46
|
+
s.specification_version = 4
|
47
|
+
end
|
48
|
+
|
49
|
+
if s.respond_to? :add_runtime_dependency then
|
50
|
+
s.add_runtime_dependency(%q<glimmer>.freeze, [">= 2.0.0", "< 2.5.0"])
|
51
|
+
s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.0"])
|
52
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0"])
|
53
|
+
s.add_development_dependency(%q<puts_debuggerer>.freeze, [">= 0"])
|
54
|
+
s.add_development_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
|
55
|
+
s.add_development_dependency(%q<jeweler>.freeze, [">= 2.3.9", "< 3.0.0"])
|
56
|
+
s.add_development_dependency(%q<rdoc>.freeze, [">= 6.2.1", "< 7.0.0"])
|
57
|
+
s.add_development_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
|
58
|
+
s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
|
59
|
+
s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
|
60
|
+
else
|
61
|
+
s.add_dependency(%q<glimmer>.freeze, [">= 2.0.0", "< 2.5.0"])
|
62
|
+
s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.0"])
|
63
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.0"])
|
64
|
+
s.add_dependency(%q<puts_debuggerer>.freeze, [">= 0"])
|
65
|
+
s.add_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
|
66
|
+
s.add_dependency(%q<jeweler>.freeze, [">= 2.3.9", "< 3.0.0"])
|
67
|
+
s.add_dependency(%q<rdoc>.freeze, [">= 6.2.1", "< 7.0.0"])
|
68
|
+
s.add_dependency(%q<coveralls>.freeze, ["= 0.8.23"])
|
69
|
+
s.add_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
|
70
|
+
s.add_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
data/lib/glimmer/css/rule.rb
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
module Glimmer
|
2
23
|
module CSS
|
3
24
|
class Rule
|
@@ -15,11 +36,14 @@ module Glimmer
|
|
15
36
|
|
16
37
|
def to_css
|
17
38
|
css = "#{@selector}{"
|
18
|
-
css
|
19
|
-
|
39
|
+
css += @properties.map do |name, value|
|
40
|
+
value = "#{value}px" if value.is_a?(Numeric)
|
41
|
+
"#{name}:#{value}"
|
42
|
+
end.join(';')
|
43
|
+
css += "}"
|
20
44
|
end
|
21
45
|
|
22
|
-
alias to_s to_css
|
46
|
+
alias to_s to_css
|
23
47
|
end
|
24
48
|
end
|
25
49
|
end
|
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
require 'glimmer/css/rule'
|
2
23
|
|
3
24
|
module Glimmer
|
@@ -13,7 +34,7 @@ module Glimmer
|
|
13
34
|
rules.map(&:to_css).join
|
14
35
|
end
|
15
36
|
|
16
|
-
alias to_s to_css
|
37
|
+
alias to_s to_css
|
17
38
|
end
|
18
39
|
end
|
19
40
|
end
|
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
require 'glimmer/dsl/static_expression'
|
2
23
|
require 'glimmer/dsl/top_level_expression'
|
3
24
|
require 'glimmer/dsl/parent_expression'
|
@@ -6,7 +27,7 @@ require 'glimmer/css/style_sheet'
|
|
6
27
|
module Glimmer
|
7
28
|
module DSL
|
8
29
|
module CSS
|
9
|
-
# This static html expression flips the DSL switch on for
|
30
|
+
# This static html expression flips the DSL switch on for
|
10
31
|
# XML DSL in Glimmer
|
11
32
|
class CssExpression < StaticExpression
|
12
33
|
include TopLevelExpression
|
data/lib/glimmer/dsl/css/dsl.rb
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
require 'glimmer/dsl/engine'
|
2
23
|
# Dir[File.expand_path('../*_expression.rb', __FILE__)].each {|f| require f} # cannot in Opal
|
3
24
|
require 'glimmer/dsl/css/rule_expression'
|
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
require 'glimmer/dsl/expression'
|
2
23
|
require 'glimmer/dsl/css/property_expression'
|
3
24
|
|
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
require 'glimmer/dsl/expression'
|
2
23
|
require 'glimmer/css/rule'
|
3
24
|
|
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
require 'glimmer/dsl/static_expression'
|
2
23
|
require 'glimmer/dsl/css/property_expression'
|
3
24
|
|
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
require 'glimmer/dsl/expression'
|
2
23
|
require 'glimmer/dsl/parent_expression'
|
3
24
|
require 'glimmer/css/style_sheet'
|
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
require 'glimmer/dsl/static_expression'
|
2
23
|
require 'glimmer/css/style_sheet'
|
3
24
|
require 'glimmer/css/rule'
|
data/lib/glimmer-dsl-css.rb
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
# Copyright (c) 2020-2022 - Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
1
22
|
$LOAD_PATH.unshift(File.expand_path('..', __FILE__))
|
2
23
|
|
3
24
|
require 'facets/string/underscore'
|
metadata
CHANGED
@@ -1,78 +1,79 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-dsl-css
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AndyMaleh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
+
name: glimmer
|
14
15
|
requirement: !ruby/object:Gem::Requirement
|
15
16
|
requirements:
|
16
17
|
- - ">="
|
17
18
|
- !ruby/object:Gem::Version
|
18
|
-
version: 0.
|
19
|
+
version: 2.0.0
|
19
20
|
- - "<"
|
20
21
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.
|
22
|
-
name: glimmer
|
22
|
+
version: 2.5.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 2.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.
|
32
|
+
version: 2.5.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
+
name: rspec-mocks
|
34
35
|
requirement: !ruby/object:Gem::Requirement
|
35
36
|
requirements:
|
36
37
|
- - "~>"
|
37
38
|
- !ruby/object:Gem::Version
|
38
|
-
version: 3.
|
39
|
-
name: rspec-mocks
|
39
|
+
version: '3.0'
|
40
40
|
type: :development
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: '3.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec
|
48
49
|
requirement: !ruby/object:Gem::Requirement
|
49
50
|
requirements:
|
50
51
|
- - "~>"
|
51
52
|
- !ruby/object:Gem::Version
|
52
|
-
version: 3.
|
53
|
-
name: rspec
|
53
|
+
version: '3.0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 3.
|
60
|
+
version: '3.0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
|
+
name: puts_debuggerer
|
62
63
|
requirement: !ruby/object:Gem::Requirement
|
63
64
|
requirements:
|
64
|
-
- - "
|
65
|
+
- - ">="
|
65
66
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0
|
67
|
-
name: puts_debuggerer
|
67
|
+
version: '0'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 0
|
74
|
+
version: '0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
|
+
name: rake
|
76
77
|
requirement: !ruby/object:Gem::Requirement
|
77
78
|
requirements:
|
78
79
|
- - ">="
|
@@ -81,7 +82,6 @@ dependencies:
|
|
81
82
|
- - "<"
|
82
83
|
- !ruby/object:Gem::Version
|
83
84
|
version: 14.0.0
|
84
|
-
name: rake
|
85
85
|
type: :development
|
86
86
|
prerelease: false
|
87
87
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -93,6 +93,7 @@ dependencies:
|
|
93
93
|
- !ruby/object:Gem::Version
|
94
94
|
version: 14.0.0
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
|
+
name: jeweler
|
96
97
|
requirement: !ruby/object:Gem::Requirement
|
97
98
|
requirements:
|
98
99
|
- - ">="
|
@@ -101,7 +102,6 @@ dependencies:
|
|
101
102
|
- - "<"
|
102
103
|
- !ruby/object:Gem::Version
|
103
104
|
version: 3.0.0
|
104
|
-
name: jeweler
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -113,6 +113,7 @@ dependencies:
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: 3.0.0
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
|
+
name: rdoc
|
116
117
|
requirement: !ruby/object:Gem::Requirement
|
117
118
|
requirements:
|
118
119
|
- - ">="
|
@@ -121,7 +122,6 @@ dependencies:
|
|
121
122
|
- - "<"
|
122
123
|
- !ruby/object:Gem::Version
|
123
124
|
version: 7.0.0
|
124
|
-
name: rdoc
|
125
125
|
type: :development
|
126
126
|
prerelease: false
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -133,12 +133,12 @@ dependencies:
|
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: 7.0.0
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
|
+
name: coveralls
|
136
137
|
requirement: !ruby/object:Gem::Requirement
|
137
138
|
requirements:
|
138
139
|
- - '='
|
139
140
|
- !ruby/object:Gem::Version
|
140
141
|
version: 0.8.23
|
141
|
-
name: coveralls
|
142
142
|
type: :development
|
143
143
|
prerelease: false
|
144
144
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -147,12 +147,12 @@ dependencies:
|
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: 0.8.23
|
149
149
|
- !ruby/object:Gem::Dependency
|
150
|
+
name: simplecov
|
150
151
|
requirement: !ruby/object:Gem::Requirement
|
151
152
|
requirements:
|
152
153
|
- - "~>"
|
153
154
|
- !ruby/object:Gem::Version
|
154
155
|
version: 0.16.1
|
155
|
-
name: simplecov
|
156
156
|
type: :development
|
157
157
|
prerelease: false
|
158
158
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -161,12 +161,12 @@ dependencies:
|
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: 0.16.1
|
163
163
|
- !ruby/object:Gem::Dependency
|
164
|
+
name: simplecov-lcov
|
164
165
|
requirement: !ruby/object:Gem::Requirement
|
165
166
|
requirements:
|
166
167
|
- - "~>"
|
167
168
|
- !ruby/object:Gem::Version
|
168
169
|
version: 0.7.0
|
169
|
-
name: simplecov-lcov
|
170
170
|
type: :development
|
171
171
|
prerelease: false
|
172
172
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -179,12 +179,16 @@ email: andy.am@gmail.com
|
|
179
179
|
executables: []
|
180
180
|
extensions: []
|
181
181
|
extra_rdoc_files:
|
182
|
+
- CHANGELOG.md
|
182
183
|
- LICENSE.txt
|
183
184
|
- README.md
|
184
185
|
files:
|
186
|
+
- CHANGELOG.md
|
187
|
+
- CONTRIBUTING.md
|
185
188
|
- LICENSE.txt
|
186
189
|
- README.md
|
187
190
|
- VERSION
|
191
|
+
- glimmer-dsl-css.gemspec
|
188
192
|
- lib/glimmer-dsl-css.rb
|
189
193
|
- lib/glimmer/css/rule.rb
|
190
194
|
- lib/glimmer/css/style_sheet.rb
|
@@ -214,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
218
|
- !ruby/object:Gem::Version
|
215
219
|
version: '0'
|
216
220
|
requirements: []
|
217
|
-
rubygems_version: 3.
|
221
|
+
rubygems_version: 3.3.1
|
218
222
|
signing_key:
|
219
223
|
specification_version: 4
|
220
224
|
summary: Glimmer DSL for CSS
|