angular-material-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +4 -0
- data/README.md +2 -14
- data/Rakefile +2 -1
- data/bin/download_angular_material.rb +3 -1
- data/lib/angular-material-rails.rb +2 -0
- data/lib/angular_material/rails.rb +0 -1
- data/lib/angular_material/rails/engine.rb +1 -1
- data/lib/angular_material/rails/version.rb +1 -1
- data/vendor/assets/javascripts/angular-material-rails.js.erb +1 -0
- data/vendor/assets/stylesheets/angular-material-rails.scss +6 -0
- metadata +4 -2
- data/lib/angular_material_rails.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d38dd54361a5b0003154d67f46e4320f676bdcc
|
4
|
+
data.tar.gz: 17f4f21824c7daee94e5667e3b508dc00fddb090
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c008a5a06d26ff71a582e2c68a1683bef34217b77a215cfff8955f8e569900d58fcb0a019bf7a4713856426debe36a22019f0c94a9274a3fdf933daefe272da4
|
7
|
+
data.tar.gz: d6d9a41e9368b137b9c9a4c5837fad153145df84bfb0d1417849352cbab2da798c12bf91a1189eb80ee6afdc19f629738d7d9a528e5a8b1edf7502f14db923f7
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# angular-material-rails
|
2
2
|
|
3
3
|
This gem provides:
|
4
4
|
|
@@ -18,16 +18,4 @@ Keep in mind that Angular Material is downloaded during the gem installation and
|
|
18
18
|
|
19
19
|
$ gem install angular-material-rails --verbose
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
Add to `app/assets/javascripts/application.js`:
|
24
|
-
|
25
|
-
//= require angular-material
|
26
|
-
|
27
|
-
Add to `app/assets/stylesheets/application.css` (you can change the theme with your favorite)
|
28
|
-
|
29
|
-
*= require angular-material
|
30
|
-
|
31
|
-
More about Angular Material Theming:
|
32
|
-
|
33
|
-
[https://material.angularjs.org/latest/Theming/03_configuring_a_theme](https://material.angularjs.org/latest/Theming/03_configuring_a_theme)
|
21
|
+
## A work in progress...
|
data/Rakefile
CHANGED
@@ -11,5 +11,6 @@ task :download_angular_material do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
task :install_angular_material do
|
14
|
-
|
14
|
+
FileUtils.cp_r "angular-material/material-1.0.0-rc2/src","vendor/assets/javascripts/angular-material"
|
15
|
+
FileUtils.cp_r "angular-material/material-1.0.0-rc2/src","vendor/assets/stylesheets/angular-material"
|
15
16
|
end
|
@@ -7,7 +7,7 @@ require 'fileutils'
|
|
7
7
|
def download_angular_material(angulal_material_zip=nil)
|
8
8
|
$VERBOSE = true
|
9
9
|
size = ""
|
10
|
-
angular_material_zip = 'https://github.com/angular/material/archive/
|
10
|
+
angular_material_zip = 'https://github.com/angular/material/archive/v1.0.0-rc2.zip'
|
11
11
|
puts "Get #{angular_material_zip}"
|
12
12
|
open( angular_material_zip,
|
13
13
|
:content_length_proc => lambda {|t|
|
@@ -28,5 +28,7 @@ def download_angular_material(angulal_material_zip=nil)
|
|
28
28
|
}
|
29
29
|
end
|
30
30
|
}
|
31
|
+
FileUtils.cp_r "angular-material/material-1.0.0-rc2/src","../vendor/assets/javascripts/angular-material"
|
32
|
+
FileUtils.cp_r "angular-material/material-1.0.0-rc2/src","../vendor/assets/stylesheets/angular-material"
|
31
33
|
puts "Download and extract Angular Material [OK] "
|
32
34
|
end
|
@@ -5,7 +5,7 @@ module AngularMaterial
|
|
5
5
|
module Rails
|
6
6
|
class Engine < ::Rails::Engine
|
7
7
|
initializer "add assets" do |app|
|
8
|
-
#app.assets.
|
8
|
+
#app.config.assets.paths << "#{Gem.loaded_specs['compass-core'].full_gem_path}/stylesheets"
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require 'angular-material/core/core'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angular-material-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Vangelov
|
@@ -41,10 +41,12 @@ files:
|
|
41
41
|
- angular-material-rails.gemspec
|
42
42
|
- bin/download_angular_material.rb
|
43
43
|
- ext/mkrf_conf.rb
|
44
|
+
- lib/angular-material-rails.rb
|
44
45
|
- lib/angular_material/rails.rb
|
45
46
|
- lib/angular_material/rails/engine.rb
|
46
47
|
- lib/angular_material/rails/version.rb
|
47
|
-
-
|
48
|
+
- vendor/assets/javascripts/angular-material-rails.js.erb
|
49
|
+
- vendor/assets/stylesheets/angular-material-rails.scss
|
48
50
|
homepage: http://rubygems.org/gems/angular-material-rails
|
49
51
|
licenses:
|
50
52
|
- AV
|