hubbastyle 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +8 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +111 -0
- data/README.md +35 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/core/index.sass +2 -0
- data/hubbastyle-0.1.0.gem +0 -0
- data/hubbastyle.gemspec +45 -0
- data/lib/hubbastyle/version.rb +3 -0
- data/lib/hubbastyle.rb +12 -0
- metadata +139 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a63a3b6ecfbc38cc63f92bbf8d1d21d69e2881434e6f0d926fb1c80d57339328
|
4
|
+
data.tar.gz: 486ff149e2f99032c70a3b88a87abdcbdf3ede5a523d0efaf4782f47248ab166
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6a271e28fc7e3301c32c141257ef5a0b53857f62a968ce223486cfb7f5be37c0f07434c8c04b5b869269fb1a9b30445a5f6bf1d767c7143e9a0bff413d592038
|
7
|
+
data.tar.gz: a562622d020bfc5973f469f435fd208aff8e05c6147db215d19624bf526831c21e7ff1b131c9a74cdca42fa48755e4c08baac1a221b388ebb6a5494913821e61
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
hubbastyle (0.2.0)
|
5
|
+
sass-rails
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionpack (5.2.3)
|
11
|
+
actionview (= 5.2.3)
|
12
|
+
activesupport (= 5.2.3)
|
13
|
+
rack (~> 2.0)
|
14
|
+
rack-test (>= 0.6.3)
|
15
|
+
rails-dom-testing (~> 2.0)
|
16
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
17
|
+
actionview (5.2.3)
|
18
|
+
activesupport (= 5.2.3)
|
19
|
+
builder (~> 3.1)
|
20
|
+
erubi (~> 1.4)
|
21
|
+
rails-dom-testing (~> 2.0)
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
23
|
+
activesupport (5.2.3)
|
24
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
|
+
i18n (>= 0.7, < 2)
|
26
|
+
minitest (~> 5.1)
|
27
|
+
tzinfo (~> 1.1)
|
28
|
+
addressable (2.6.0)
|
29
|
+
public_suffix (>= 2.0.2, < 4.0)
|
30
|
+
builder (3.2.3)
|
31
|
+
concurrent-ruby (1.1.5)
|
32
|
+
crass (1.0.4)
|
33
|
+
css_parser (1.7.0)
|
34
|
+
addressable
|
35
|
+
erubi (1.8.0)
|
36
|
+
ffi (1.11.1)
|
37
|
+
i18n (1.6.0)
|
38
|
+
concurrent-ruby (~> 1.0)
|
39
|
+
loofah (2.2.3)
|
40
|
+
crass (~> 1.0.2)
|
41
|
+
nokogiri (>= 1.5.9)
|
42
|
+
method_source (0.9.2)
|
43
|
+
mini_portile2 (2.4.0)
|
44
|
+
minitest (5.11.3)
|
45
|
+
nokogiri (1.10.3)
|
46
|
+
mini_portile2 (~> 2.4.0)
|
47
|
+
public_suffix (3.0.3)
|
48
|
+
rack (2.0.7)
|
49
|
+
rack-test (1.1.0)
|
50
|
+
rack (>= 1.0, < 3)
|
51
|
+
rails-dom-testing (2.0.3)
|
52
|
+
activesupport (>= 4.2.0)
|
53
|
+
nokogiri (>= 1.6)
|
54
|
+
rails-html-sanitizer (1.0.4)
|
55
|
+
loofah (~> 2.2, >= 2.2.2)
|
56
|
+
railties (5.2.3)
|
57
|
+
actionpack (= 5.2.3)
|
58
|
+
activesupport (= 5.2.3)
|
59
|
+
method_source
|
60
|
+
rake (>= 0.8.7)
|
61
|
+
thor (>= 0.19.0, < 2.0)
|
62
|
+
rake (10.5.0)
|
63
|
+
rb-fsevent (0.10.3)
|
64
|
+
rb-inotify (0.10.0)
|
65
|
+
ffi (~> 1.0)
|
66
|
+
sass (3.7.4)
|
67
|
+
sass-listen (~> 4.0.0)
|
68
|
+
sass-listen (4.0.0)
|
69
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
70
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
71
|
+
sass-rails (5.0.7)
|
72
|
+
railties (>= 4.0.0, < 6)
|
73
|
+
sass (~> 3.1)
|
74
|
+
sprockets (>= 2.8, < 4.0)
|
75
|
+
sprockets-rails (>= 2.0, < 4.0)
|
76
|
+
tilt (>= 1.1, < 3)
|
77
|
+
sassc (2.0.1)
|
78
|
+
ffi (~> 1.9)
|
79
|
+
rake
|
80
|
+
sassc-rails (2.1.1)
|
81
|
+
railties (>= 4.0.0)
|
82
|
+
sassc (>= 2.0)
|
83
|
+
sprockets (> 3.0)
|
84
|
+
sprockets-rails
|
85
|
+
tilt
|
86
|
+
sprockets (3.7.2)
|
87
|
+
concurrent-ruby (~> 1.0)
|
88
|
+
rack (> 1, < 3)
|
89
|
+
sprockets-rails (3.2.1)
|
90
|
+
actionpack (>= 4.0)
|
91
|
+
activesupport (>= 4.0)
|
92
|
+
sprockets (>= 3.0.0)
|
93
|
+
thor (0.20.3)
|
94
|
+
thread_safe (0.3.6)
|
95
|
+
tilt (2.0.9)
|
96
|
+
tzinfo (1.2.5)
|
97
|
+
thread_safe (~> 0.1)
|
98
|
+
|
99
|
+
PLATFORMS
|
100
|
+
ruby
|
101
|
+
|
102
|
+
DEPENDENCIES
|
103
|
+
bundler (~> 1.17)
|
104
|
+
css_parser
|
105
|
+
hubbastyle!
|
106
|
+
rake
|
107
|
+
sass-rails
|
108
|
+
sassc-rails
|
109
|
+
|
110
|
+
BUNDLED WITH
|
111
|
+
1.17.2
|
data/README.md
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# Hubbastyle
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/hubbastyle`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'hubbastyle'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install hubbastyle
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
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.
|
30
|
+
|
31
|
+
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).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hubbastyle.
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "hubbastyle"
|
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(__FILE__)
|
data/bin/setup
ADDED
data/core/index.sass
ADDED
Binary file
|
data/hubbastyle.gemspec
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "hubbastyle/version"
|
5
|
+
require "sass-rails"
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "hubbastyle"
|
9
|
+
spec.version = Hubbastyle::VERSION
|
10
|
+
spec.authors = ["chatethakhun"]
|
11
|
+
spec.email = ["chatethakhun@hubbathailand.com"]
|
12
|
+
|
13
|
+
spec.summary = %q{HUBBA Style}
|
14
|
+
spec.description = %q{HUBBA Style}
|
15
|
+
# spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org/"
|
21
|
+
|
22
|
+
# spec.metadata["homepage_uri"] = spec.homepage
|
23
|
+
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
24
|
+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
25
|
+
else
|
26
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
27
|
+
"public gem pushes."
|
28
|
+
end
|
29
|
+
|
30
|
+
# Specify which files should be added to the gem when it is released.
|
31
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
32
|
+
spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
|
33
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
34
|
+
end
|
35
|
+
spec.bindir = "exe"
|
36
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
37
|
+
spec.require_paths = ["lib"]
|
38
|
+
|
39
|
+
spec.add_development_dependency "bundler", "~> 1.17"
|
40
|
+
spec.add_development_dependency "rake"
|
41
|
+
spec.add_development_dependency "sass-rails"
|
42
|
+
spec.add_development_dependency "sassc-rails"
|
43
|
+
spec.add_development_dependency "css_parser"
|
44
|
+
spec.add_runtime_dependency "sass-rails"
|
45
|
+
end
|
data/lib/hubbastyle.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require "hubbastyle/version"
|
2
|
+
|
3
|
+
module Hubbastyle
|
4
|
+
if defined?(Rails) && defined?(Rails::Engine)
|
5
|
+
class Engine < ::Rails::Engine
|
6
|
+
config.assets.paths << File.expand_path("../core", __FILE__)
|
7
|
+
end
|
8
|
+
else
|
9
|
+
Sass.load_paths << File.expand_path("../core", __FILE__)
|
10
|
+
end
|
11
|
+
# Your code goes here...
|
12
|
+
end
|
metadata
ADDED
@@ -0,0 +1,139 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hubbastyle
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- chatethakhun
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.17'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.17'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sass-rails
|
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
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sassc-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: css_parser
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: sass-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: HUBBA Style
|
98
|
+
email:
|
99
|
+
- chatethakhun@hubbathailand.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- Gemfile
|
106
|
+
- Gemfile.lock
|
107
|
+
- README.md
|
108
|
+
- Rakefile
|
109
|
+
- bin/console
|
110
|
+
- bin/setup
|
111
|
+
- core/index.sass
|
112
|
+
- hubbastyle-0.1.0.gem
|
113
|
+
- hubbastyle.gemspec
|
114
|
+
- lib/hubbastyle.rb
|
115
|
+
- lib/hubbastyle/version.rb
|
116
|
+
homepage:
|
117
|
+
licenses: []
|
118
|
+
metadata:
|
119
|
+
allowed_push_host: https://rubygems.org/
|
120
|
+
post_install_message:
|
121
|
+
rdoc_options: []
|
122
|
+
require_paths:
|
123
|
+
- lib
|
124
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
129
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
requirements: []
|
135
|
+
rubygems_version: 3.0.1
|
136
|
+
signing_key:
|
137
|
+
specification_version: 4
|
138
|
+
summary: HUBBA Style
|
139
|
+
test_files: []
|