dicker 0.0.2 → 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: 8bc684d8ba49a0120d363d387342ee789ad0f3a6
4
- data.tar.gz: 48fb96293d9ffdddcdeee9549aa7baf6b4c67ba4
3
+ metadata.gz: 46815dac3afcc11f581dd1b818549dca580443ee
4
+ data.tar.gz: 49c9447343c8f8081adbd6cb68021604a19753a2
5
5
  SHA512:
6
- metadata.gz: 8bf7a657d180542694ca38043478cfe8cb4832bcf15f40bf28096862a6e361948303754abd3ddd4172551641303a99897ae68f5fe37427caccb4edeabbbf91ef
7
- data.tar.gz: 4836d54d808096135ce29ae0f5e34dec36e8c2db91a64ef3a344bd513b3267c2e95f62e96961d665185f182a501e1ba4b142e7070685eaac9c18d73dd17fdb0e
6
+ metadata.gz: b239f249744d5a03c2374a26a82008a1c41049b0927953c15a3ddc0c2b560bfe6bfe88643adc7aca97e756cdf553b4e8ead1033520fcb3fb21287c671e20913b
7
+ data.tar.gz: 2e71198ecf18b24a9c31d20f93dd89373baf7dad1a3c1f2c381b00e9f313579e458d81eca981485cf12ff8a3483a3eb9b8133166bb9d7c48f18fb09bfe0cad3e
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Dicker
2
2
 
3
- TODO: Write a gem description
3
+ Tinkering with the way of creating a gem. Just a simple Gem that clones our in-house static or dynamic framework
4
4
 
5
5
  ## Installation
6
6
 
data/bin/dicker CHANGED
@@ -11,6 +11,8 @@ if !argument.nil?
11
11
  Dicker.static(project, 'dynamic')
12
12
  when 'static'
13
13
  Dicker.static(project)
14
+ when 'server'
15
+ Dicker.server
14
16
  else
15
17
  puts "--> Avaliable tasks:"
16
18
  puts "\n"
@@ -0,0 +1,7 @@
1
+ class Dicker::Commands
2
+ def server
3
+ # Ensure the correct PHP version is loaded
4
+ system('source ~/.bash_profile')
5
+ system('php -S localhost:9292')
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Dicker
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/dicker.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  module Dicker
2
-
3
2
  def self.static(title, type="static")
4
3
  puts "--> Building #{type} project named: #{title}"
5
4
  build = Build.new(title)
@@ -17,6 +16,12 @@ module Dicker
17
16
  end
18
17
  end
19
18
 
19
+ def self.server
20
+ commands = Commands.new
21
+ commands.server
22
+ end
20
23
  end
24
+
21
25
  require 'dicker/build'
26
+ require 'dicker/commands'
22
27
  require 'dicker/version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dicker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ashley Banks
@@ -57,6 +57,7 @@ files:
57
57
  - lib/.DS_Store
58
58
  - lib/dicker.rb
59
59
  - lib/dicker/build.rb
60
+ - lib/dicker/commands.rb
60
61
  - lib/dicker/version.rb
61
62
  homepage: ''
62
63
  licenses: