tanraya-playmo 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,32 +1,13 @@
1
- require "tanraya_playmo/version"
1
+ #require "tanraya_playmo/version"
2
2
  require "playmo"
3
3
 
4
4
  module TanrayaPlaymo
5
- extend ActiveSupport::Autoload
5
+ # Retrieve Cookbook instance
6
+ cookbook = ::Playmo::Cookbook.instance
6
7
 
7
- # We can remove unnecessary recipes
8
- # ::Playmo::Cookbook.instance.delete(::Playmo::Recipes::MarkupRecipe)
9
-
10
- autoload :Cli
11
-
12
- # MarkupRecipe
13
- # AssetsRecipe
14
- # ApplicationControllerRecipe
15
- # CompassRecipe
16
- # FormsRecipe
17
- # JavascriptFrameworkRecipe
18
- # DeviseRecipe
19
- # LayoutRecipe
20
- # HomeControllerRecipe
21
- # ApplicationHelperRecipe
22
- # UnicornRecipe
23
- # ThinkingSphinxRecipe
24
- # RspecRecipe
25
- # CapistranoRecipe
26
- # RvmRecipe
27
- # SetupDatabaseRecipe
28
- # GitRecipe
29
- # GemfileRecipe
30
- # CongratsRecipe
8
+ # Remove all recipes from Cookbook
9
+ #cookbook.delete_all
31
10
 
11
+ # Load custom recipes
12
+ Dir["#{File.dirname(__FILE__)}/tanraya_playmo/recipes/*_recipe.rb"].each { |f| require f }
32
13
  end
@@ -0,0 +1,8 @@
1
+ recipe :dragonfly do
2
+ description 'This will add Dragondly gem into your app'
3
+ after :rails
4
+
5
+ ask "Would you like to use Dragonfly in this project?" do
6
+ gem "dragonfly"
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module TanrayaPlaymo
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tanraya-playmo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-02 00:00:00.000000000Z
12
+ date: 2012-01-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &73937480 !ruby/object:Gem::Requirement
16
+ requirement: &82604730 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *73937480
24
+ version_requirements: *82604730
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: playmo
27
- requirement: &73937180 !ruby/object:Gem::Requirement
27
+ requirement: &82604420 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *73937180
35
+ version_requirements: *82604420
36
36
  description: This just only for my purposes
37
37
  email:
38
38
  - andrew@tanraya.com
@@ -49,6 +49,7 @@ files:
49
49
  - bin/tanraya-playmo
50
50
  - lib/tanraya-playmo.rb
51
51
  - lib/tanraya_playmo/cli.rb
52
+ - lib/tanraya_playmo/recipes/dragonfly_recipe.rb
52
53
  - lib/tanraya_playmo/version.rb
53
54
  - tanraya-playmo.gemspec
54
55
  homepage: https://github.com/tanraya/tanraya-playmo