proteus-kits 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +47 -0
- data/Rakefile +2 -0
- data/bin/proteus +12 -0
- data/lib/proteus.rb +2 -0
- data/lib/proteus/kit.rb +43 -0
- data/lib/proteus/version.rb +3 -0
- data/proteus-kits.gemspec +26 -0
- data/spec/proteus_spec.rb +12 -0
- data/spec/spec_helper.rb +3 -0
- metadata +116 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a1f7548324226a8a91d9b3b13c42e403a52a92d8
|
4
|
+
data.tar.gz: 52b92010ab54d71c5ef2a9fa10d55f5d723e79fd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 83bbdb51e00171038d3fb1205de4d2efe3042dbbe757fe5edb5155ef064a1e260bad60653cdc0e1f98c2a49d6a1fd6fdf5c9ff862159dcd6f61a23774c9ab63e
|
7
|
+
data.tar.gz: 1f442e25b29c0e4bbc3d688beee977174d6ea84d03ec9f159fa54f749df4b6fc808ff29b0f56cf4bff82ef112e4bf4284be9802e1519bb0d38c1096b21663341
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Joshua Ogle
|
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,47 @@
|
|
1
|
+
# Proteus
|
2
|
+
|
3
|
+
## About Proteus
|
4
|
+
[Proteus](http://github.com/thoughtbot/proteus) is a collection of useful
|
5
|
+
starter kits to help you prototype faster. They follow the
|
6
|
+
[thoughtbot styleguide](https://github.com/thoughtbot/guides) and includes our
|
7
|
+
favorite front end tools.
|
8
|
+
|
9
|
+
## Kits
|
10
|
+
* [Middleman](http://github.com/thoughtbot/proteus-middleman)
|
11
|
+
* [Jekyll](http://github.com/thoughtbot/proteus-jekyll)
|
12
|
+
* [Gulp](http://github.com/thoughtbot/proteus-gulp)
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
|
16
|
+
Just run this to install it:
|
17
|
+
|
18
|
+
```
|
19
|
+
gem install proteus
|
20
|
+
```
|
21
|
+
|
22
|
+
Then pick the project you want to start (i.e. Middleman)
|
23
|
+
```
|
24
|
+
proteus new middleman your-project-name
|
25
|
+
```
|
26
|
+
|
27
|
+
Shortcuts
|
28
|
+
-------
|
29
|
+
|
30
|
+
We have also included some handy shortcuts for your Proteus kit: `proteus setup`, `proteus server` and `proteus deploy`
|
31
|
+
|
32
|
+
Credits
|
33
|
+
-------
|
34
|
+
|
35
|
+
![thoughtbot](http://thoughtbot.com/logo.png)
|
36
|
+
|
37
|
+
This application is maintained and funded by [thoughtbot, inc](http://thoughtbot.com/community)
|
38
|
+
|
39
|
+
Thank you to all [the contributors](https://github.com/thoughtbot/proteus-middleman/contributors)!
|
40
|
+
|
41
|
+
License
|
42
|
+
-------
|
43
|
+
|
44
|
+
The names and logos for thoughtbot are trademarks of thoughtbot, inc.
|
45
|
+
|
46
|
+
Carnival is Copyright © 2014 thoughtbot, inc. It is free software, and may be
|
47
|
+
redistributed under the terms specified in the LICENSE file.
|
data/Rakefile
ADDED
data/bin/proteus
ADDED
data/lib/proteus.rb
ADDED
data/lib/proteus/kit.rb
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
require "proteus/version"
|
2
|
+
require "thor"
|
3
|
+
|
4
|
+
module Proteus
|
5
|
+
class Kit < Thor
|
6
|
+
include Thor::Actions
|
7
|
+
|
8
|
+
desc "url", "gets the git url"
|
9
|
+
def url(kit)
|
10
|
+
"git@github.com:thoughtbot/proteus-#{kit}.git"
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "new", "runs the command to clone a particular kit"
|
14
|
+
def new(kit_name, repo_name = nil)
|
15
|
+
repo_name ||= kit_name
|
16
|
+
puts "Starting a new proteus-#{kit_name} project in #{repo_name}"
|
17
|
+
system "git clone #{url(kit_name)}#{' ' + repo_name}"
|
18
|
+
end
|
19
|
+
|
20
|
+
desc "setup", "Sets up the project"
|
21
|
+
def setup
|
22
|
+
puts "Setting up your project"
|
23
|
+
system ". bin/setup"
|
24
|
+
end
|
25
|
+
|
26
|
+
desc "server", "Runs the server"
|
27
|
+
def server
|
28
|
+
puts "Starting the server"
|
29
|
+
system ". bin/server"
|
30
|
+
end
|
31
|
+
|
32
|
+
desc "deploy", "Deploys the site to Github"
|
33
|
+
def deploy
|
34
|
+
puts "Deploying the site to Github"
|
35
|
+
system ". bin/deploy"
|
36
|
+
end
|
37
|
+
|
38
|
+
desc "version", "Show Proteus version"
|
39
|
+
def version
|
40
|
+
say "Proteus #{Proteus::VERSION}"
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "proteus/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "proteus-kits"
|
8
|
+
spec.version = Proteus::VERSION
|
9
|
+
spec.authors = ["Joshua Ogle"]
|
10
|
+
spec.email = ["support@thoughtbot.com"]
|
11
|
+
spec.summary = %q{Starter kits to help you prototype faster}
|
12
|
+
spec.description = %q{A collection of useful starter kits to help you prototype faster}
|
13
|
+
spec.homepage = "http://github.com/thoughtbot/proteus"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executable = "proteus"
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
spec.add_development_dependency "rspec", "~> 2.6"
|
24
|
+
|
25
|
+
spec.add_dependency "thor"
|
26
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: proteus-kits
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Joshua Ogle
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-02 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.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.6'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.6'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: thor
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: A collection of useful starter kits to help you prototype faster
|
70
|
+
email:
|
71
|
+
- support@thoughtbot.com
|
72
|
+
executables:
|
73
|
+
- proteus
|
74
|
+
extensions: []
|
75
|
+
extra_rdoc_files: []
|
76
|
+
files:
|
77
|
+
- .gitignore
|
78
|
+
- Gemfile
|
79
|
+
- Gemfile.lock
|
80
|
+
- LICENSE.txt
|
81
|
+
- README.md
|
82
|
+
- Rakefile
|
83
|
+
- bin/proteus
|
84
|
+
- lib/proteus.rb
|
85
|
+
- lib/proteus/kit.rb
|
86
|
+
- lib/proteus/version.rb
|
87
|
+
- proteus-kits.gemspec
|
88
|
+
- spec/proteus_spec.rb
|
89
|
+
- spec/spec_helper.rb
|
90
|
+
homepage: http://github.com/thoughtbot/proteus
|
91
|
+
licenses:
|
92
|
+
- MIT
|
93
|
+
metadata: {}
|
94
|
+
post_install_message:
|
95
|
+
rdoc_options: []
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
requirements: []
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 2.0.14
|
111
|
+
signing_key:
|
112
|
+
specification_version: 4
|
113
|
+
summary: Starter kits to help you prototype faster
|
114
|
+
test_files:
|
115
|
+
- spec/proteus_spec.rb
|
116
|
+
- spec/spec_helper.rb
|