marv 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/.document +5 -0
  2. data/CHANGELOG.md +13 -0
  3. data/Gemfile +8 -10
  4. data/Gemfile.lock +16 -43
  5. data/LICENSE +0 -24
  6. data/README.md +9 -10
  7. data/Rakefile +4 -20
  8. data/VERSION +1 -1
  9. data/bin/marv +1 -1
  10. data/layouts/config/global.rb +31 -0
  11. data/layouts/config/project.rb +27 -0
  12. data/layouts/config/{router.php.erb → router.php} +5 -1
  13. data/layouts/config/server.rb +12 -0
  14. data/layouts/config/{wp-config.php.erb → wp-config.php} +0 -0
  15. data/layouts/plugin/{images → assets/images}/screenshot.png +0 -0
  16. data/layouts/plugin/{javascripts → assets/javascripts}/admin.coffee +0 -0
  17. data/layouts/plugin/{javascripts → assets/javascripts}/admin.js +0 -0
  18. data/layouts/plugin/{javascripts → assets/javascripts}/plugin.coffee +0 -0
  19. data/layouts/plugin/assets/javascripts/plugin.js +1 -0
  20. data/layouts/plugin/{stylesheets → assets/stylesheets}/plugin.scss +0 -0
  21. data/layouts/plugin/functions/{plugin.php.erb → plugin.php} +8 -7
  22. data/layouts/theme/{images → assets/images}/screenshot.png +0 -0
  23. data/layouts/theme/{javascripts → assets/javascripts}/admin.coffee +0 -0
  24. data/layouts/theme/{javascripts → assets/javascripts}/admin.js +0 -0
  25. data/layouts/theme/{javascripts → assets/javascripts}/theme.coffee +0 -0
  26. data/layouts/theme/{javascripts → assets/javascripts}/theme.js +0 -0
  27. data/layouts/theme/assets/stylesheets/_header.scss +18 -0
  28. data/layouts/theme/{stylesheets/style.scss.erb → assets/stylesheets/style.scss} +0 -0
  29. data/layouts/theme/functions/{functions.php.erb → functions.php} +0 -0
  30. data/layouts/theme/includes/{filters-admin.php.erb → filters-admin.php} +0 -0
  31. data/layouts/theme/includes/{filters.php.erb → filters.php} +0 -0
  32. data/layouts/theme/includes/{helpers.php.erb → helpers.php} +0 -0
  33. data/layouts/theme/templates/{404.php.erb → pages/404.php} +0 -0
  34. data/layouts/theme/templates/{archive.php.erb → pages/archive.php} +0 -0
  35. data/layouts/theme/templates/{author.php.erb → pages/author.php} +0 -0
  36. data/layouts/theme/templates/{search.php.erb → pages/search.php} +0 -0
  37. data/layouts/theme/templates/partials/{comments.php.erb → comments.php} +0 -0
  38. data/layouts/theme/templates/partials/{content-none.php.erb → content-none.php} +0 -0
  39. data/layouts/theme/templates/partials/{content.php.erb → content.php} +0 -0
  40. data/layouts/theme/templates/partials/{searchform.php.erb → searchform.php} +0 -0
  41. data/lib/marv.rb +8 -8
  42. data/lib/marv/cli.rb +15 -192
  43. data/lib/marv/cli/project.rb +57 -0
  44. data/lib/marv/cli/server.rb +65 -0
  45. data/lib/marv/global.rb +285 -0
  46. data/lib/marv/project/actions.rb +144 -0
  47. data/lib/marv/project/builder.rb +61 -0
  48. data/lib/marv/project/builder/assets.rb +112 -0
  49. data/lib/marv/{engines.rb → project/builder/engines.rb} +3 -1
  50. data/lib/marv/project/builder/functions.rb +112 -0
  51. data/lib/marv/project/builder/templates.rb +37 -0
  52. data/lib/marv/project/create.rb +139 -0
  53. data/lib/marv/project/guard.rb +83 -0
  54. data/lib/marv/project/guard/assets.rb +37 -0
  55. data/lib/{guard/marv → marv/project/guard}/config.rb +5 -9
  56. data/lib/marv/project/guard/functions.rb +44 -0
  57. data/lib/marv/project/guard/templates.rb +35 -0
  58. data/lib/marv/project/project.rb +149 -0
  59. data/lib/marv/server/actions.rb +79 -0
  60. data/lib/marv/server/create.rb +100 -0
  61. data/lib/marv/server/server.rb +201 -0
  62. data/marv.gemspec +69 -71
  63. metadata +82 -107
  64. data/.rspec +0 -1
  65. data/features/step_definitions/marv_steps.rb +0 -38
  66. data/features/support/env.rb +0 -17
  67. data/layouts/config/project-config.rb +0 -17
  68. data/layouts/plugin/javascripts/plugin.js +0 -1
  69. data/layouts/theme/stylesheets/_header.scss.erb +0 -18
  70. data/lib/guard/marv/assets.rb +0 -33
  71. data/lib/guard/marv/folders.rb +0 -33
  72. data/lib/guard/marv/functions.rb +0 -34
  73. data/lib/guard/marv/templates.rb +0 -33
  74. data/lib/marv/builder.rb +0 -355
  75. data/lib/marv/error.rb +0 -8
  76. data/lib/marv/generator.rb +0 -140
  77. data/lib/marv/guard.rb +0 -68
  78. data/lib/marv/project.rb +0 -134
  79. data/lib/marv/server.rb +0 -284
  80. data/spec/lib/marv/project_spec.rb +0 -34
  81. data/spec/spec_helper.rb +0 -12
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/CHANGELOG.md CHANGED
@@ -1,8 +1,21 @@
1
+ ## v0.4.0
2
+ * Complete rewrite
3
+ * Make server subcommand
4
+ * Fix PHP server issues
5
+ * Add marv create wizard
6
+ * Add marv server create wizard
7
+ * Add global config wizard
8
+ * Update project config.rb and layouts
9
+ * Add config.rb for servers
10
+ * Update global config.rb
11
+ * Optimize code (code climate 4.0!)
12
+
1
13
  ## v0.3.2
2
14
  * Fix bug when creating server
3
15
  * Use Thor to download wordpress
4
16
  * Fix marv watch not compiling assets
5
17
  * Fix error when compression enabled
18
+ * Update router.php
6
19
 
7
20
  ## v0.3.1
8
21
  * Remove command servers
data/Gemfile CHANGED
@@ -1,25 +1,23 @@
1
- source 'http://rubygems.org'
1
+ source "http://rubygems.org"
2
2
  # Add dependencies required to use your gem here.
3
-
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
4
5
  gem 'thor', '>= 0.19.1'
5
6
  gem 'guard-livereload', '>= 2.3.0'
6
7
  gem 'sprockets', '>= 2.12.0'
7
- gem 'rubyzip', '>= 1.1.6'
8
8
  gem 'childprocess', '>= 0.3.5'
9
9
  gem 'mysql2', '>= 0.3.15'
10
+ gem 'uglifier', '>= 2.5.0'
10
11
  gem 'sass', '>= 3.3.0'
11
12
  gem 'less', '>= 2.6.0'
12
13
  gem 'coffee-script', '>= 2.3.0'
13
14
  gem 'therubyracer', '>= 0.12.0'
14
- gem 'uglifier', '>= 2.5.0'
15
+ gem 'rubyzip', '>= 1.1.6'
15
16
 
16
17
  # Add dependencies to develop your gem here.
17
18
  # Include everything needed to run rake, tests, features, etc.
18
-
19
19
  group :development do
20
- gem 'rake'
21
- gem 'rspec'
22
- gem 'aruba'
23
- gem 'cucumber'
24
- gem 'jeweler'
20
+ gem "rdoc", "~> 3.12"
21
+ gem "bundler", "~> 1.0"
22
+ gem "jeweler", "~> 2.0.1"
25
23
  end
data/Gemfile.lock CHANGED
@@ -2,31 +2,19 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  addressable (2.3.6)
5
- aruba (0.4.11)
6
- childprocess (>= 0.2.3)
7
- cucumber (>= 1.1.1)
8
- ffi (>= 1.0.11)
9
- rspec (>= 2.7.0)
10
5
  builder (3.2.2)
11
- celluloid (0.15.2)
12
- timers (~> 1.1.0)
13
- childprocess (0.3.5)
14
- ffi (~> 1.0, >= 1.0.6)
6
+ celluloid (0.16.0)
7
+ timers (~> 4.0.0)
8
+ childprocess (0.5.3)
9
+ ffi (~> 1.0, >= 1.0.11)
15
10
  coderay (1.1.0)
16
11
  coffee-script (2.3.0)
17
12
  coffee-script-source
18
13
  execjs
19
- coffee-script-source (1.7.1)
14
+ coffee-script-source (1.8.0)
20
15
  commonjs (0.2.7)
21
- cucumber (1.3.16)
22
- builder (>= 2.1.2)
23
- diff-lcs (>= 1.1.3)
24
- gherkin (~> 2.12)
25
- multi_json (>= 1.7.5, < 2.0)
26
- multi_test (>= 0.1.1)
27
16
  descendants_tracker (0.0.4)
28
17
  thread_safe (~> 0.3, >= 0.3.1)
29
- diff-lcs (1.2.5)
30
18
  em-websocket (0.5.1)
31
19
  eventmachine (>= 0.12.9)
32
20
  http_parser.rb (~> 0.6.0)
@@ -36,8 +24,6 @@ GEM
36
24
  multipart-post (>= 1.2, < 3)
37
25
  ffi (1.9.3)
38
26
  formatador (0.2.5)
39
- gherkin (2.12.2)
40
- multi_json (~> 1.3)
41
27
  git (1.2.8)
42
28
  github_api (0.12.1)
43
29
  addressable (~> 2.3)
@@ -60,6 +46,7 @@ GEM
60
46
  hashie (3.3.1)
61
47
  highline (1.6.21)
62
48
  hike (1.2.3)
49
+ hitimes (1.2.2)
63
50
  http_parser.rb (0.6.0)
64
51
  jeweler (2.0.1)
65
52
  builder
@@ -74,7 +61,7 @@ GEM
74
61
  jwt (1.0.0)
75
62
  less (2.6.0)
76
63
  commonjs (~> 0.2.7)
77
- libv8 (3.16.14.3)
64
+ libv8 (3.16.14.7)
78
65
  listen (2.7.9)
79
66
  celluloid (>= 0.15.2)
80
67
  rb-fsevent (>= 0.9.3)
@@ -83,7 +70,6 @@ GEM
83
70
  method_source (0.8.2)
84
71
  mini_portile (0.6.0)
85
72
  multi_json (1.10.1)
86
- multi_test (0.1.1)
87
73
  multi_xml (0.5.5)
88
74
  multipart-post (2.0.0)
89
75
  mysql2 (0.3.16)
@@ -95,7 +81,7 @@ GEM
95
81
  multi_json (~> 1.3)
96
82
  multi_xml (~> 0.5)
97
83
  rack (~> 1.2)
98
- pry (0.10.0)
84
+ pry (0.10.1)
99
85
  coderay (~> 1.1.0)
100
86
  method_source (~> 0.8.1)
101
87
  slop (~> 3.4)
@@ -104,25 +90,13 @@ GEM
104
90
  rb-fsevent (0.9.4)
105
91
  rb-inotify (0.9.5)
106
92
  ffi (>= 0.5.0)
107
- rdoc (4.1.1)
93
+ rdoc (3.12.2)
108
94
  json (~> 1.4)
109
95
  ref (1.0.5)
110
- rspec (3.1.0)
111
- rspec-core (~> 3.1.0)
112
- rspec-expectations (~> 3.1.0)
113
- rspec-mocks (~> 3.1.0)
114
- rspec-core (3.1.1)
115
- rspec-support (~> 3.1.0)
116
- rspec-expectations (3.1.0)
117
- diff-lcs (>= 1.2.0, < 2.0)
118
- rspec-support (~> 3.1.0)
119
- rspec-mocks (3.1.0)
120
- rspec-support (~> 3.1.0)
121
- rspec-support (3.1.0)
122
96
  rubyzip (1.1.6)
123
- sass (3.3.14)
97
+ sass (3.4.5)
124
98
  slop (3.6.0)
125
- sprockets (2.12.1)
99
+ sprockets (2.12.2)
126
100
  hike (~> 1.2)
127
101
  multi_json (~> 1.0)
128
102
  rack (~> 1.0)
@@ -133,7 +107,8 @@ GEM
133
107
  thor (0.19.1)
134
108
  thread_safe (0.3.4)
135
109
  tilt (1.4.1)
136
- timers (1.1.0)
110
+ timers (4.0.1)
111
+ hitimes
137
112
  uglifier (2.5.3)
138
113
  execjs (>= 0.3.0)
139
114
  json (>= 1.8.0)
@@ -142,16 +117,14 @@ PLATFORMS
142
117
  ruby
143
118
 
144
119
  DEPENDENCIES
145
- aruba
120
+ bundler (~> 1.0)
146
121
  childprocess (>= 0.3.5)
147
122
  coffee-script (>= 2.3.0)
148
- cucumber
149
123
  guard-livereload (>= 2.3.0)
150
- jeweler
124
+ jeweler (~> 2.0.1)
151
125
  less (>= 2.6.0)
152
126
  mysql2 (>= 0.3.15)
153
- rake
154
- rspec
127
+ rdoc (~> 3.12)
155
128
  rubyzip (>= 1.1.6)
156
129
  sass (>= 3.3.0)
157
130
  sprockets (>= 2.12.0)
data/LICENSE CHANGED
@@ -18,27 +18,3 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
18
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
19
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
20
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
-
22
-
23
- LICENSES FOR PARTS OF THIS SOFTWARE
24
-
25
- Copyright (c) 2011 Jestro LLC
26
-
27
- Permission is hereby granted, free of charge, to any person obtaining
28
- a copy of this software and associated documentation files (the
29
- "Software"), to deal in the Software without restriction, including
30
- without limitation the rights to use, copy, modify, merge, publish,
31
- distribute, sublicense, and/or sell copies of the Software, and to
32
- permit persons to whom the Software is furnished to do so, subject to
33
- the following conditions:
34
-
35
- The above copyright notice and this permission notice shall be
36
- included in all copies or substantial portions of the Software.
37
-
38
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
40
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
42
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
43
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
44
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -3,11 +3,12 @@
3
3
  Marv is a free command-line toolkit for bootstrapping and developing WordPress themes and plugins in a tidy environment using front-end languages like Sass, LESS, and CoffeeScript.
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/marv.png)](http://badge.fury.io/rb/marv)
6
+ [![Code Climate](https://codeclimate.com/github/hardpixel/marv/badges/gpa.png)](https://codeclimate.com/github/hardpixel/marv)
6
7
 
7
8
 
8
9
  ## How does it work?
9
10
 
10
- Marv creates a neatly organized source folder with clean and simple scaffolding (base template files, SCSS files). The source folder is automatically compiled to your Marv development server(s) or local WordPress install(s) as you save changes and work on your project. When you are ready to distribute your project Marv will build it to a folder of your choice or bundle the project up into an easy to install zip package.
11
+ Marv creates a neatly organized source folder with clean and simple scaffolding (base template files, SCSS files). The source folder is automatically compiled to your development server(s) as you save changes and work on your project. When you are ready to distribute your project Marv will build it to a folder of your choice or bundle the project up into an easy to install zip package.
11
12
 
12
13
 
13
14
  ## Why use Marv?
@@ -25,21 +26,19 @@ Create your new project:
25
26
 
26
27
  $ marv create project-name
27
28
 
28
- Create a Marv development server:
29
+ Create your development server:
29
30
 
30
- $ marv server server-name
31
+ $ marv server create server-name
31
32
 
32
- Link to your Marv server:
33
+ Link to your development server:
33
34
 
34
35
  $ cd project-name
35
- $ marv link server-name --folder themes
36
- $ marv link server-name --folder plugins
36
+ $ marv link server-name
37
37
 
38
38
  Also you can link to a WordPress installation:
39
39
 
40
40
  $ cd project-name
41
- $ marv link /var/www/wordpress --folder themes
42
- $ marv link /var/www/wordpress --folder plugins
41
+ $ marv link /var/www/wordpress
43
42
 
44
43
  Watch for changes and start developing!
45
44
 
@@ -70,6 +69,6 @@ See the [user's manual](https://github.com/hardpixel/marv/wiki) for more informa
70
69
 
71
70
  ## Credits
72
71
 
73
- Marv is based on [Forge](https://github.com/thethemefoundry/forge) by ThemeFoundry.
72
+ Wordpress theme layout is based on [WP-Scaffold](https://github.com/gizburdt/wp-scaffold) by Gizburdt.
74
73
 
75
- Scaffold Wordpress theme is based on [WP-Scaffold](https://github.com/gizburdt/wp-scaffold) by Gizburdt.
74
+ Marv is inspired from [Forge](https://github.com/thethemefoundry/forge) by ThemeFoundry.
data/Rakefile CHANGED
@@ -15,7 +15,7 @@ require 'rake'
15
15
  require 'jeweler'
16
16
 
17
17
  Jeweler::Tasks.new do |gem|
18
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
18
+ # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
19
19
  gem.name = "marv"
20
20
  gem.executables = ["marv"]
21
21
  gem.homepage = "http://hardpixel.github.io/marv"
@@ -30,31 +30,15 @@ end
30
30
 
31
31
  Jeweler::RubygemsDotOrgTasks.new
32
32
 
33
- require 'rspec/core'
34
- require 'rspec/core/rake_task'
35
-
36
- RSpec::Core::RakeTask.new(:spec) do |spec|
37
- spec.pattern = FileList['spec/**/*_spec.rb']
38
- end
39
-
40
- RSpec::Core::RakeTask.new(:rcov) do |spec|
41
- spec.pattern = 'spec/**/*_spec.rb'
42
- spec.rcov = true
43
- end
44
-
45
- require 'cucumber/rake/task'
46
-
47
- Cucumber::Rake::Task.new(:features)
48
-
49
- task :default => :spec
50
-
51
33
  require 'rdoc/task'
52
34
 
53
- RDoc::Task.new do |rdoc|
35
+ Rake::RDocTask.new do |rdoc|
54
36
  version = File.exist?('VERSION') ? File.read('VERSION') : ""
55
37
 
56
38
  rdoc.rdoc_dir = 'rdoc'
57
39
  rdoc.title = "marv #{version}"
58
40
  rdoc.rdoc_files.include('README*')
41
+ rdoc.rdoc_files.include('LICENSE*')
42
+ rdoc.rdoc_files.include('CHANGELOG*')
59
43
  rdoc.rdoc_files.include('lib/**/*.rb')
60
44
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.4.0
data/bin/marv CHANGED
@@ -9,4 +9,4 @@ $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
9
9
 
10
10
  require 'marv'
11
11
 
12
- Marv::CLI.start
12
+ Marv::CLI::Commands.start
@@ -0,0 +1,31 @@
1
+ # Marv server configuration
2
+ config[:server_host] = "<%= global_options[:server_host] %>"
3
+ config[:server_port] = "<%= global_options[:server_port] %>"
4
+
5
+ # Database configuration
6
+ config[:db_user] = "<%= global_options[:db_user] %>"
7
+ config[:db_password] = "<%= global_options[:db_password] %>"
8
+ config[:db_host] = "<%= global_options[:db_host] %>"
9
+ config[:db_port] = "<%= global_options[:db_port] %>"
10
+ config[:wp_version] = "<%= global_options[:wp_version] %>"
11
+
12
+ # WordPress theme/plugin information
13
+ config[:uri] = "<%= global_options[:uri] %>"
14
+ config[:author] = "<%= global_options[:author] %>"
15
+ config[:author_uri] = "<%= global_options[:author_uri] %>"
16
+ config[:license_name] = "<%= global_options[:license_name] %>"
17
+ config[:license_uri] = "<%= global_options[:license_uri] %>"
18
+
19
+ # Assets compression
20
+ # config[:compress_js] = true
21
+ # config[:compress_css] = true
22
+
23
+ # Enable livereload
24
+ # config[:livereload] = true
25
+
26
+ # Additional assets
27
+ # config[:additional_assets] = [['custom.js'], ['stylesheets', 'custom.css'], ['includes', 'javascripts', 'includes.js']]
28
+
29
+ # You can also include additional frameworks by requiring them:
30
+ # require 'bourbon'
31
+ # require 'neat'
@@ -0,0 +1,27 @@
1
+ # WordPress theme/plugin information
2
+ config[:id] = "<%= project_id %>"
3
+ config[:name] = "<%= project_config[:name] %>"
4
+ config[:uri] = "<%= project_config[:uri] %>"
5
+ config[:author] = "<%= project_config[:author] %>"
6
+ config[:author_uri] = "<%= project_config[:author_uri] %>"
7
+ config[:description] = "<%= project_config[:description] %>"
8
+ config[:version] = "<%= project_config[:version] %>"
9
+ config[:license_name] = "<%= project_config[:license_name] %>"
10
+ config[:license_uri] = "<%= project_config[:license_uri] %>"
11
+ # config[:template] = "<%= project_config[:template] %>"
12
+ # config[:tags] = ["<%= project_config[:tags] %>"]
13
+ # config[:comments] = "<%= project_config[:comments] %>"
14
+
15
+ # Assets compression
16
+ # config[:compress_js] = true
17
+ # config[:compress_css] = true
18
+
19
+ # Enable livereload
20
+ # config[:livereload] = true
21
+
22
+ # Additional assets
23
+ # config[:additional_assets] = [['custom.js'], ['stylesheets', 'custom.css'], ['includes', 'javascripts', 'includes.js']]
24
+
25
+ # You can also include additional frameworks by requiring them:
26
+ # require 'bourbon'
27
+ # require 'neat'
@@ -1,5 +1,9 @@
1
1
  <?php
2
2
 
3
+ /**
4
+ * WordPress routing for PHP buit in web server
5
+ **/
6
+
3
7
  $root = $_SERVER['DOCUMENT_ROOT'];
4
8
  chdir( $root );
5
9
 
@@ -22,4 +26,4 @@ if( file_exists( $root.$path ) ) {
22
26
  }
23
27
  else {
24
28
  include_once 'index.php';
25
- }
29
+ }
@@ -0,0 +1,12 @@
1
+ # Server details
2
+ config[:server_host] = "<%= server_host %>"
3
+ config[:server_port] = "<%= server_port %>"
4
+
5
+ # MySQL database credentials
6
+ config[:db_user] = "<%= db_user %>"
7
+ config[:db_password] = "<%= db_password %>"
8
+ config[:db_host] = "<%= db_host %>"
9
+ config[:db_port] = "<%= db_port %>"
10
+
11
+ # WordPress version
12
+ config[:wp_version] = "<%= wp_version %>"
File without changes
@@ -0,0 +1 @@
1
+ //=require 'plugin'
@@ -1,12 +1,13 @@
1
1
  <?php
2
2
  /**
3
- * Plugin Name: <%= config[:name].capitalize %>
4
- * Plugin URI: <%= config[:uri] %>
5
- * Description: <%= config[:name].capitalize %> plugin created with Marv.
6
- * Version: 0.1
7
- * Author: <%= config[:author] %>
8
- * Author URI: <%= config[:author_uri] %>
9
- * License: GPL2
3
+ * Plugin Name: <%= project_config[:name] %>
4
+ * Plugin URI: <%= project_config[:uri] %>
5
+ * Description: <%= project_config[:description] %>
6
+ * Version: <%= project_config[:version] %>
7
+ * Author: <%= project_config[:author] %>
8
+ * Author URI: <%= project_config[:author_uri] %>
9
+ * License: <%= project_config[:license_name] %>
10
+ * License URI: <%= project_config[:license_uri] %>
10
11
  */
11
12
 
12
13
  // Block direct access