jquery-colorbox-rails 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffe500d948cf5611ee2e3be284912a8a08f82fad
4
- data.tar.gz: c8c04258e198cbcc5310469fccaf77ef76b938a7
3
+ metadata.gz: 3d07c92a7059403eaf4b3bfd3cba89b3d6c00ff8
4
+ data.tar.gz: 81ae40e1a70400a6f4d6deddf133aed9002e29b7
5
5
  SHA512:
6
- metadata.gz: 4479fd9bc6badd6e70c8d3ece9f027d95c7244d9bdfa07a26d12be22a9aa7358c52c7ad05f7471ec0d9f8d0470daae5cd19b58b45de936b5b47e4d43bbd9c071
7
- data.tar.gz: b96949cacd0e65278417baf5b485477f53eda49115817e2f23683ded6da8e40b18c3935f7546728b8f3a342b7180901570b8077c9ea5f7684613b329864f0c1c
6
+ metadata.gz: 1d4156a7909469891687b10ef1357f71bca6d533ef994c7c3d1d29c51241cef43e6e23df1ecaf0b739fc17ec4a68bfa64e3a8ef5b81455e6f0117794e38a4f74
7
+ data.tar.gz: 9984c717bf31f9d1c4871006465d50e4445ac08fc5be199c85bb5809b6b3853644698f4236c0dba9f7eafa4399dcec0e27c95d1bd97b801a651fed8728f78be2
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2013 Krzysztof Knapik <knapo@knapo.net>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1,3 +1,15 @@
1
1
  #!/usr/bin/env rake
2
2
  require 'bundler/setup'
3
- require 'bundler/gem_tasks'
3
+ require 'bundler/gem_tasks'
4
+
5
+ task :update do
6
+ puts 'Updating source files...'
7
+ `git submodule update`
8
+
9
+ puts 'Copying source files...'
10
+ source_files = Dir['colorbox/**/*.js'].reject{ |file| file =~ /.min.js\Z/}
11
+ source_files.each do |file|
12
+ puts "#{file}"
13
+ FileUtils.cp(file, 'vendor/assets/javascripts')
14
+ end
15
+ end
@@ -1,5 +1,4 @@
1
1
  module JqueryColorbox
2
2
  class Engine < Rails::Engine
3
- isolate_namespace JqueryColorbox
4
3
  end
5
4
  end
@@ -1,3 +1,3 @@
1
1
  module JqueryColorbox
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-colorbox-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
@@ -88,6 +88,7 @@ files:
88
88
  - vendor/assets/javascripts/jquery.colorbox-tr.js
89
89
  - vendor/assets/javascripts/jquery.colorbox-zh-CN.js
90
90
  - vendor/assets/javascripts/jquery.colorbox.js
91
+ - MIT-LICENSE
91
92
  - Rakefile
92
93
  - README.md
93
94
  homepage: https://github.com/knapo/jquery-colorbox-rails