masonry2-rails 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ebdd6d2de5da49c834592862d5f1dd34e21851ff
4
+ data.tar.gz: 97651874565a5934ce409c3569e76afbf38698c2
5
+ SHA512:
6
+ metadata.gz: 811a354a06b9f9a7bb64972f982bfa5c3527dd6e221e599f551aeea4bdaf773cef89b4f2efa3917f1d91e439c2b8b1212a373bd145d17b20170be572d9ad9bdd
7
+ data.tar.gz: 477760439ea828893218a2ed34bade1b8559ee351306e2aef0f2ff279562d8b46d476bf0a1384c34e8ba1a7db180e030a7d5e4b44a73f37ffc8009f5c6e574af
data/MIT-LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Andrew H. Yi
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 ADDED
@@ -0,0 +1,24 @@
1
+ # masonry2-rails
2
+
3
+ masonry2-rails wraps the [jQuery Masonry](http://masonry.desandro.com/) library for use in Rails 4.0 and above. Assets will minify automatically during production.
4
+
5
+ ## Usage
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'masonry2-rails'
11
+ ```
12
+
13
+ Add the following directive to your JavaScript manifest file (application.js):
14
+
15
+ //= require masonry
16
+
17
+ ## Contributing
18
+
19
+ Bug reports and pull requests are welcome on GitHub at https://github.com/AndrewHYi/masonry2-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
20
+
21
+
22
+ ## License
23
+
24
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ module Masonry2
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,3 @@
1
+ require 'sprockets'
2
+
3
+ Sprockets.append_path File.expand_path("../../../vendor/assets/javascripts", __FILE__)
@@ -0,0 +1,5 @@
1
+ module Masonry2
2
+ module Rails
3
+ VERSION = "3.3.0"
4
+ end
5
+ end
@@ -0,0 +1,11 @@
1
+ require "masonry2-rails/version"
2
+
3
+ module Masonry2
4
+ module Rails
5
+ if defined? ::Rails::Engine
6
+ require "masonry2-rails/engine"
7
+ elsif defined? Sprockets
8
+ require "masonry2-rails/sprockets"
9
+ end
10
+ end
11
+ end