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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b5a93eace61e1677ee7b670f85a00760a28bdce
4
- data.tar.gz: 5e3b08b0fa2d4cb3ed5bd7053c74790d3f732837
3
+ metadata.gz: 8d38dd54361a5b0003154d67f46e4320f676bdcc
4
+ data.tar.gz: 17f4f21824c7daee94e5667e3b508dc00fddb090
5
5
  SHA512:
6
- metadata.gz: 85173d49c2328e446a50f07a943bccd1efa1096dbd3add114adb7e7eb67eaea34b7e5fa1ce0b5bd32b57d239495d0074e0c31209efe97e9947fd1512cabbff86
7
- data.tar.gz: 6bd6a01176621477d9bf83a045d770025efb31764cd4328e73e5b0df97e364d3bef3e3575e9aa69be1f7a0eeb6897f32520c8dc7763a7fe0e8f6a1be4b6c5662
6
+ metadata.gz: c008a5a06d26ff71a582e2c68a1683bef34217b77a215cfff8955f8e569900d58fcb0a019bf7a4713856426debe36a22019f0c94a9274a3fdf933daefe272da4
7
+ data.tar.gz: d6d9a41e9368b137b9c9a4c5837fad153145df84bfb0d1417849352cbab2da798c12bf91a1189eb80ee6afdc19f629738d7d9a528e5a8b1edf7502f14db923f7
data/.gitignore CHANGED
@@ -2,3 +2,4 @@ sencha-touch-rails-*.gem
2
2
  pkg
3
3
  .project
4
4
  Gemfile.lock
5
+ angular-material
@@ -1,3 +1,7 @@
1
+ ## 0.0.2 (3 Nov 2015)
2
+
3
+ - Extract material to assets visible folders
4
+
1
5
  ## 0.0.1 (3 Nov 2015)
2
6
 
3
7
  - Download master Angular Material
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # sencha-touch-rails
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
- The Angular Material files will be added to the asset pipeline and available to use.
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/master.zip'
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
@@ -0,0 +1,2 @@
1
+ require 'angular_material/rails'
2
+
@@ -2,6 +2,5 @@ module AngularMaterial
2
2
  module Rails
3
3
  require 'angular_material/rails/engine'
4
4
  require 'angular_material/rails/version'
5
- require 'angular_material/rails/template'
6
5
  end
7
6
  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.register_engine '.angular-material', AngularMaterial::Rails::Template
8
+ #app.config.assets.paths << "#{Gem.loaded_specs['compass-core'].full_gem_path}/stylesheets"
9
9
  end
10
10
  end
11
11
  end
@@ -1,6 +1,6 @@
1
1
  module AngularMaterial
2
2
  module Rails
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  ANGULAR_MATERIAL_VERSION = "Github master"
5
5
  end
6
6
  end
@@ -0,0 +1 @@
1
+ //= require 'angular-material/core/core'
@@ -0,0 +1,6 @@
1
+ /*
2
+ This file includes Angualr Material base stylesheet files in Rails Asset Pipeline
3
+ @author Alex Vangelov <email@data.bg>
4
+ */
5
+ @import 'angular-material/core/style/variables.scss';
6
+ @import 'angular-material/core/style/mixins.scss';
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.1
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
- - lib/angular_material_rails.rb
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
@@ -1,2 +0,0 @@
1
- require 'angular-material/rails'
2
-