marv 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 268d564fe9ebeed1c8c5adec5efb6b84307a205a
4
+ data.tar.gz: 6e67dedb9abceb7d9555b2dec039ecda22854299
5
+ SHA512:
6
+ metadata.gz: 30ac14ddb72cae4f18504e8248a641c16f951ae042dba69ccb51724f0d1c81298a19ad6d2b147d7157ce75ebdbd366c11b472d5841d10baaa52881131b5f4943
7
+ data.tar.gz: 86c1c6d25429843a187d4255a54269169226b9b6757596421e17dcc3e7e05074f6ef56b6d139630908ecc8541e25fd807bf51a399b216cde29dad34b30a8726f
data/Gemfile CHANGED
@@ -1,23 +1,22 @@
1
- source "http://rubygems.org"
1
+ source 'http://rubygems.org'
2
2
  # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
5
- gem 'thor', '>= 0.19.1'
6
- gem 'guard-livereload', '>= 2.3.1'
7
- gem 'sprockets', '>= 2.12.3'
8
- gem 'childprocess', '>= 0.5.5'
9
- gem 'mysql2', '>= 0.3.16'
10
- gem 'uglifier', '>= 2.5.3'
11
- gem 'sass', '>= 3.4.7'
12
- gem 'less', '>= 2.6.0'
13
- gem 'coffee-script', '>= 2.3.0'
14
- gem 'therubyracer', '>= 0.12.1'
15
- gem 'rubyzip', '>= 1.1.6'
3
+ gem 'guard', '~> 2.8.0'
4
+ gem 'guard-livereload', '~> 2.4.0'
5
+ gem 'thor', '~> 0.19'
6
+ gem 'sprockets', '~> 2.12'
7
+ gem 'childprocess', '~> 0.5'
8
+ gem 'mysql2', '~> 0.3'
9
+ gem 'uglifier', '~> 2.7'
10
+ gem 'sass', '~> 3.4'
11
+ gem 'less', '~> 2.6'
12
+ gem 'coffee-script', '~> 2.3'
13
+ gem 'therubyracer', '~> 0.12'
14
+ gem 'rubyzip', '~> 1.1'
16
15
 
17
16
  # Add dependencies to develop your gem here.
18
17
  # Include everything needed to run rake, tests, features, etc.
19
18
  group :development do
20
- gem "rdoc", "~> 3.12"
21
- gem "bundler", "~> 1.0"
22
- gem "jeweler", "~> 2.0.1"
19
+ gem 'rdoc', '~> 3.12'
20
+ gem 'bundler', '~> 1.0'
21
+ gem 'jeweler', '~> 2.0'
23
22
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- addressable (2.3.6)
4
+ addressable (2.3.7)
5
5
  builder (3.2.2)
6
6
  celluloid (0.16.0)
7
7
  timers (~> 4.0.0)
@@ -11,25 +11,25 @@ GEM
11
11
  coffee-script (2.3.0)
12
12
  coffee-script-source
13
13
  execjs
14
- coffee-script-source (1.8.0)
14
+ coffee-script-source (1.9.1)
15
15
  commonjs (0.2.7)
16
16
  descendants_tracker (0.0.4)
17
17
  thread_safe (~> 0.3, >= 0.3.1)
18
18
  em-websocket (0.5.1)
19
19
  eventmachine (>= 0.12.9)
20
20
  http_parser.rb (~> 0.6.0)
21
- eventmachine (1.0.3)
22
- execjs (2.2.1)
23
- faraday (0.9.0)
21
+ eventmachine (1.0.7)
22
+ execjs (2.4.0)
23
+ faraday (0.9.1)
24
24
  multipart-post (>= 1.2, < 3)
25
- ffi (1.9.6)
25
+ ffi (1.9.8)
26
26
  formatador (0.2.5)
27
- git (1.2.8)
28
- github_api (0.12.1)
27
+ git (1.2.9.1)
28
+ github_api (0.12.3)
29
29
  addressable (~> 2.3)
30
30
  descendants_tracker (~> 0.0.4)
31
31
  faraday (~> 0.8, < 0.10)
32
- hashie (>= 3.2)
32
+ hashie (>= 3.3)
33
33
  multi_json (>= 1.7.5, < 2.0)
34
34
  nokogiri (~> 1.6.3)
35
35
  oauth2
@@ -39,12 +39,12 @@ GEM
39
39
  lumberjack (~> 1.0)
40
40
  pry (>= 0.9.12)
41
41
  thor (>= 0.18.1)
42
- guard-livereload (2.3.1)
42
+ guard-livereload (2.4.0)
43
43
  em-websocket (~> 0.5)
44
- guard (~> 2.0)
44
+ guard (~> 2.8)
45
45
  multi_json (~> 1.8)
46
- hashie (3.3.1)
47
- highline (1.6.21)
46
+ hashie (3.4.0)
47
+ highline (1.7.1)
48
48
  hike (1.2.3)
49
49
  hitimes (1.2.2)
50
50
  http_parser.rb (0.6.0)
@@ -57,24 +57,24 @@ GEM
57
57
  nokogiri (>= 1.5.10)
58
58
  rake
59
59
  rdoc
60
- json (1.8.1)
61
- jwt (1.0.0)
60
+ json (1.8.2)
61
+ jwt (1.4.1)
62
62
  less (2.6.0)
63
63
  commonjs (~> 0.2.7)
64
64
  libv8 (3.16.14.7)
65
- listen (2.7.11)
65
+ listen (2.9.0)
66
66
  celluloid (>= 0.15.2)
67
67
  rb-fsevent (>= 0.9.3)
68
68
  rb-inotify (>= 0.9)
69
69
  lumberjack (1.0.9)
70
70
  method_source (0.8.2)
71
- mini_portile (0.6.0)
72
- multi_json (1.10.1)
71
+ mini_portile (0.6.2)
72
+ multi_json (1.11.0)
73
73
  multi_xml (0.5.5)
74
74
  multipart-post (2.0.0)
75
- mysql2 (0.3.16)
76
- nokogiri (1.6.3.1)
77
- mini_portile (= 0.6.0)
75
+ mysql2 (0.3.18)
76
+ nokogiri (1.6.6.2)
77
+ mini_portile (~> 0.6.0)
78
78
  oauth2 (1.0.0)
79
79
  faraday (>= 0.8, < 0.10)
80
80
  jwt (~> 1.0)
@@ -85,16 +85,16 @@ GEM
85
85
  coderay (~> 1.1.0)
86
86
  method_source (~> 0.8.1)
87
87
  slop (~> 3.4)
88
- rack (1.5.2)
89
- rake (10.3.2)
88
+ rack (1.6.0)
89
+ rake (10.4.2)
90
90
  rb-fsevent (0.9.4)
91
91
  rb-inotify (0.9.5)
92
92
  ffi (>= 0.5.0)
93
93
  rdoc (3.12.2)
94
94
  json (~> 1.4)
95
95
  ref (1.0.5)
96
- rubyzip (1.1.6)
97
- sass (3.4.7)
96
+ rubyzip (1.1.7)
97
+ sass (3.4.13)
98
98
  slop (3.6.0)
99
99
  sprockets (2.12.3)
100
100
  hike (~> 1.2)
@@ -105,11 +105,11 @@ GEM
105
105
  libv8 (~> 3.16.14.0)
106
106
  ref
107
107
  thor (0.19.1)
108
- thread_safe (0.3.4)
108
+ thread_safe (0.3.5)
109
109
  tilt (1.4.1)
110
110
  timers (4.0.1)
111
111
  hitimes
112
- uglifier (2.5.3)
112
+ uglifier (2.7.1)
113
113
  execjs (>= 0.3.0)
114
114
  json (>= 1.8.0)
115
115
 
@@ -118,16 +118,17 @@ PLATFORMS
118
118
 
119
119
  DEPENDENCIES
120
120
  bundler (~> 1.0)
121
- childprocess (>= 0.5.5)
122
- coffee-script (>= 2.3.0)
123
- guard-livereload (>= 2.3.1)
124
- jeweler (~> 2.0.1)
125
- less (>= 2.6.0)
126
- mysql2 (>= 0.3.16)
121
+ childprocess (~> 0.5)
122
+ coffee-script (~> 2.3)
123
+ guard (~> 2.8.0)
124
+ guard-livereload (~> 2.4.0)
125
+ jeweler (~> 2.0)
126
+ less (~> 2.6)
127
+ mysql2 (~> 0.3)
127
128
  rdoc (~> 3.12)
128
- rubyzip (>= 1.1.6)
129
- sass (>= 3.4.7)
130
- sprockets (>= 2.12.3)
131
- therubyracer (>= 0.12.1)
132
- thor (>= 0.19.1)
133
- uglifier (>= 2.5.3)
129
+ rubyzip (~> 1.1)
130
+ sass (~> 3.4)
131
+ sprockets (~> 2.12)
132
+ therubyracer (~> 0.12)
133
+ thor (~> 0.19)
134
+ uglifier (~> 2.7)
data/README.md CHANGED
@@ -45,7 +45,7 @@ Watch for changes and start developing!
45
45
  $ cd project-name
46
46
  $ marv watch
47
47
 
48
- Press Ctrl + Z to exit watch mode
48
+ Press Ctrl + D to exit watch mode
49
49
 
50
50
  Build your project into the build_here directory:
51
51
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.6.0
data/lib/marv.rb CHANGED
@@ -8,4 +8,11 @@ module Marv
8
8
  ::File.expand_path(::File.join(::File.dirname(__FILE__), '..'))
9
9
  end
10
10
 
11
- end
11
+ end
12
+
13
+ trap 'SIGINT' do
14
+ puts
15
+ puts
16
+ puts ::Time.now.strftime('%T') + ' - INFO - Bye bye...'
17
+ exit 130
18
+ end
data/lib/marv/cli.rb CHANGED
@@ -5,10 +5,6 @@ module Marv
5
5
  module CLI
6
6
  class Commands < Project
7
7
 
8
- def self.source_root
9
- ::File.expand_path(::File.join(Marv.root, 'layouts'))
10
- end
11
-
12
8
  # Configure marv
13
9
  desc "config", "Configure Marv projects and servers"
14
10
  long_desc "Creates a global config.rb file that can be used to auto-configure your projects and servers"
@@ -4,6 +4,10 @@ module Marv
4
4
  module CLI
5
5
  class Project < Thor
6
6
 
7
+ def self.source_root
8
+ ::File.expand_path(::File.join(Marv.root, 'layouts'))
9
+ end
10
+
7
11
  include Thor::Actions
8
12
 
9
13
  # Create a new Marv project
@@ -12,12 +12,36 @@ module Marv
12
12
 
13
13
  # List all Marv servers
14
14
  desc "list", "List all Marv servers"
15
- def list
15
+ def list(dir='all')
16
16
  servers = Marv::Global.new(self).servers
17
17
 
18
- say "Available marv servers:"
19
- servers.each do |server|
20
- say '- ' + server, :cyan
18
+ if dir == 'all'
19
+ say "Available marv servers:"
20
+ servers.each_with_index do |server, index|
21
+ say "#{index + 1}. #{server}", :cyan
22
+ end
23
+
24
+ if servers.empty?
25
+ say "No servers found", :yellow
26
+ end
27
+ end
28
+
29
+ if dir == 'running'
30
+ index = 0
31
+ say "Running marv servers:"
32
+ servers.each do |dir|
33
+ server = Marv::Server::Server.new(self, dir)
34
+ action = Marv::Server::Actions.new(server)
35
+
36
+ if action.is_server_running?
37
+ say "#{index + 1}. #{server.name} [http://#{server.host}:#{server.port}]", :green
38
+ index += 1
39
+ end
40
+ end
41
+
42
+ if index == 0
43
+ say "No running servers found", :yellow
44
+ end
21
45
  end
22
46
  end
23
47
 
@@ -30,12 +54,13 @@ module Marv
30
54
 
31
55
  # Start a Marv server
32
56
  desc "start SERVER", "Start the specified Marv server"
57
+ method_option :debug, :type => :boolean, :desc => "Start server in debug mode"
33
58
  def start(dir)
34
59
  servers_path = Marv::Global.new(self).servers_path
35
60
 
36
61
  if ::File.directory?(::File.join(servers_path, dir))
37
62
  server = Marv::Server::Server.new(self, dir)
38
- action = Marv::Server::Actions.new(server)
63
+ action = Marv::Server::Actions.new(server, options[:debug])
39
64
  action.start
40
65
  end
41
66
 
@@ -51,9 +76,24 @@ module Marv
51
76
  # Start a Marv server
52
77
  desc "stop SERVER", "Stop the specified Marv server"
53
78
  def stop(dir)
54
- server = Marv::Server::Server.new(self, dir)
55
- action = Marv::Server::Actions.new(server)
56
- action.stop
79
+ unless dir == 'all'
80
+ server = Marv::Server::Server.new(self, dir)
81
+ action = Marv::Server::Actions.new(server)
82
+ action.stop
83
+ end
84
+
85
+ if dir == 'all'
86
+ servers = Marv::Global.new(self).servers
87
+
88
+ servers.each do |dir|
89
+ server = Marv::Server::Server.new(self, dir)
90
+ action = Marv::Server::Actions.new(server)
91
+
92
+ if action.is_server_running?
93
+ action.stop
94
+ end
95
+ end
96
+ end
57
97
  end
58
98
 
59
99
  # Start a Marv server
@@ -39,14 +39,18 @@ module Marv
39
39
  # Link to server
40
40
  def link_to_server
41
41
  unless @link_dir.nil?
42
- ::File.join(@global.servers_path, @link_dir, 'wp-content', @link_options[:folder], ::File.basename(@project.root))
42
+ path = ::File.join(@global.servers_path, @link_dir, 'wp-content', @link_options[:folder])
43
+
44
+ if ::File.directory?(path)
45
+ ::File.join(path, ::File.basename(@project.root))
46
+ end
43
47
  end
44
48
  end
45
49
 
46
50
  # Link to wordpress
47
51
  def link_to_folder
48
52
  unless @link_dir.nil?
49
- unless @global.servers.include?(@link_dir)
53
+ if ::File.directory?(@link_dir)
50
54
  ::File.join(@link_dir, 'wp-content', @link_options[:folder], ::File.basename(@project.root))
51
55
  end
52
56
  end
@@ -54,10 +58,14 @@ module Marv
54
58
 
55
59
  # Link target
56
60
  def link_target
57
- target = ::File.join(@global.global_path, @link_options[:folder], ::File.basename(@project.root))
58
61
  target = link_to_server unless link_to_server.nil?
59
62
  target = link_to_folder unless link_to_folder.nil?
60
63
 
64
+ if target.nil?
65
+ @task.say "Destination server does not exist!", :red
66
+ exit
67
+ end
68
+
61
69
  @link_target = target
62
70
  end
63
71
 
@@ -1,7 +1,10 @@
1
+ gem 'guard', '~> 2.8.0'
2
+ gem 'guard-livereload', '~> 2.4.0'
3
+
1
4
  require 'guard'
2
5
  require 'guard/plugin'
3
6
 
4
- # Marv pry console actions
7
+ # Marv Guard plugins
5
8
  require 'marv/project/guard/assets'
6
9
  require 'marv/project/guard/config'
7
10
  require 'marv/project/guard/functions'
@@ -38,7 +41,7 @@ module Marv
38
41
  self.project_contents << result unless result.nil?
39
42
  end
40
43
  # Start guard watching
41
- ::Guard.start({ :guardfile_contents => self.project_contents }).join
44
+ ::Guard.start({ :guardfile_contents => self.project_contents })
42
45
  end
43
46
 
44
47
  # Guard contents
@@ -1,6 +1,3 @@
1
- require 'guard'
2
- require 'guard/plugin'
3
-
4
1
  module Guard
5
2
  class Assets < ::Guard::Plugin
6
3
 
@@ -1,6 +1,3 @@
1
- require 'guard'
2
- require 'guard/plugin'
3
-
4
1
  module Guard
5
2
  class Config < ::Guard::Plugin
6
3
 
@@ -1,6 +1,3 @@
1
- require 'guard'
2
- require 'guard/plugin'
3
-
4
1
  module Guard
5
2
  class Functions < ::Guard::Plugin
6
3
 
@@ -1,6 +1,3 @@
1
- require 'guard'
2
- require 'guard/plugin'
3
-
4
1
  module Guard
5
2
  class Templates < ::Guard::Plugin
6
3
 
@@ -1,3 +1,4 @@
1
+ require 'socket'
1
2
  require 'childprocess'
2
3
 
3
4
  module Marv
@@ -5,26 +6,27 @@ module Marv
5
6
  class Actions
6
7
 
7
8
  # Initialize actions
8
- def initialize(server)
9
+ def initialize(server, debug=false)
9
10
  @server = server
10
11
  @task = server.task
11
12
  @path = server.path
12
13
  @name = server.name
14
+ @debug = debug
13
15
  end
14
16
 
15
17
  # Initialize server start
16
18
  def start
17
- ::Dir.chdir @path
18
- @php = ChildProcess.build 'php', '-S', "#{@server.host}:#{@server.port}", 'router.php'
19
- @php.start
19
+ if is_server_running?
20
+ @task.say "Server is already running", :yellow
21
+ exit
22
+ end
20
23
 
21
- # Write PHP proccess id to file
22
- @task.shell.mute do
23
- @task.create_file ::File.join(@path, 'php.pid'), @php.pid, :force => true
24
+ unless is_port_available?
25
+ @task.say "Port is not available!", :yellow
26
+ change_server_port
24
27
  end
25
28
 
26
- @task.say "Server #{@server.name} is running", :cyan
27
- @task.say "Visit http://#{@server.host}:#{@server.port}", :green
29
+ run_server
28
30
  end
29
31
 
30
32
  # Initialize server stop
@@ -67,6 +69,71 @@ module Marv
67
69
  @task.say "Server successfully removed", :green
68
70
  end
69
71
 
72
+ # Run server
73
+ def run_server
74
+ unless @debug
75
+ ::Dir.chdir @path
76
+ @php = ChildProcess.build 'php', '-S', "#{@server.host}:#{@server.port}", 'router.php'
77
+ @php.start
78
+
79
+ # Write PHP proccess id to file
80
+ @task.shell.mute do
81
+ @task.create_file ::File.join(@path, 'php.pid'), @php.pid, :force => true
82
+ end
83
+ end
84
+
85
+ @task.say "Server #{@server.name} is running", :cyan
86
+ @task.say "Visit http://#{@server.host}:#{@server.port}", :green
87
+
88
+ # Start server in debug mode
89
+ if @debug
90
+ system "php -S #{@server.host}:#{@server.port} router.php"
91
+ end
92
+ end
93
+
94
+ # Change server port
95
+ def change_server_port
96
+ @task.say "Use another port to run the server", :cyan
97
+ port = @task.ask "Which port would you like to use?"
98
+
99
+ # Check if port available
100
+ if is_port_available?(@server.host, port)
101
+ # Write port to server config
102
+ @task.shell.mute do
103
+ @task.gsub_file @server.config_file, "#{@server.port}", "#{port}"
104
+ end
105
+
106
+ @server.port = port
107
+ else
108
+ change_server_port
109
+ end
110
+ end
111
+
112
+ # Check if port is available
113
+ def is_server_running?(server=@server)
114
+ begin
115
+ pid_file = ::File.join(server.path, 'php.pid')
116
+ pid = ::File.read(pid_file).to_i
117
+
118
+ ::Process.kill(0, pid)
119
+ rescue Exception => e
120
+ return false
121
+ end
122
+
123
+ return true
124
+ end
125
+
126
+ # Check if port is available
127
+ def is_port_available?(host=@server.host, port=@server.port)
128
+ begin
129
+ ::TCPServer.new(host, port)
130
+ rescue Exception => e
131
+ return false
132
+ end
133
+
134
+ return true
135
+ end
136
+
70
137
  end
71
138
  end
72
- end
139
+ end
data/marv.gemspec CHANGED
@@ -2,14 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: marv 0.6.0 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "marv"
8
- s.version = "0.5.0"
9
+ s.version = "0.6.0"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Jonian Guveli", "Olibia Tsati"]
12
- s.date = "2014-11-10"
14
+ s.date = "2015-03-25"
13
15
  s.description = "A toolkit for bootstrapping and developing WordPress themes and plugins using Sass, LESS, and CoffeeScript."
14
16
  s.email = "info@hardpixel.eu"
15
17
  s.executables = ["marv"]
@@ -91,59 +93,61 @@ Gem::Specification.new do |s|
91
93
  ]
92
94
  s.homepage = "http://hardpixel.github.io/marv"
93
95
  s.licenses = ["MIT"]
94
- s.require_paths = ["lib"]
95
- s.rubygems_version = "1.8.23"
96
+ s.rubygems_version = "2.2.2"
96
97
  s.summary = "A command-line tool for developing wordpress themes and plugins"
97
98
 
98
99
  if s.respond_to? :specification_version then
99
- s.specification_version = 3
100
+ s.specification_version = 4
100
101
 
101
102
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
102
- s.add_runtime_dependency(%q<thor>, [">= 0.19.1"])
103
- s.add_runtime_dependency(%q<guard-livereload>, [">= 2.3.1"])
104
- s.add_runtime_dependency(%q<sprockets>, [">= 2.12.3"])
105
- s.add_runtime_dependency(%q<childprocess>, [">= 0.5.5"])
106
- s.add_runtime_dependency(%q<mysql2>, [">= 0.3.16"])
107
- s.add_runtime_dependency(%q<uglifier>, [">= 2.5.3"])
108
- s.add_runtime_dependency(%q<sass>, [">= 3.4.7"])
109
- s.add_runtime_dependency(%q<less>, [">= 2.6.0"])
110
- s.add_runtime_dependency(%q<coffee-script>, [">= 2.3.0"])
111
- s.add_runtime_dependency(%q<therubyracer>, [">= 0.12.1"])
112
- s.add_runtime_dependency(%q<rubyzip>, [">= 1.1.6"])
103
+ s.add_runtime_dependency(%q<guard>, ["~> 2.8.0"])
104
+ s.add_runtime_dependency(%q<guard-livereload>, ["~> 2.4.0"])
105
+ s.add_runtime_dependency(%q<thor>, ["~> 0.19"])
106
+ s.add_runtime_dependency(%q<sprockets>, ["~> 2.12"])
107
+ s.add_runtime_dependency(%q<childprocess>, ["~> 0.5"])
108
+ s.add_runtime_dependency(%q<mysql2>, ["~> 0.3"])
109
+ s.add_runtime_dependency(%q<uglifier>, ["~> 2.7"])
110
+ s.add_runtime_dependency(%q<sass>, ["~> 3.4"])
111
+ s.add_runtime_dependency(%q<less>, ["~> 2.6"])
112
+ s.add_runtime_dependency(%q<coffee-script>, ["~> 2.3"])
113
+ s.add_runtime_dependency(%q<therubyracer>, ["~> 0.12"])
114
+ s.add_runtime_dependency(%q<rubyzip>, ["~> 1.1"])
113
115
  s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
114
116
  s.add_development_dependency(%q<bundler>, ["~> 1.0"])
115
- s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
117
+ s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
116
118
  else
117
- s.add_dependency(%q<thor>, [">= 0.19.1"])
118
- s.add_dependency(%q<guard-livereload>, [">= 2.3.1"])
119
- s.add_dependency(%q<sprockets>, [">= 2.12.3"])
120
- s.add_dependency(%q<childprocess>, [">= 0.5.5"])
121
- s.add_dependency(%q<mysql2>, [">= 0.3.16"])
122
- s.add_dependency(%q<uglifier>, [">= 2.5.3"])
123
- s.add_dependency(%q<sass>, [">= 3.4.7"])
124
- s.add_dependency(%q<less>, [">= 2.6.0"])
125
- s.add_dependency(%q<coffee-script>, [">= 2.3.0"])
126
- s.add_dependency(%q<therubyracer>, [">= 0.12.1"])
127
- s.add_dependency(%q<rubyzip>, [">= 1.1.6"])
119
+ s.add_dependency(%q<guard>, ["~> 2.8.0"])
120
+ s.add_dependency(%q<guard-livereload>, ["~> 2.4.0"])
121
+ s.add_dependency(%q<thor>, ["~> 0.19"])
122
+ s.add_dependency(%q<sprockets>, ["~> 2.12"])
123
+ s.add_dependency(%q<childprocess>, ["~> 0.5"])
124
+ s.add_dependency(%q<mysql2>, ["~> 0.3"])
125
+ s.add_dependency(%q<uglifier>, ["~> 2.7"])
126
+ s.add_dependency(%q<sass>, ["~> 3.4"])
127
+ s.add_dependency(%q<less>, ["~> 2.6"])
128
+ s.add_dependency(%q<coffee-script>, ["~> 2.3"])
129
+ s.add_dependency(%q<therubyracer>, ["~> 0.12"])
130
+ s.add_dependency(%q<rubyzip>, ["~> 1.1"])
128
131
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
129
132
  s.add_dependency(%q<bundler>, ["~> 1.0"])
130
- s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
133
+ s.add_dependency(%q<jeweler>, ["~> 2.0"])
131
134
  end
132
135
  else
133
- s.add_dependency(%q<thor>, [">= 0.19.1"])
134
- s.add_dependency(%q<guard-livereload>, [">= 2.3.1"])
135
- s.add_dependency(%q<sprockets>, [">= 2.12.3"])
136
- s.add_dependency(%q<childprocess>, [">= 0.5.5"])
137
- s.add_dependency(%q<mysql2>, [">= 0.3.16"])
138
- s.add_dependency(%q<uglifier>, [">= 2.5.3"])
139
- s.add_dependency(%q<sass>, [">= 3.4.7"])
140
- s.add_dependency(%q<less>, [">= 2.6.0"])
141
- s.add_dependency(%q<coffee-script>, [">= 2.3.0"])
142
- s.add_dependency(%q<therubyracer>, [">= 0.12.1"])
143
- s.add_dependency(%q<rubyzip>, [">= 1.1.6"])
136
+ s.add_dependency(%q<guard>, ["~> 2.8.0"])
137
+ s.add_dependency(%q<guard-livereload>, ["~> 2.4.0"])
138
+ s.add_dependency(%q<thor>, ["~> 0.19"])
139
+ s.add_dependency(%q<sprockets>, ["~> 2.12"])
140
+ s.add_dependency(%q<childprocess>, ["~> 0.5"])
141
+ s.add_dependency(%q<mysql2>, ["~> 0.3"])
142
+ s.add_dependency(%q<uglifier>, ["~> 2.7"])
143
+ s.add_dependency(%q<sass>, ["~> 3.4"])
144
+ s.add_dependency(%q<less>, ["~> 2.6"])
145
+ s.add_dependency(%q<coffee-script>, ["~> 2.3"])
146
+ s.add_dependency(%q<therubyracer>, ["~> 0.12"])
147
+ s.add_dependency(%q<rubyzip>, ["~> 1.1"])
144
148
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
145
149
  s.add_dependency(%q<bundler>, ["~> 1.0"])
146
- s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
150
+ s.add_dependency(%q<jeweler>, ["~> 2.0"])
147
151
  end
148
152
  end
149
153
 
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
5
- prerelease:
4
+ version: 0.6.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jonian Guveli
@@ -10,232 +9,218 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2014-11-10 00:00:00.000000000 Z
12
+ date: 2015-03-25 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
- name: thor
15
+ name: guard
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - "~>"
21
19
  - !ruby/object:Gem::Version
22
- version: 0.19.1
20
+ version: 2.8.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - "~>"
29
26
  - !ruby/object:Gem::Version
30
- version: 0.19.1
27
+ version: 2.8.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: guard-livereload
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: 2.4.0
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: 2.4.0
42
+ - !ruby/object:Gem::Dependency
43
+ name: thor
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
37
47
  - !ruby/object:Gem::Version
38
- version: 2.3.1
48
+ version: '0.19'
39
49
  type: :runtime
40
50
  prerelease: false
41
51
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
52
  requirements:
44
- - - ! '>='
53
+ - - "~>"
45
54
  - !ruby/object:Gem::Version
46
- version: 2.3.1
55
+ version: '0.19'
47
56
  - !ruby/object:Gem::Dependency
48
57
  name: sprockets
49
58
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
59
  requirements:
52
- - - ! '>='
60
+ - - "~>"
53
61
  - !ruby/object:Gem::Version
54
- version: 2.12.3
62
+ version: '2.12'
55
63
  type: :runtime
56
64
  prerelease: false
57
65
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
66
  requirements:
60
- - - ! '>='
67
+ - - "~>"
61
68
  - !ruby/object:Gem::Version
62
- version: 2.12.3
69
+ version: '2.12'
63
70
  - !ruby/object:Gem::Dependency
64
71
  name: childprocess
65
72
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
73
  requirements:
68
- - - ! '>='
74
+ - - "~>"
69
75
  - !ruby/object:Gem::Version
70
- version: 0.5.5
76
+ version: '0.5'
71
77
  type: :runtime
72
78
  prerelease: false
73
79
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
80
  requirements:
76
- - - ! '>='
81
+ - - "~>"
77
82
  - !ruby/object:Gem::Version
78
- version: 0.5.5
83
+ version: '0.5'
79
84
  - !ruby/object:Gem::Dependency
80
85
  name: mysql2
81
86
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
87
  requirements:
84
- - - ! '>='
88
+ - - "~>"
85
89
  - !ruby/object:Gem::Version
86
- version: 0.3.16
90
+ version: '0.3'
87
91
  type: :runtime
88
92
  prerelease: false
89
93
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
94
  requirements:
92
- - - ! '>='
95
+ - - "~>"
93
96
  - !ruby/object:Gem::Version
94
- version: 0.3.16
97
+ version: '0.3'
95
98
  - !ruby/object:Gem::Dependency
96
99
  name: uglifier
97
100
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
101
  requirements:
100
- - - ! '>='
102
+ - - "~>"
101
103
  - !ruby/object:Gem::Version
102
- version: 2.5.3
104
+ version: '2.7'
103
105
  type: :runtime
104
106
  prerelease: false
105
107
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
108
  requirements:
108
- - - ! '>='
109
+ - - "~>"
109
110
  - !ruby/object:Gem::Version
110
- version: 2.5.3
111
+ version: '2.7'
111
112
  - !ruby/object:Gem::Dependency
112
113
  name: sass
113
114
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
115
  requirements:
116
- - - ! '>='
116
+ - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: 3.4.7
118
+ version: '3.4'
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
122
  requirements:
124
- - - ! '>='
123
+ - - "~>"
125
124
  - !ruby/object:Gem::Version
126
- version: 3.4.7
125
+ version: '3.4'
127
126
  - !ruby/object:Gem::Dependency
128
127
  name: less
129
128
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
129
  requirements:
132
- - - ! '>='
130
+ - - "~>"
133
131
  - !ruby/object:Gem::Version
134
- version: 2.6.0
132
+ version: '2.6'
135
133
  type: :runtime
136
134
  prerelease: false
137
135
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
136
  requirements:
140
- - - ! '>='
137
+ - - "~>"
141
138
  - !ruby/object:Gem::Version
142
- version: 2.6.0
139
+ version: '2.6'
143
140
  - !ruby/object:Gem::Dependency
144
141
  name: coffee-script
145
142
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
143
  requirements:
148
- - - ! '>='
144
+ - - "~>"
149
145
  - !ruby/object:Gem::Version
150
- version: 2.3.0
146
+ version: '2.3'
151
147
  type: :runtime
152
148
  prerelease: false
153
149
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
150
  requirements:
156
- - - ! '>='
151
+ - - "~>"
157
152
  - !ruby/object:Gem::Version
158
- version: 2.3.0
153
+ version: '2.3'
159
154
  - !ruby/object:Gem::Dependency
160
155
  name: therubyracer
161
156
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
157
  requirements:
164
- - - ! '>='
158
+ - - "~>"
165
159
  - !ruby/object:Gem::Version
166
- version: 0.12.1
160
+ version: '0.12'
167
161
  type: :runtime
168
162
  prerelease: false
169
163
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
164
  requirements:
172
- - - ! '>='
165
+ - - "~>"
173
166
  - !ruby/object:Gem::Version
174
- version: 0.12.1
167
+ version: '0.12'
175
168
  - !ruby/object:Gem::Dependency
176
169
  name: rubyzip
177
170
  requirement: !ruby/object:Gem::Requirement
178
- none: false
179
171
  requirements:
180
- - - ! '>='
172
+ - - "~>"
181
173
  - !ruby/object:Gem::Version
182
- version: 1.1.6
174
+ version: '1.1'
183
175
  type: :runtime
184
176
  prerelease: false
185
177
  version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
178
  requirements:
188
- - - ! '>='
179
+ - - "~>"
189
180
  - !ruby/object:Gem::Version
190
- version: 1.1.6
181
+ version: '1.1'
191
182
  - !ruby/object:Gem::Dependency
192
183
  name: rdoc
193
184
  requirement: !ruby/object:Gem::Requirement
194
- none: false
195
185
  requirements:
196
- - - ~>
186
+ - - "~>"
197
187
  - !ruby/object:Gem::Version
198
188
  version: '3.12'
199
189
  type: :development
200
190
  prerelease: false
201
191
  version_requirements: !ruby/object:Gem::Requirement
202
- none: false
203
192
  requirements:
204
- - - ~>
193
+ - - "~>"
205
194
  - !ruby/object:Gem::Version
206
195
  version: '3.12'
207
196
  - !ruby/object:Gem::Dependency
208
197
  name: bundler
209
198
  requirement: !ruby/object:Gem::Requirement
210
- none: false
211
199
  requirements:
212
- - - ~>
200
+ - - "~>"
213
201
  - !ruby/object:Gem::Version
214
202
  version: '1.0'
215
203
  type: :development
216
204
  prerelease: false
217
205
  version_requirements: !ruby/object:Gem::Requirement
218
- none: false
219
206
  requirements:
220
- - - ~>
207
+ - - "~>"
221
208
  - !ruby/object:Gem::Version
222
209
  version: '1.0'
223
210
  - !ruby/object:Gem::Dependency
224
211
  name: jeweler
225
212
  requirement: !ruby/object:Gem::Requirement
226
- none: false
227
213
  requirements:
228
- - - ~>
214
+ - - "~>"
229
215
  - !ruby/object:Gem::Version
230
- version: 2.0.1
216
+ version: '2.0'
231
217
  type: :development
232
218
  prerelease: false
233
219
  version_requirements: !ruby/object:Gem::Requirement
234
- none: false
235
220
  requirements:
236
- - - ~>
221
+ - - "~>"
237
222
  - !ruby/object:Gem::Version
238
- version: 2.0.1
223
+ version: '2.0'
239
224
  description: A toolkit for bootstrapping and developing WordPress themes and plugins
240
225
  using Sass, LESS, and CoffeeScript.
241
226
  email: info@hardpixel.eu
@@ -246,7 +231,7 @@ extra_rdoc_files:
246
231
  - LICENSE.txt
247
232
  - README.md
248
233
  files:
249
- - .document
234
+ - ".document"
250
235
  - CHANGELOG.md
251
236
  - Gemfile
252
237
  - Gemfile.lock
@@ -319,29 +304,25 @@ files:
319
304
  homepage: http://hardpixel.github.io/marv
320
305
  licenses:
321
306
  - MIT
307
+ metadata: {}
322
308
  post_install_message:
323
309
  rdoc_options: []
324
310
  require_paths:
325
311
  - lib
326
312
  required_ruby_version: !ruby/object:Gem::Requirement
327
- none: false
328
313
  requirements:
329
- - - ! '>='
314
+ - - ">="
330
315
  - !ruby/object:Gem::Version
331
316
  version: '0'
332
- segments:
333
- - 0
334
- hash: -2094091167065699108
335
317
  required_rubygems_version: !ruby/object:Gem::Requirement
336
- none: false
337
318
  requirements:
338
- - - ! '>='
319
+ - - ">="
339
320
  - !ruby/object:Gem::Version
340
321
  version: '0'
341
322
  requirements: []
342
323
  rubyforge_project:
343
- rubygems_version: 1.8.23
324
+ rubygems_version: 2.2.2
344
325
  signing_key:
345
- specification_version: 3
326
+ specification_version: 4
346
327
  summary: A command-line tool for developing wordpress themes and plugins
347
328
  test_files: []