helio 0.0.0.0 → 0.0.0.1

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: f34f0c9ef9c721f8b6b770c49af0053e1bcd0605
4
- data.tar.gz: 9c6091a6707dded9d04201714fa05c8ee55e9225
3
+ metadata.gz: fd2fb1d760bf2482458e5668ec28e6487658a0c2
4
+ data.tar.gz: 18793e6fa2cfaad5e629ec164d5e07009876c638
5
5
  SHA512:
6
- metadata.gz: 47cffcdb7e1046f0022c214055c530b79c06cdef051e423e1c4ac982788fb432700264a5774eb7215104ca7a56642de3172ed463a74636c828adfb0605676940
7
- data.tar.gz: 90af41bbce54d57169f97e664544d61747a67ede30d79a33a2184786ca9021ff565aefee1d8fd16f0daa5e6cde81e10b718e1c31fc1a57adc62c4c588c5cc4bd
6
+ metadata.gz: defb092bdfc32af6362e1cbc1d7c9618883ca6f7947cb7defd1a314d8638fe737810659b1385ed3255564d6de3168b8dd6c076250ff53980384736ed75398e3c
7
+ data.tar.gz: 54e3ee91ac16b7b0a581d195e526f70975148c2723424bcec21fc83bfed3962f76b686f4830ef8d2ee31835398418106a4bffb6c2998e5557ef660ab11f44806
@@ -0,0 +1 @@
1
+ @include "helio/spacing";
@@ -0,0 +1,36 @@
1
+ $spaces = 1px, 5px, 7.5px, 10px, 15px, 20px, 30px, 40px, 50px, 60px, 80px, 100px;
2
+
3
+ .mha {
4
+ margin-left: auto;
5
+ margin-right: auto;
6
+ }
7
+
8
+ prepend($spaces, 0px);
9
+ @for $index from 0 through (length($spaces) - 1) {
10
+ $space: nth($spaces, $index);
11
+
12
+ .pt-#{$index} .pv-#{$index} .pa-#{$index} {
13
+ padding-top: $space;
14
+ }
15
+ .pl-#{$index} .ph-#{$index} .pa-#{$index} {
16
+ padding-left: $space;
17
+ }
18
+ .pb-#{$index} .pv-#{$index} .pa-#{$index} {
19
+ padding-bottom: $space;
20
+ }
21
+ .pr-#{$index} .ph-#{$index} .pa-#{$index} {
22
+ padding-right: $space;
23
+ }
24
+ .mt-#{$index} .mv-#{$index} .ma-#{$index} {
25
+ margin-top: $space;
26
+ }
27
+ .ml-#{$index} .mh-#{$index} .ma-#{$index} {
28
+ margin-left: $space;
29
+ }
30
+ .mb-#{$index} .mv-#{$index} .ma-#{$index} {
31
+ margin-bottom: $space;
32
+ }
33
+ .mr-#{$index} .mh-#{$index} .ma-#{$index} {
34
+ margin-right: $space;
35
+ }
36
+ }
data/helio.gemspec CHANGED
@@ -17,9 +17,7 @@ Gem::Specification.new do |s|
17
17
  # Dummy Rails app dependencies
18
18
  s.add_development_dependency 'actionpack', '>= 4.1.5'
19
19
  s.add_development_dependency 'activesupport', '>= 4.1.5'
20
- s.add_development_dependency 'json', '>= 1.8.1'
21
20
  s.add_development_dependency 'sprockets-rails', '>= 2.1.3'
22
- s.add_development_dependency 'jquery-rails', '>= 3.1.0'
23
21
  s.add_development_dependency 'slim-rails'
24
22
  s.add_development_dependency 'uglifier'
25
23
  # Converter
data/lib/helio.rb CHANGED
@@ -3,7 +3,13 @@ require 'helio/version'
3
3
  module Helio
4
4
  class << self
5
5
  def load!
6
-
6
+ register_rails_engine
7
7
  end
8
8
  end
9
+
10
+ private
11
+
12
+ def register_rails_engine
13
+ require 'helio/engine'
14
+ end
9
15
  end
@@ -0,0 +1,11 @@
1
+ module Helio
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ initializer 'helio.assets.precompile' do |app|
5
+ %w(stylesheets).each do |sub|
6
+ app.config.assets.paths << root.join('assets', sub).to_s
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
data/lib/helio/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Helio
2
- VERSION = '0.0.0.0'
2
+ VERSION = '0.0.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.0
4
+ version: 0.0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Jovanovic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-15 00:00:00.000000000 Z
11
+ date: 2015-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 4.1.5
69
- - !ruby/object:Gem::Dependency
70
- name: json
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: 1.8.1
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 1.8.1
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: sprockets-rails
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -94,20 +80,6 @@ dependencies:
94
80
  - - ">="
95
81
  - !ruby/object:Gem::Version
96
82
  version: 2.1.3
97
- - !ruby/object:Gem::Dependency
98
- name: jquery-rails
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: 3.1.0
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: 3.1.0
111
83
  - !ruby/object:Gem::Dependency
112
84
  name: slim-rails
113
85
  requirement: !ruby/object:Gem::Requirement
@@ -159,8 +131,11 @@ files:
159
131
  - ".gitignore"
160
132
  - Gemfile
161
133
  - README.md
134
+ - assets/stylesheets/_helio.scss
135
+ - assets/stylesheets/helio/_spacing.scss
162
136
  - helio.gemspec
163
137
  - lib/helio.rb
138
+ - lib/helio/engine.rb
164
139
  - lib/helio/version.rb
165
140
  homepage: https://github.com/superjova/helio
166
141
  licenses: