├── Gemfile ├── MIT-LICENSE ├── README.md ├── Rakefile ├── lib ├── rails-angular-material.rb └── rails-angular-material │ ├── engine.rb │ └── version.rb ├── rails-angular-material.gemspec └── vendor └── assets ├── javascripts ├── angular-material.js └── angular-material.min.js └── stylesheets ├── angular-material.css └── angular-material.min.css /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # Declare your gem's dependencies in angular_strap_rails.gemspec. 4 | gemspec -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright 2015 Alexander Bobrov 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. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # rails-angular-material Gem Version 2 | 3 | rails-angular-material wraps the [AngularMaterial](https://material.angularjs.org/) framework for use in Rails 3.1 and above. 4 | 5 | ## Usage 6 | 7 | Add the following to your Gemfile: 8 | 9 | gem 'rails-angular-material' 10 | 11 | Add the following to your Rails JavaScript manifest file: 12 | 13 | //= require angular-material 14 | 15 | And CSS file: 16 | 17 | *= require angular-material 18 | 19 | If you desire to require minified AngularMaterial files, add the following: 20 | 21 | //= require angular-material.min 22 | *= require angular-material.min 23 | 24 | ## Versioning 25 | 26 | Current version of AngularMaterial - 1.1.0-rc1 27 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexkpek/rails-angular-material/56cda3ad6bfeb78a01d167bb088d31692635bb1d/Rakefile -------------------------------------------------------------------------------- /lib/rails-angular-material.rb: -------------------------------------------------------------------------------- 1 | require "rails-angular-material/version" 2 | 3 | module RailsAngularMaterial 4 | if defined? ::Rails::Engine 5 | require "rails-angular-material/engine" 6 | else 7 | puts "You should use Rails 3.1+ and higher with rails-angular-material!" 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /lib/rails-angular-material/engine.rb: -------------------------------------------------------------------------------- 1 | module RailsAngularMaterial 2 | class Engine < ::Rails::Engine 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /lib/rails-angular-material/version.rb: -------------------------------------------------------------------------------- 1 | module AngularMaterialRails 2 | VERSION = "1.1.0-rc1" 3 | end 4 | -------------------------------------------------------------------------------- /rails-angular-material.gemspec: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | require File.expand_path("../lib/rails-angular-material/version", __FILE__) 3 | 4 | # Describe your gem and declare its dependencies: 5 | Gem::Specification.new do |s| 6 | s.name = "rails-angular-material" 7 | s.version = AngularMaterialRails::VERSION 8 | s.date = Time.new.strftime("%Y-%m-%d") 9 | s.summary = "AngularMaterial on Rails" 10 | s.description = "Injects AngularMaterial into your asset pipeline." 11 | s.authors = ["Alexander Bobrov"] 12 | s.email = "alexander@devvela.com" 13 | s.files = Dir["{lib,vendor}/**/*"] + ["MIT-LICENSE", "README.md"] 14 | s.homepage = "https://github.com/alexkpek/rails-angular-material" 15 | s.license = "MIT" 16 | end 17 | --------------------------------------------------------------------------------