angular-material-rails 0.0.2 → 0.0.3

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: 8d38dd54361a5b0003154d67f46e4320f676bdcc
4
- data.tar.gz: 17f4f21824c7daee94e5667e3b508dc00fddb090
3
+ metadata.gz: 603cd752d7dfab83a99a3b10b56fc2c820b2dc8b
4
+ data.tar.gz: 2caaa60db7f36ca6d523c2ba04a6352685090d75
5
5
  SHA512:
6
- metadata.gz: c008a5a06d26ff71a582e2c68a1683bef34217b77a215cfff8955f8e569900d58fcb0a019bf7a4713856426debe36a22019f0c94a9274a3fdf933daefe272da4
7
- data.tar.gz: d6d9a41e9368b137b9c9a4c5837fad153145df84bfb0d1417849352cbab2da798c12bf91a1189eb80ee6afdc19f629738d7d9a528e5a8b1edf7502f14db923f7
6
+ metadata.gz: 1079271821e8b8a8e90e87c88177bded356df0306fd25d669f92f83943c7a8ee0492b1d5b01db97a9fccd19082849700b1d138db5c4e74d88c7c4132489dc8e6
7
+ data.tar.gz: 25f5344c9f84fcdd073d5cea76f7b1b48a80b2b85e29ef6c70f197b0ea3e6d4c3a4b847f5ae0553360fcba1d6eb0132529b120560a7489670dfe2eb512925153
data/.gitignore CHANGED
@@ -2,4 +2,6 @@ sencha-touch-rails-*.gem
2
2
  pkg
3
3
  .project
4
4
  Gemfile.lock
5
- angular-material
5
+ /angular-material
6
+ components
7
+ core
@@ -1,7 +1,11 @@
1
+ ## 0.0.3 (4 Nov 2015)
2
+
3
+ - Javascript assets schema
4
+
1
5
  ## 0.0.2 (3 Nov 2015)
2
6
 
3
7
  - Extract material to assets visible folders
4
8
 
5
9
  ## 0.0.1 (3 Nov 2015)
6
10
 
7
- - Download master Angular Material
11
+ - Download master Angular Material
data/README.md CHANGED
@@ -18,4 +18,52 @@ 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
+ 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-rails
26
+
27
+ To include only choosen Angular Material components, create `app/assets/stylesheets/angular-material-custom` and use:
28
+
29
+ //= require ./angular-material/core
30
+
31
+ //= require ./angular-material/autocomplete
32
+ //= require ./angular-material/backdrop
33
+ //= require ./angular-material/bottomSheet
34
+ //= require ./angular-material/button
35
+ //= require ./angular-material/card
36
+ //= require ./angular-material/checkbox
37
+ //= require ./angular-material/chips
38
+ //= require ./angular-material/content
39
+ //= require ./angular-material/datepicker
40
+ //= require ./angular-material/dialog
41
+ //= require ./angular-material/divider
42
+ //= require ./angular-material/fabActions
43
+ //= require ./angular-material/fabSpeedDial
44
+ //= require ./angular-material/fabToolbar
45
+ //= require ./angular-material/fabTrigger
46
+ //= require ./angular-material/gridList
47
+ //= require ./angular-material/icon
48
+ //= require ./angular-material/input
49
+ //= require ./angular-material/list
50
+ //= require ./angular-material/menu
51
+ //= require ./angular-material/menuBar
52
+ //= require ./angular-material/progressCircular
53
+ //= require ./angular-material/progressLinear
54
+ //= require ./angular-material/radioButton
55
+ //= require ./angular-material/select
56
+ //= require ./angular-material/sidenav
57
+ //= require ./angular-material/slider
58
+ //= require ./angular-material/sticky
59
+ //= require ./angular-material/subheader
60
+ //= require ./angular-material/swipe
61
+ //= require ./angular-material/switch
62
+ //= require ./angular-material/tabs
63
+ //= require ./angular-material/toast
64
+ //= require ./angular-material/toolbar
65
+ //= require ./angular-material/tooltip
66
+ //= require ./angular-material/virtualRepeat
67
+ //= require ./angular-material/whiteframe
68
+
21
69
  ## A work in progress...
data/Rakefile CHANGED
@@ -11,6 +11,6 @@ task :download_angular_material do
11
11
  end
12
12
 
13
13
  task :install_angular_material do
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"
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"
16
16
  end
@@ -21,14 +21,16 @@ def download_angular_material(angulal_material_zip=nil)
21
21
  "User-Agent" => "Mozilla/5.0 (X11; U; Linux; i686; en-US; rv:1.6) Gecko Debian/1.6-7","Referer" => "http://rubygems.org/gems/angular-material-rails") {|zf|
22
22
  Zip::File.open(zf.path) do |zipfile|
23
23
  zipfile.each{|e|
24
- print "Extracting #{File.basename(e.to_s)} \r"
25
- fpath = File.join('angular-material', e.to_s)
26
- FileUtils.mkdir_p(File.dirname(fpath))
27
- zipfile.extract(e, fpath){ true }
24
+ unless e.to_s =~ /\.spec\.js$/
25
+ print "Extracting #{File.basename(e.to_s)} \r"
26
+ fpath = File.join('angular-material', e.to_s)
27
+ FileUtils.mkdir_p(File.dirname(fpath))
28
+ zipfile.extract(e, fpath){ true }
29
+ end
28
30
  }
29
31
  end
30
32
  }
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"
33
+ FileUtils.cp_r "angular-material/material-1.0.0-rc2/src/.", "../vendor/assets/javascripts/angular-material"
34
+ FileUtils.cp_r "angular-material/material-1.0.0-rc2/src/.", "../vendor/assets/stylesheets/angular-material"
33
35
  puts "Download and extract Angular Material [OK] "
34
36
  end
@@ -1,6 +1,6 @@
1
1
  module AngularMaterial
2
2
  module Rails
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  ANGULAR_MATERIAL_VERSION = "Github master"
5
5
  end
6
6
  end
@@ -1 +1,40 @@
1
- //= require 'angular-material/core/core'
1
+ //= require ./angular-material/core
2
+
3
+ //= require ./angular-material/autocomplete
4
+ //= require ./angular-material/backdrop
5
+ //= require ./angular-material/bottomSheet
6
+ //= require ./angular-material/button
7
+ //= require ./angular-material/card
8
+ //= require ./angular-material/checkbox
9
+ //= require ./angular-material/chips
10
+ //= require ./angular-material/content
11
+ //= require ./angular-material/datepicker
12
+ //= require ./angular-material/dialog
13
+ //= require ./angular-material/divider
14
+ //= require ./angular-material/fabActions
15
+ //= require ./angular-material/fabSpeedDial
16
+ //= require ./angular-material/fabToolbar
17
+ //= require ./angular-material/fabTrigger
18
+ //= require ./angular-material/gridList
19
+ //= require ./angular-material/icon
20
+ //= require ./angular-material/input
21
+ //= require ./angular-material/list
22
+ //= require ./angular-material/menu
23
+ //= require ./angular-material/menuBar
24
+ //= require ./angular-material/progressCircular
25
+ //= require ./angular-material/progressLinear
26
+ //= require ./angular-material/radioButton
27
+ //= require ./angular-material/select
28
+ //= require ./angular-material/sidenav
29
+ //= require ./angular-material/slider
30
+ //= require ./angular-material/sticky
31
+ //= require ./angular-material/subheader
32
+ //= require ./angular-material/swipe
33
+ //= require ./angular-material/switch
34
+ //= require ./angular-material/tabs
35
+ //= require ./angular-material/toast
36
+ //= require ./angular-material/toolbar
37
+ //= require ./angular-material/tooltip
38
+ //= require ./angular-material/virtualRepeat
39
+ //= require ./angular-material/whiteframe
40
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angular-material-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Vangelov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-04 00:00:00.000000000 Z
11
+ date: 2015-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip