gintonic-rails 0.2.0 → 0.2.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: f602f1ee9669364dab567ae5c8bde928c14f3f61
4
+ data.tar.gz: 3bfba518aaf4fa14f5dfd4333b05d17448f665b2
5
+ SHA512:
6
+ metadata.gz: 5ecd7d3fd7849a1ee7b8958d165f7c72bd2a9a37c9de2d96b2a0d11d8a119d7d7b841232409171224a7acf550f91a3d109b34634d7fce0d00464c49dc59d65e3
7
+ data.tar.gz: 35b49c39eae2e121863565c2737e0731a390ae6d9d9d5000079f98004e44381eb73fe8624177cc6484b7163b8fb068b280187865f89b9354b3aac0ade82638ed
data/.gitignore ADDED
@@ -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
data/Gemfile ADDED
@@ -0,0 +1,14 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Declare your gem's dependencies in admin.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ # Declare any dependencies that are still in development here instead of in
9
+ # your gemspec. These might include edge Rails or gems from your path or
10
+ # Git. Remember to move these dependencies to your gemspec before releasing
11
+ # your gem to rubygems.org.
12
+
13
+ # To use debugger
14
+ # gem 'debugger'
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Victor Ortiz
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.
data/README.md CHANGED
@@ -12,14 +12,14 @@ And then execute:
12
12
 
13
13
  $ bundle install
14
14
 
15
- You are ready to import gintonic at the beginnign of application.css.scss (all is written with scss syntax):
15
+ You are ready to import gintonic at the beginnign of application.scss (all is written with scss syntax):
16
16
 
17
17
  @import "gintonic";
18
18
 
19
19
  ## Usage
20
20
 
21
21
  **Reset:**
22
- The importation includes by default normalize.css v2.1.2 http://git.io/normalize.
22
+ The importation includes by default normalize.css v3.0.2 http://git.io/normalize.
23
23
  You can also import in any other file:
24
24
 
25
25
  @include normalize;
@@ -76,4 +76,3 @@ Examples:
76
76
  3. Commit your changes (`git commit -am 'Add some feature'`)
77
77
  4. Push to the branch (`git push origin my-new-feature`)
78
78
  5. Create new Pull Request
79
-
@@ -0,0 +1,22 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+
4
+ require 'gintonic-rails/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "gintonic-rails"
8
+ gem.version = Gintonic::VERSION
9
+ gem.authors = ["Simplelogica", "Victor Ortiz"]
10
+ gem.email = ["kespers@gmail.com"]
11
+ gem.homepage = "https://github.com/simplelogica/gintonic-rails"
12
+ gem.summary = "Gintonic Front-End toolbox"
13
+ gem.description = %q{Gintonic is a Sass mixins collection, include normalize 2.1 modified, clearfix, font-face helper and CSS3 properties with vendor prefixes Webkit, Firefox > 3.5, Opera and IE > 8.}
14
+
15
+ gem.files = `git ls-files`.split("\n")
16
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
+ gem.require_paths = ["lib"]
19
+
20
+ gem.add_runtime_dependency("sass", "~> 3.4")
21
+ gem.add_dependency("bourbon", ">= 4.2")
22
+ end
@@ -1,15 +1,7 @@
1
1
  require 'bourbon'
2
2
 
3
3
  module Gintonic
4
- module Rails
5
- class Engine < ::Rails::Engine
6
- isolate_namespace Gintonic
7
-
8
- initializer 'gintonic.assets.precompile' do |app|
9
- %w(stylesheets javascripts fonts images).each do |dir|
10
- app.config.assets.paths << root.join('assets', dir).to_s
11
- end
12
- end
13
- end
4
+ class Engine < Rails::Engine
5
+ isolate_namespace Gintonic
14
6
  end
15
7
  end
@@ -1,5 +1,3 @@
1
1
  module Gintonic
2
- module Rails
3
- VERSION = "0.2.0"
4
- end
2
+ VERSION = "0.2.1"
5
3
  end
@@ -1,2 +1,16 @@
1
- require "gintonic-rails/engine"
2
1
  require "gintonic-rails/version"
2
+
3
+ unless defined?(Sass)
4
+ require 'sass'
5
+ end
6
+
7
+ module Gintonic
8
+ if defined?(Rails) && defined?(Rails::Engine)
9
+ class Engine < ::Rails::Engine
10
+ require 'gintonic-rails/engine'
11
+ end
12
+ else
13
+ gintonic_path = File.expand_path("../../app/assets/stylesheets", __FILE__)
14
+ ENV["SASS_PATH"] = [ENV["SASS_PATH"], gintonic_path].compact.join(File::PATH_SEPARATOR)
15
+ end
16
+ end
metadata CHANGED
@@ -1,117 +1,94 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gintonic-rails
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 2
8
- - 0
9
- version: 0.2.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
10
5
  platform: ruby
11
- authors:
6
+ authors:
12
7
  - Simplelogica
13
8
  - Victor Ortiz
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2015-10-01 00:00:00 +02:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: railties
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 4
30
- - 2
31
- version: "4.2"
12
+ date: 2015-11-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sass
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '3.4'
32
21
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: sass-rails
36
22
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- requirements:
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '3.4'
28
+ - !ruby/object:Gem::Dependency
29
+ name: bourbon
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
39
32
  - - ">="
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 4
43
- - 0
44
- version: "4.0"
33
+ - !ruby/object:Gem::Version
34
+ version: '4.2'
45
35
  type: :runtime
46
- version_requirements: *id002
47
- - !ruby/object:Gem::Dependency
48
- name: bourbon
49
36
  prerelease: false
50
- requirement: &id003 !ruby/object:Gem::Requirement
51
- requirements:
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
52
39
  - - ">="
53
- - !ruby/object:Gem::Version
54
- segments:
55
- - 4
56
- - 2
57
- version: "4.2"
58
- type: :runtime
59
- version_requirements: *id003
60
- description: Gintonic is a Sass mixins collection, include normalize 2.1 modified, clearfix, font-face helper and CSS3 properties with vendor prefixes Webkit, Firefox > 3.5, Opera and IE > 8.
61
- email:
40
+ - !ruby/object:Gem::Version
41
+ version: '4.2'
42
+ description: Gintonic is a Sass mixins collection, include normalize 2.1 modified,
43
+ clearfix, font-face helper and CSS3 properties with vendor prefixes Webkit, Firefox
44
+ > 3.5, Opera and IE > 8.
45
+ email:
62
46
  - kespers@gmail.com
63
47
  executables: []
64
-
65
48
  extensions: []
66
-
67
49
  extra_rdoc_files: []
68
-
69
- files:
50
+ files:
51
+ - ".gitignore"
52
+ - Gemfile
53
+ - LICENSE.txt
54
+ - README.md
55
+ - Rakefile
70
56
  - app/assets/stylesheets/_gintonic.scss
71
57
  - app/assets/stylesheets/mixins/_buttons.scss
72
58
  - app/assets/stylesheets/mixins/_utils.scss
73
59
  - app/assets/stylesheets/normalize/_normalize.scss
60
+ - gintonic-rails.gemspec
61
+ - lib/generators/gintonic/js/USAGE
74
62
  - lib/generators/gintonic/js/js_generator.rb
75
63
  - lib/generators/gintonic/js/templates/application.js
76
64
  - lib/generators/gintonic/js/templates/ready.js
77
- - lib/generators/gintonic/js/USAGE
65
+ - lib/generators/gintonic/styles/USAGE
78
66
  - lib/generators/gintonic/styles/styles_generator.rb
79
67
  - lib/generators/gintonic/styles/templates/application.scss
80
- - lib/generators/gintonic/styles/USAGE
68
+ - lib/gintonic-rails.rb
81
69
  - lib/gintonic-rails/engine.rb
82
70
  - lib/gintonic-rails/version.rb
83
- - lib/gintonic-rails.rb
84
- - Rakefile
85
- - README.md
86
- has_rdoc: true
87
71
  homepage: https://github.com/simplelogica/gintonic-rails
88
72
  licenses: []
89
-
73
+ metadata: {}
90
74
  post_install_message:
91
75
  rdoc_options: []
92
-
93
- require_paths:
76
+ require_paths:
94
77
  - lib
95
- required_ruby_version: !ruby/object:Gem::Requirement
96
- requirements:
78
+ required_ruby_version: !ruby/object:Gem::Requirement
79
+ requirements:
97
80
  - - ">="
98
- - !ruby/object:Gem::Version
99
- segments:
100
- - 0
101
- version: "0"
102
- required_rubygems_version: !ruby/object:Gem::Requirement
103
- requirements:
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
+ requirements:
104
85
  - - ">="
105
- - !ruby/object:Gem::Version
106
- segments:
107
- - 0
108
- version: "0"
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
109
88
  requirements: []
110
-
111
89
  rubyforge_project:
112
- rubygems_version: 1.3.6
90
+ rubygems_version: 2.4.5.1
113
91
  signing_key:
114
- specification_version: 3
92
+ specification_version: 4
115
93
  summary: Gintonic Front-End toolbox
116
94
  test_files: []
117
-