proteus-kits 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fce40cf5a38661a640a98ba7f46fc21a787a1074
4
- data.tar.gz: 2e749f646b5f7a78e08f20acf3812b49e9d24b0a
3
+ metadata.gz: 2ac3d48a1f19474312bcb47473714742d9a9efd5
4
+ data.tar.gz: 38a878e28290e40d6c82b7a6f535d6ac51bb55bb
5
5
  SHA512:
6
- metadata.gz: 12a0617e0c404dfc24ac2741e0be18b1bbfc999c5675ff283ab039d5f155e35962fbdce295eca7368449974e60216b33c192d41852fea49e9bd466088d125cac
7
- data.tar.gz: da860ddcabcd80ce1cc5da91aadc46180bb018479cb83882fed68f7d86bc9325895b7d7fd0beb97e7e50a869a4edca8b2c335ab204ecda90ebe074971a24a1d2
6
+ metadata.gz: e3fb50fe471f9cafab6552815394fbbf0ad50927b8ddd8da411c03d89f21998ef04464b8951e76089cba84ff282e8ac2b4210cb447b81a9791a5f0035bb3b72f
7
+ data.tar.gz: 4891ac18a1b5cbc9bb04673bbe300f9dd9e1b6ddd66bc1b14b6b60f47725899d6ada695786d60421b8ea813ad9626cf9fb588ff95a2bba678c4167a17190a3c1
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
+ proteus*.gem
data/lib/proteus/kit.rb CHANGED
@@ -16,7 +16,15 @@ module Proteus
16
16
 
17
17
  if system "git ls-remote #{url(kit_name)} #{repo_name} > /dev/null 2>&1"
18
18
  puts "Starting a new proteus-#{kit_name} project in #{repo_name}"
19
- system "git clone #{url(kit_name)}#{' ' + repo_name}"
19
+ system %{
20
+ git clone "#{url(kit_name)}" "#{repo_name}" &&
21
+ cd "#{repo_name}" &&
22
+ rm -rf .git &&
23
+ git init &&
24
+ git add . &&
25
+ git commit -am 'New proteus-#{kit_name} project' &&
26
+ cd -
27
+ }
20
28
  else
21
29
  puts "A thoughtbot repo doesn't exist with that name"
22
30
  end
@@ -1,3 +1,3 @@
1
1
  module Proteus
2
- VERSION = "0.1"
2
+ VERSION = "0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proteus-kits
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Ogle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-31 00:00:00.000000000 Z
11
+ date: 2015-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -114,3 +114,4 @@ summary: Starter kits to help you prototype faster
114
114
  test_files:
115
115
  - spec/proteus_spec.rb
116
116
  - spec/spec_helper.rb
117
+ has_rdoc: