flint-gs 2.1.3 → 2.1.4
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 +4 -4
- data/lib/flint/version.rb +1 -1
- data/stylesheets/flint/functions/lib/_calc-width.scss +2 -2
- data/stylesheets/flint/functions/lib/_replace-substring.scss +1 -1
- data/stylesheets/flint/functions/lib/_string-to-list.scss +2 -2
- data/stylesheets/flint/functions/lib/_support-syntax-bem.scss +1 -1
- data/stylesheets/flint/functions/lib/_types-in-list.scss +3 -3
- data/stylesheets/flint/globals/_globals.scss +1 -1
- data/stylesheets/flint/mixins/lib/_box-sizing.scss +1 -1
- data/stylesheets/flint/mixins/lib/_calculate.scss +3 -3
- data/stylesheets/flint/mixins/lib/_container.scss +2 -2
- data/stylesheets/flint/mixins/lib/_main.scss +4 -4
- metadata +10 -10
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 62fdbbd2f7bcd9e44852bb8a9e980792ee50d529
         | 
| 4 | 
            +
              data.tar.gz: e0866a6bdf45667960b289a7df5dc6199091c9cb
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 8ef4fff7fe04af89319a0a4f22b41caecbd37fb37c836a2550e104720bdae96728fed3dbbac7850d09f8fa31f79e3b4d6b48e60a848b794b5944f4ef6caec232
         | 
| 7 | 
            +
              data.tar.gz: cea6e7bf22b451b3dd7d7ec81a23c09461d7551d7a6c7c0cca5557939899b2e7294a4b9ad1bc4d9813ef03133638573b37413b431e25a267904b19b4738a9fe0
         | 
    
        data/lib/flint/version.rb
    CHANGED
    
    
| @@ -5,8 +5,8 @@ | |
| 5 5 | 
             
            ///
         | 
| 6 6 | 
             
            /// @param {String}        $key            - key of breakpoint
         | 
| 7 7 | 
             
            /// @param {Number}        $span           - span value of element
         | 
| 8 | 
            -
            /// @param {Number|String} $context  | 
| 9 | 
            -
            /// @param {Number}        $deduct   | 
| 8 | 
            +
            /// @param {Number|String} $context [null] - context value of element
         | 
| 9 | 
            +
            /// @param {Number}        $deduct  [null] - subtract value out of final width
         | 
| 10 10 | 
             
            ///
         | 
| 11 11 | 
             
            /// @return {Map} - map of target and context result
         | 
| 12 12 | 
             
            ///
         | 
| @@ -5,7 +5,7 @@ | |
| 5 5 | 
             
            ///
         | 
| 6 6 | 
             
            /// @param {String} $string              - string that contains substring
         | 
| 7 7 | 
             
            /// @param {String} $substring           - substring to replace
         | 
| 8 | 
            -
            /// @param {String} $new-substring  | 
| 8 | 
            +
            /// @param {String} $new-substring [" "] - new string to replace sub with
         | 
| 9 9 | 
             
            ///
         | 
| 10 10 | 
             
            /// @return {String}
         | 
| 11 11 | 
             
            ///
         | 
| @@ -4,8 +4,8 @@ | |
| 4 4 | 
             
            /// @access private
         | 
| 5 5 | 
             
            ///
         | 
| 6 6 | 
             
            /// @param {String} $string       - string to perform on
         | 
| 7 | 
            -
            /// @param {String} $find    | 
| 8 | 
            -
            /// @param {String} $ignore  | 
| 7 | 
            +
            /// @param {String} $find   [" "] - item to find which separates substrings
         | 
| 8 | 
            +
            /// @param {String} $ignore [","] - removes remaining string beyond item
         | 
| 9 9 | 
             
            ///
         | 
| 10 10 | 
             
            /// @return {List}
         | 
| 11 11 | 
             
            ///
         | 
| @@ -12,7 +12,7 @@ | |
| 12 12 | 
             
            @function flint-support-syntax-bem($selectors) {
         | 
| 13 13 | 
             
                // Clean up selector, remove double underscores for spaces
         | 
| 14 14 | 
             
                //  add pseudo character to differentiate selectors
         | 
| 15 | 
            -
                $selectors: flint-replace-substring(inspect( | 
| 15 | 
            +
                $selectors: flint-replace-substring(unquote(inspect($selectors)), "__", "/");
         | 
| 16 16 | 
             
                // Parse string back to list without pseudo character
         | 
| 17 17 | 
             
                $selectors: flint-string-to-list($selectors, "/");
         | 
| 18 18 | 
             
                // Define top-most parent of selector
         | 
| @@ -3,9 +3,9 @@ | |
| 3 3 | 
             
            ///
         | 
| 4 4 | 
             
            /// @access private
         | 
| 5 5 | 
             
            ///
         | 
| 6 | 
            -
            /// @param {List} $list | 
| 7 | 
            -
            /// @param {String|List} $assert-types   | 
| 8 | 
            -
            /// @param {Number}      $assert-length  | 
| 6 | 
            +
            /// @param {List} $list                        - list of items
         | 
| 7 | 
            +
            /// @param {String|List} $assert-types  [null] - single or list of types to assert
         | 
| 8 | 
            +
            /// @param {Number}      $assert-length [null] - assert length of list
         | 
| 9 9 | 
             
            ///
         | 
| 10 10 | 
             
            /// @return {Bool}
         | 
| 11 11 | 
             
            ///
         | 
| @@ -95,8 +95,8 @@ | |
| 95 95 | 
             
            	// Check for cached results
         | 
| 96 96 | 
             
            	//
         | 
| 97 97 | 
             
            	@if $calc-context != "auto" and $calc-span != 0 {
         | 
| 98 | 
            -
            		@if map-has-key($ | 
| 99 | 
            -
            			$result: map-get($ | 
| 98 | 
            +
            		@if map-has-key($flint__cached-results, "#{$calc-key, $calc-span, $calc-context, $calc-gutter, $i}") {
         | 
| 99 | 
            +
            			$result: map-get($flint__cached-results, "#{$calc-key, $calc-span, $calc-context, $calc-gutter, $i}");
         | 
| 100 100 |  | 
| 101 101 | 
             
            			// Get results
         | 
| 102 102 | 
             
            			$output-width-map: nth($result, 1);
         | 
| @@ -218,7 +218,7 @@ | |
| 218 218 |  | 
| 219 219 | 
             
            			// Cache result
         | 
| 220 220 | 
             
            			@if $calc-context != "auto" and $calc-span != 0 and not $cached {
         | 
| 221 | 
            -
            				$ | 
| 221 | 
            +
            				$flint__cached-results: map-merge($flint__cached-results, (
         | 
| 222 222 | 
             
            					"#{$calc-key, $calc-span, $calc-context, $calc-gutter, $i}": ($output-width-map, $output-margin-right, $output-margin-left)
         | 
| 223 223 | 
             
            				)) !global;
         | 
| 224 224 | 
             
            			}
         | 
| @@ -3,8 +3,8 @@ | |
| 3 3 | 
             
            ///
         | 
| 4 4 | 
             
            /// @access private
         | 
| 5 5 | 
             
            ///
         | 
| 6 | 
            -
            /// @param {String} $key  | 
| 7 | 
            -
            /// @param {Number} $i    | 
| 6 | 
            +
            /// @param {String} $key [null] - alias of individual breakpoint
         | 
| 7 | 
            +
            /// @param {Number} $i   [null] - index number if called from loop
         | 
| 8 8 | 
             
            ///
         | 
| 9 9 | 
             
            /// @group Internal Mixins
         | 
| 10 10 | 
             
            ///
         | 
| @@ -341,10 +341,10 @@ | |
| 341 341 | 
             
            ///
         | 
| 342 342 | 
             
            /// @access public
         | 
| 343 343 | 
             
            ///
         | 
| 344 | 
            -
            /// @param {String|Number|List} $key      | 
| 345 | 
            -
            /// @param {String|Number|List} $span     | 
| 346 | 
            -
            /// @param {String|Number}      $context  | 
| 347 | 
            -
            /// @param {String|List}        $gutter   | 
| 344 | 
            +
            /// @param {String|Number|List} $key     [null] - key of breakpoint, or shorthand span
         | 
| 345 | 
            +
            /// @param {String|Number|List} $span    [null] - value of span for column, or shorthand context
         | 
| 346 | 
            +
            /// @param {String|Number}      $context [null] - context value of span, or null for shorthand
         | 
| 347 | 
            +
            /// @param {String|List}        $gutter  [null] - alias for gutter modifier
         | 
| 348 348 | 
             
            ///
         | 
| 349 349 | 
             
            /// @throws - Error if list lengths do not match number of breakpoints (when using variable shorthands).
         | 
| 350 350 | 
             
            ///
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: flint-gs
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.1. | 
| 4 | 
            +
              version: 2.1.4
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Ezekiel Gabrielse
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2015- | 
| 11 | 
            +
            date: 2015-04-16 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: bundler
         | 
| @@ -74,9 +74,11 @@ executables: [] | |
| 74 74 | 
             
            extensions: []
         | 
| 75 75 | 
             
            extra_rdoc_files: []
         | 
| 76 76 | 
             
            files:
         | 
| 77 | 
            +
            - LICENSE
         | 
| 78 | 
            +
            - README.md
         | 
| 79 | 
            +
            - lib/flint.rb
         | 
| 77 80 | 
             
            - lib/flint/functions.rb
         | 
| 78 81 | 
             
            - lib/flint/version.rb
         | 
| 79 | 
            -
            - lib/flint.rb
         | 
| 80 82 | 
             
            - stylesheets/_flint.scss
         | 
| 81 83 | 
             
            - stylesheets/flint/config/_config.scss
         | 
| 82 84 | 
             
            - stylesheets/flint/functions/_functions.scss
         | 
| @@ -114,11 +116,12 @@ files: | |
| 114 116 | 
             
            - stylesheets/flint/mixins/lib/_main.scss
         | 
| 115 117 | 
             
            - stylesheets/flint/mixins/lib/_new-instance.scss
         | 
| 116 118 | 
             
            - stylesheets/flint/mixins/lib/_print-instance.scss
         | 
| 117 | 
            -
            - LICENSE
         | 
| 118 | 
            -
            - README.md
         | 
| 119 | 
            -
            - tests/bootcamp/bower.json
         | 
| 120 119 | 
             
            - tests/bootcamp/CHANGELOG.md
         | 
| 121 120 | 
             
            - tests/bootcamp/CONTRIBUTING.md
         | 
| 121 | 
            +
            - tests/bootcamp/Gruntfile.coffee
         | 
| 122 | 
            +
            - tests/bootcamp/LICENSE.md
         | 
| 123 | 
            +
            - tests/bootcamp/README.md
         | 
| 124 | 
            +
            - tests/bootcamp/bower.json
         | 
| 122 125 | 
             
            - tests/bootcamp/dist/_bootcamp.scss
         | 
| 123 126 | 
             
            - tests/bootcamp/dist/bootcamp.coffee
         | 
| 124 127 | 
             
            - tests/bootcamp/dist/core/functions/_actual.scss
         | 
| @@ -158,10 +161,7 @@ files: | |
| 158 161 | 
             
            - tests/bootcamp/dist/utils/_equal.scss
         | 
| 159 162 | 
             
            - tests/bootcamp/dist/utils/_list-join.scss
         | 
| 160 163 | 
             
            - tests/bootcamp/dist/utils/_power.scss
         | 
| 161 | 
            -
            - tests/bootcamp/Gruntfile.coffee
         | 
| 162 | 
            -
            - tests/bootcamp/LICENSE.md
         | 
| 163 164 | 
             
            - tests/bootcamp/package.json
         | 
| 164 | 
            -
            - tests/bootcamp/README.md
         | 
| 165 165 | 
             
            - tests/bootcamp/tasks/bootcamp.coffee
         | 
| 166 166 | 
             
            - tests/bootcamp/test/core/functions/_actual.scss
         | 
| 167 167 | 
             
            - tests/bootcamp/test/core/functions/_expect.scss
         | 
| @@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 244 244 | 
             
                  version: '0'
         | 
| 245 245 | 
             
            requirements: []
         | 
| 246 246 | 
             
            rubyforge_project: flint
         | 
| 247 | 
            -
            rubygems_version: 2. | 
| 247 | 
            +
            rubygems_version: 2.4.6
         | 
| 248 248 | 
             
            signing_key: 
         | 
| 249 249 | 
             
            specification_version: 4
         | 
| 250 250 | 
             
            summary: A highly advanced Sass grid framework designed for rapid responsive development.
         |