furatto 1.4.0 → 1.5.0

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: c963df2f611da3534f4498f4cf4cd14ced8fe86b
4
- data.tar.gz: 893a09624d405384b092f5fc44504018ccd3d89d
3
+ metadata.gz: 96969a7b5a30d7a712ba137814390476b1fd8b0c
4
+ data.tar.gz: c3c87abbadf3f6acbb424210e9c6670396d2c1ea
5
5
  SHA512:
6
- metadata.gz: 16af855bdeaf3d5ebfaf3f9e7152e3aeb419047ca5fae83f365a148fa9779ab8b7ec809ff497eaf56fa455b22241e14eda702e407ebcfd4468528aefa68392b8
7
- data.tar.gz: 32438cd09ec63c0ce9109d5119a2011032bc1c2c87f50ed5581572884f34f1cb648aa62b9d9aa3cdc7ba8589f57c9566dbbc8f32c479ee6d882f7f329f66cb43
6
+ metadata.gz: f1b34d34301ac75476b3ab9b6a93ce8c1e9a8a782ad7c2ec381ac0b2030f05d222a3237f02ede2a2e3ed2712803436c544d19be9a9c5750ea30a121b963b02ae
7
+ data.tar.gz: e857cc4f904c2eb4c056f9c1acec1cc46e698430a5b924e3e1e449d83906e5375b34881f701ebc008eebde0e4aecfe72b908bbccc1450a51d3c0a7bbd729d124
data/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Furatto is a lightweight & friendly front-end framework got get the job done, created and maintained by [Abraham Kuri](https://twitter.com/kurenn) from [Icalia Labs](http://twitter.com/icalialabs).
4
4
 
5
- The furatto gem integrates the Furatto CSS framework for Rails 3.1+ Asset Pipeline.
5
+ The furatto gem integrates the Furatto CSS framework for Rails 4+ Asset Pipeline.
6
6
 
7
7
  ## Table of contents
8
8
  - [Installing Gem](#installing-gem)
9
- - [Using Rails 4?](#using-rails-4?)
9
+ - [Issues](#issues)
10
10
  - [Contributors & Patches & Forks](#contributors-&-patches-&-forks)
11
11
  - [Furatto heroe](#furatto-heroe)
12
12
  - [Credits](#credits)
@@ -14,15 +14,7 @@ The furatto gem integrates the Furatto CSS framework for Rails 3.1+ Asset Pipeli
14
14
 
15
15
  ## Installing Gem
16
16
 
17
- **Because furatto uses [Compass](http://compass-style.org/reference/compass/css3/), you need to add the compass-rails gem into the assets group from your Gemfile.**
18
-
19
- ```ruby
20
- group :assets do
21
- gem 'compass-rails'
22
- end
23
- ```
24
-
25
- After including the compass-rails gem, you need to add the furatto gem to your application's Gemfile:
17
+ You need to only include the `furatto` gem inside your `Gemfile`:
26
18
 
27
19
  ```ruby
28
20
  gem 'furatto'
@@ -40,50 +32,38 @@ Install the gem using the bundle command:
40
32
  $ bundle
41
33
  ```
42
34
 
43
- ## Add furatto to the asset pipeline
44
-
45
- Add to your `app/assets/stylesheets/application.css`
46
-
47
- *= require normalize
48
- *= require furatto
35
+ After running the `bundle` command, the gem now comes with an installer for easy setup.
49
36
 
50
- Add to your `app/assets/javascripts/application.js`
37
+ ```console
38
+ $ rails g furatto:install
39
+ ```
51
40
 
52
- //= require furatto
53
-
54
- ## Using Rails 4?
41
+ This will add furatto to the asset pipeline automatically, and install an application layout skeleton.
55
42
 
56
- The configuration for Rails 4 is pretty similar.
43
+ Now you can just run the rails server and then everything should be nice and clean.
57
44
 
58
- ```ruby
59
- gem 'compass-rails', '~> 1.1.3'
60
- ```
45
+ ## Issues
61
46
 
62
- After including the compass-rails gem, you need to add the furatto gem to your application's Gemfile:
47
+ If for some reason you find troubles installing the gem due to `sass` version like:
63
48
 
64
49
  ```ruby
65
- gem 'furatto'
66
- ```
50
+ Bundler could not find compatible versions for gem "sass-rails":
51
+ In snapshot (Gemfile.lock):
52
+ sass-rails (= 5.0.3)
67
53
 
68
- or you can install from the latest build:
54
+ In Gemfile:
55
+ furatto (>= 0) ruby depends on
56
+ compass-rails (>= 2.0.4, ~> 2.0) ruby depends on
57
+ sass-rails (<= 5.0.1) ruby
69
58
 
70
- ```ruby
71
- gem 'furatto', git: 'git@github.com:IcaliaLabs/furatto-rails.git'
72
- ```
59
+ sass-rails (~> 5.0) ruby
73
60
 
74
- Install the gem using the bundle command:
75
-
76
- ```console
77
- $ bundle
61
+ Running `bundle update` will rebuild your snapshot from scratch, using only
62
+ the gems in your Gemfile, which may resolve the conflict.
78
63
  ```
79
64
 
80
- After running the `bundle` command, the gem now comes with an installer for easy setup.
65
+ Just remove the `Gemfile.lock` from the project or update the `sass-rails` gem.
81
66
 
82
- ```console
83
- $ rails g furatto:install
84
- ```
85
-
86
- This will add furatto to the asset pipeline automatically, and install an application layout skeleton.
87
67
 
88
68
  ## Contributors & Patches & Forks
89
69
 
@@ -20,8 +20,5 @@ Gem::Specification.new do |gem|
20
20
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
21
21
  gem.require_paths = ["lib"]
22
22
 
23
- gem.add_dependency 'railties', ['>= 3.1.0']
24
- gem.add_dependency "actionpack", ['>= 3.1']
25
- gem.add_dependency "activemodel", ['>= 3.1']
26
- gem.add_dependency "compass-rails", ['~> 2.0']
23
+ gem.add_dependency "compass-rails", ['~> 2.0', '>= 2.0.4']
27
24
  end
@@ -1,9 +1,10 @@
1
+ require "compass-rails"
1
2
  require "furatto/version"
2
3
  require "furatto_rails_helpers/form_builder"
3
4
  require "furatto_rails_helpers/action_view_form_builder_extension"
4
5
  require "furatto_rails_helpers/furatto_helpers"
5
6
 
6
- module Furatto
7
+ module Furatto
7
8
  module Rails
8
9
  require "furatto/engine"
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module Furatto
2
- VERSION = "1.4.0"
2
+ VERSION = "1.5.0"
3
3
  end
@@ -4,7 +4,7 @@ module Furatto
4
4
  class FormBuilder < ActionView::Helpers::FormBuilder
5
5
  include ActionView::Helpers::TagHelper
6
6
 
7
- %w(file_field email_field text_field text_area telephone_field phone_field
7
+ %w(file_field email_field text_field text_area telephone_field phone_field
8
8
  url_field number_field date_field datetime_field datetime_local_field
9
9
  month_field week_field time_field range_field search_field color_field ).each do |method_name|
10
10
  define_method(method_name) do |*args|
@@ -42,7 +42,7 @@ module Furatto
42
42
 
43
43
  private
44
44
 
45
- def layout_file_name
45
+ def layout_file_name
46
46
  layout_name.underscore.downcase
47
47
  end
48
48
  end
@@ -0,0 +1,76 @@
1
+ //Compass Utilities
2
+ @import "compass/css3";
3
+
4
+ // Global settings
5
+ @import "furatto/global";
6
+
7
+ //Helpers
8
+ @import "furatto/mixins";
9
+ @import "furatto/selectors";
10
+ @import "furatto/media_queries";
11
+
12
+ //General css for layout
13
+ @import 'furatto/base';
14
+
15
+ //Buttons
16
+ @import 'furatto/buttons';
17
+
18
+ //Button groups
19
+ @import 'furatto/button-groups';
20
+
21
+ //Labels
22
+ @import 'furatto/labels';
23
+
24
+ //Alerts
25
+ @import 'furatto/alerts';
26
+
27
+ //Navs
28
+ @import 'furatto/navigation';
29
+
30
+ //Forms
31
+ @import 'furatto/forms';
32
+
33
+ //Images
34
+ @import 'furatto/images';
35
+
36
+ //Off screen
37
+ @import 'furatto/off_screen';
38
+
39
+ //Navbar
40
+ @import 'furatto/navigation_bar';
41
+
42
+ //Base
43
+ @import 'furatto/typography';
44
+
45
+ //Grid
46
+ @import 'furatto/grid';
47
+
48
+ //Tables
49
+ @import 'furatto/tables';
50
+
51
+ //Responsive utilities
52
+ @import 'furatto/responsive_utilities';
53
+
54
+ //Modal
55
+ @import 'furatto/modal';
56
+
57
+ //Tooltips
58
+ @import 'furatto/tooltips';
59
+
60
+ //Pagination
61
+ @import 'furatto/pagination';
62
+
63
+ /*//Toolbar*/
64
+ @import 'furatto/toolbars';
65
+
66
+ //Slider
67
+ @import 'furatto/suraido';
68
+
69
+ //Tabs
70
+ @import 'furatto/tabs';
71
+
72
+ //Text alignment utilities
73
+ @import 'furatto/text_alignment_utilities';
74
+
75
+ //Experimental
76
+ @import 'furatto/experimental';
metadata CHANGED
@@ -1,57 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: furatto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abraham Kuri Vargas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-26 00:00:00.000000000 Z
11
+ date: 2015-07-27 00:00:00.000000000 Z
12
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.0
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.0
27
- - !ruby/object:Gem::Dependency
28
- name: actionpack
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '3.1'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '3.1'
41
- - !ruby/object:Gem::Dependency
42
- name: activemodel
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '3.1'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '3.1'
55
13
  - !ruby/object:Gem::Dependency
56
14
  name: compass-rails
57
15
  requirement: !ruby/object:Gem::Requirement
@@ -59,6 +17,9 @@ dependencies:
59
17
  - - "~>"
60
18
  - !ruby/object:Gem::Version
61
19
  version: '2.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.0.4
62
23
  type: :runtime
63
24
  prerelease: false
64
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -66,6 +27,9 @@ dependencies:
66
27
  - - "~>"
67
28
  - !ruby/object:Gem::Version
68
29
  version: '2.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.0.4
69
33
  description: Integrates the Furatto CSS Framework to the Rails assets Pipeline
70
34
  email:
71
35
  - kurenn@icalialabs.com
@@ -122,6 +86,7 @@ files:
122
86
  - vendor/assets/stylesheets/furatto/_toolbars.scss
123
87
  - vendor/assets/stylesheets/furatto/_tooltips.scss
124
88
  - vendor/assets/stylesheets/furatto/_typography.scss
89
+ - vendor/assets/stylesheets/furatto_no_charset.scss
125
90
  - vendor/assets/stylesheets/normalize.scss
126
91
  homepage: https://github.com/IcaliaLabs/furatto-rails
127
92
  licenses:
@@ -143,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
108
  version: '0'
144
109
  requirements: []
145
110
  rubyforge_project: furatto-rails
146
- rubygems_version: 2.4.2
111
+ rubygems_version: 2.4.5
147
112
  signing_key:
148
113
  specification_version: 4
149
114
  summary: Furatto CSS Framework for Rails 3.1 Asset Pipeline