pave 0.0.1

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: f1ea13cec4d8a25ed90deb776147cef004f70104
4
+ data.tar.gz: 83bfe7e1a1329cb4f0f76dd4dce0f9e52264c6c8
5
+ SHA512:
6
+ metadata.gz: 365ad10ee002041c4911b8f1dc1e8ee6f82aaf88abe89a88eac644f8a75ec18b6994bb6de999918dfa76e1abc114247b404563f76d9b951e33b202f09193e2ae
7
+ data.tar.gz: 4640feff6d8ae1c9e3652a630f4c2043b05f27b5b8211b8ec2467eac544131ce683faaeaf9883239dff221aefd7e17f0fe991c476863ba5a994e040deddb0f62
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ .DS_Store
2
+ results.html
3
+ pkg
4
+ html
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+ ruby "2.0.0"
3
+ #ruby-gemset=pave
4
+
5
+ # Specify your gem's dependencies in pave.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,46 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ pave (0.0.1)
5
+ methadone (~> 1.3.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ aruba (0.5.3)
11
+ childprocess (>= 0.3.6)
12
+ cucumber (>= 1.1.1)
13
+ rspec-expectations (>= 2.7.0)
14
+ builder (3.2.2)
15
+ childprocess (0.3.9)
16
+ ffi (~> 1.0, >= 1.0.11)
17
+ cucumber (1.3.8)
18
+ builder (>= 2.1.2)
19
+ diff-lcs (>= 1.1.3)
20
+ gherkin (~> 2.12.1)
21
+ multi_json (>= 1.7.5, < 2.0)
22
+ multi_test (>= 0.0.2)
23
+ diff-lcs (1.2.4)
24
+ ffi (1.9.0)
25
+ gherkin (2.12.1)
26
+ multi_json (~> 1.3)
27
+ json (1.8.0)
28
+ methadone (1.3.0)
29
+ bundler
30
+ multi_json (1.8.1)
31
+ multi_test (0.0.2)
32
+ rake (0.9.6)
33
+ rdoc (4.0.1)
34
+ json (~> 1.4)
35
+ rspec-expectations (2.14.3)
36
+ diff-lcs (>= 1.1.3, < 2.0)
37
+
38
+ PLATFORMS
39
+ ruby
40
+
41
+ DEPENDENCIES
42
+ aruba
43
+ bundler (~> 1.3)
44
+ pave!
45
+ rake (~> 0.9.2)
46
+ rdoc
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Jamon Holmgren
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # pave - Command line tools for Concrete5 websites
2
+
3
+ Author: Jamon Holmgren (@jamonholmgren)
4
+
5
+ Provides a set of command line tools for Concrete5.
6
+
7
+ ## Installation
8
+
9
+ $ gem install pave
10
+
11
+ ## Usage
12
+
13
+ $ pave new mywebsite
14
+
15
+ ## Contributing
16
+
17
+ 0. Create an issue explaining what you'd like to do and get feedback
18
+ 1. Fork it
19
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
20
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
21
+ 4. Push to the branch (`git push origin my-new-feature`)
22
+ 5. Create new Pull Request
23
+
24
+ Copyright (c) 2013 Jamon Holmgren
25
+
26
+ Released under the MIT license.
data/Rakefile ADDED
@@ -0,0 +1,53 @@
1
+ def dump_load_path
2
+ puts $LOAD_PATH.join("\n")
3
+ found = nil
4
+ $LOAD_PATH.each do |path|
5
+ if File.exists?(File.join(path,"rspec"))
6
+ puts "Found rspec in #{path}"
7
+ if File.exists?(File.join(path,"rspec","core"))
8
+ puts "Found core"
9
+ if File.exists?(File.join(path,"rspec","core","rake_task"))
10
+ puts "Found rake_task"
11
+ found = path
12
+ else
13
+ puts "!! no rake_task"
14
+ end
15
+ else
16
+ puts "!!! no core"
17
+ end
18
+ end
19
+ end
20
+ if found.nil?
21
+ puts "Didn't find rspec/core/rake_task anywhere"
22
+ else
23
+ puts "Found in #{path}"
24
+ end
25
+ end
26
+ require 'bundler'
27
+ require 'rake/clean'
28
+
29
+ require 'rake/testtask'
30
+
31
+ require 'cucumber'
32
+ require 'cucumber/rake/task'
33
+ gem 'rdoc' # we need the installed RDoc gem, not the system one
34
+ require 'rdoc/task'
35
+
36
+ include Rake::DSL
37
+
38
+ Bundler::GemHelper.install_tasks
39
+
40
+
41
+ Rake::TestTask.new do |t|
42
+ t.pattern = 'test/tc_*.rb'
43
+ end
44
+
45
+ Rake::RDocTask.new do |rd|
46
+
47
+ rd.main = "README.rdoc"
48
+
49
+ rd.rdoc_files.include("lib/**/*.rb","bin/**/*")
50
+ end
51
+
52
+ task :default => [:test,:features]
53
+
data/bin/pave ADDED
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'optparse'
4
+ require 'methadone'
5
+ require 'pave.rb'
6
+
7
+ class App
8
+ include Methadone::Main
9
+ include Methadone::CLILogging
10
+
11
+ main do |command| # Add args you want: |like,so|
12
+ # your program code here
13
+ # You can access CLI options via
14
+ # the options Hash
15
+ puts "pave - Command line tools for Concrete5."
16
+ puts "By Jamon Holmgren"
17
+ end
18
+
19
+ # supplemental methods here
20
+
21
+ # Declare command-line interface here
22
+
23
+ # description "Command line for Concrete5 websites."
24
+ #
25
+ # Accept flags via:
26
+ # on("--flag VAL","Some flag")
27
+ # options[flag] will contain VAL
28
+ #
29
+ # Specify switches via:
30
+ # on("--[no-]switch","Some switch")
31
+ #
32
+ # Or, just call OptionParser methods on opts
33
+ #
34
+ # Require an argument
35
+ # arg :some_arg
36
+ #
37
+ # # Make an argument optional
38
+ # arg :optional_arg, :optional
39
+
40
+ version Pave::VERSION
41
+
42
+ use_log_level_option
43
+
44
+ go!
45
+ end
@@ -0,0 +1,3 @@
1
+ module Pave
2
+ VERSION = "0.0.1"
3
+ end
data/lib/pave.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "pave/version"
2
+
3
+ module Pave
4
+ # Your code goes here...
5
+ end
data/pave.gemspec ADDED
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'pave/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "pave"
8
+ spec.version = Pave::VERSION
9
+ spec.authors = ["Jamon Holmgren"]
10
+ spec.email = ["jamon@clearsightstudio.com"]
11
+ spec.description = %q{Provides a set of command line tools for Concrete5.}
12
+ spec.summary = %q{Provides a set of command line tools for Concrete5.}
13
+ spec.homepage = "https://github.com/jamonholmgren/pave"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake"
23
+ spec.add_development_dependency('rdoc')
24
+ spec.add_development_dependency('aruba')
25
+ spec.add_development_dependency('rake', '~> 0.9.2')
26
+ spec.add_dependency('methadone', '~> 1.3.0')
27
+ end
data/test/pave_test.rb ADDED
@@ -0,0 +1,7 @@
1
+ require 'test/unit'
2
+
3
+ class PaveTest < Test::Unit::TestCase
4
+ def test_is_module
5
+ assert Pave.is_a?(Module)
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test/unit'
2
+
3
+ class TestSomething < Test::Unit::TestCase
4
+ def test_truth
5
+ assert true
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pave
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jamon Holmgren
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rdoc
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: aruba
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 0.9.2
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: 0.9.2
83
+ - !ruby/object:Gem::Dependency
84
+ name: methadone
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 1.3.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: 1.3.0
97
+ description: Provides a set of command line tools for Concrete5.
98
+ email:
99
+ - jamon@clearsightstudio.com
100
+ executables:
101
+ - pave
102
+ extensions: []
103
+ extra_rdoc_files: []
104
+ files:
105
+ - .gitignore
106
+ - Gemfile
107
+ - Gemfile.lock
108
+ - LICENSE.txt
109
+ - README.md
110
+ - Rakefile
111
+ - bin/pave
112
+ - lib/pave.rb
113
+ - lib/pave/version.rb
114
+ - pave.gemspec
115
+ - test/pave_test.rb
116
+ - test/tc_something.rb
117
+ homepage: https://github.com/jamonholmgren/pave
118
+ licenses:
119
+ - MIT
120
+ metadata: {}
121
+ post_install_message:
122
+ rdoc_options: []
123
+ require_paths:
124
+ - lib
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - '>='
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ requirements: []
136
+ rubyforge_project:
137
+ rubygems_version: 2.1.5
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: Provides a set of command line tools for Concrete5.
141
+ test_files:
142
+ - test/pave_test.rb
143
+ - test/tc_something.rb