frontend-generators 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c80495bb6c1aed36f3fd6dde02f3c63180443f39
4
- data.tar.gz: c96ba8996bbfac0507f920692a37c7252800cce1
3
+ metadata.gz: 06b35b113ec1429bd93121503d658b01b7fe8a35
4
+ data.tar.gz: 8b3d39e235e860830d7811ca9ad392b3900dd6fe
5
5
  SHA512:
6
- metadata.gz: 5e4c5ea3dfdefab4c60d855cc9f05ce4ea0cccc64a3ffa203547bfab6797e8d49cb13c3f6c08cf73b2b53a5be16782eedd2457ac2ad0d1b9c5baaa9193205840
7
- data.tar.gz: 9f75fc5b9995e762d8c675295ac467bc95de893e0ee83b27fde54cbc563691fa549e7e21b795ad406e292b6b328d1575a23cba1c73bc495583fac69511b24cd7
6
+ metadata.gz: 15e92fe6a5e34757fc6408b99aa5f293c5c7c289e6d4da2ac2afaa463a1a27d51129fc282a70cea2c9bc327f75999e8c6698b7ffac465a34f0631c5764a5ed06
7
+ data.tar.gz: da0a2337d7c58f6e8217042b30e7b77a3680b86b8cf6992f7ac55ebc3cc73ce4a7d2bbfef615cfc40c63d9f8c1d572ae915894a4d55f49a9a8d2e799c452573d
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rspec/core/rake_task"
3
3
 
4
+ require_relative "./lib/frontend_generators.rb"
5
+
4
6
  RSpec::Core::RakeTask.new(:spec)
5
7
 
6
8
  task :default => :spec
@@ -1,3 +1,3 @@
1
1
  module FrontendGenerators
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -1,27 +1,11 @@
1
1
  namespace :add_assets do
2
2
 
3
- desc "Add Bootstrap assets to your project"
4
- task :bootstrap do
5
- copier = FrontendGenerators::AssetsCopier.new("assets/bootstrap/")
6
- copier.copy_assets
7
- end
8
-
9
- desc "Add Font-Awesome assets to your project"
10
- task :font_awesome do
11
- copier = FrontendGenerators::AssetsCopier.new("assets/font_awesome/")
12
- copier.copy_assets
13
- end
14
-
15
- desc "Add stylish_portfolio to your project"
16
- task :stylish_portfolio do
17
- copier = FrontendGenerators::AssetsCopier.new("assets/stylish_portfolio/")
18
- copier.copy_assets
19
- end
20
-
21
- desc "Add Start Bootstrap Creative to your project"
22
- task :creative do
23
- copier = FrontendGenerators::AssetsCopier.new("assets/creative/")
24
- copier.copy_assets
3
+ [:bootstrap, :creative, :font_awesome, :freelancer, :stylish_portfolio].each do |asset|
4
+ desc "Add #{asset} assets to your project"
5
+ task asset do
6
+ copier = FrontendGenerators::AssetsCopier.new(asset)
7
+ copier.copy_assets
8
+ end
25
9
  end
26
10
 
27
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frontend-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - MrPowers