zassets 0.1.9 → 0.1.10

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.
data/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ Copyright 2012 Thibault Jouan. All rights reserved.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are met:
5
+ * Redistributions of source code must retain the above copyright notice, this
6
+ list of conditions and the following disclaimer.
7
+ * Redistributions in binary form must reproduce the above copyright notice,
8
+ this list of conditions and the following disclaimer in the documentation
9
+ and/or other materials provided with the distribution.
10
+ * Neither the name of the software nor the names of its contributors may be
11
+ used to endorse or promote products derived from this software without
12
+ specific prior written permission.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS "AS IS" AND ANY
15
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY
18
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -1,3 +1,3 @@
1
1
  module ZAssets
2
- VERSION = '0.1.9'
2
+ VERSION = '0.1.10'
3
3
  end
@@ -9,25 +9,14 @@ module ZAssets
9
9
  let(:config_file) { fixture_path_for 'config/zassets.yaml' }
10
10
 
11
11
  describe '#initialize' do
12
- context 'with an empty option hash' do
13
- it 'assigns #default_options to @options' do
14
- config.instance_eval { @options }.should == config.default_options
15
- end
12
+ it 'assigns #default_options to @options' do
13
+ config.instance_eval { @options }.should == config.default_options
16
14
  end
17
15
 
18
16
  context 'with a non-empty option hash' do
19
- subject(:config) { Config.new(some_option: :some_value)}
20
-
21
17
  it 'merges the option hash' do
22
- config[:some_option].should == :some_value
23
- end
24
-
25
- it 'merges the option hash after default options' do
26
- Config.any_instance.stub(:default_options) {
27
- { some_option: :default_value }
28
- }
29
- config = Config.new(some_option: :argument_value)
30
- config[:some_option].should == :argument_value
18
+ config = Config.new(verbose: true)
19
+ config[:verbose].should == true
31
20
  end
32
21
  end
33
22
 
data/zassets.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.files = `git ls-files`.split "\n"
17
17
  s.executables = s.files.grep(/\Abin\//).map { |f| File.basename(f) }
18
18
 
19
- s.add_dependency 'sprockets', '2.6'
19
+ s.add_dependency 'sprockets', '2.8.1'
20
20
 
21
21
  s.add_dependency 'puma', '~> 1.6'
22
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zassets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-11 00:00:00.000000000 Z
12
+ date: 2012-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: '2.6'
21
+ version: 2.8.1
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: '2.6'
29
+ version: 2.8.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: puma
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -151,6 +151,7 @@ files:
151
151
  - .gitignore
152
152
  - Gemfile
153
153
  - Guardfile
154
+ - LICENSE
154
155
  - README.md
155
156
  - bin/zassets
156
157
  - lib/sprockets/less_template.rb
@@ -199,5 +200,6 @@ rubyforge_project:
199
200
  rubygems_version: 1.8.23
200
201
  signing_key:
201
202
  specification_version: 3
202
- summary: zassets-0.1.9
203
+ summary: zassets-0.1.10
203
204
  test_files: []
205
+ has_rdoc: