cbaoth 0.0.3 → 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: fc2a9bc51e34b7582609affe450a7120e0f1a003
4
- data.tar.gz: 3587159e05719054fb632f3bf173ce3d6504de67
3
+ metadata.gz: e213eb79094532cb8e7b156be7e2ec60f7518a6b
4
+ data.tar.gz: 800e042e8de8f3df4db0a70ba6ca1fa09fee3360
5
5
  SHA512:
6
- metadata.gz: fa8d17cb277792619c2c6a98ed5fff2169db40794ed8bd879c67f90f440594b37acff90d83d7d56c70e0bfb764b361bb5520a0a5a28a7a99d2b3d0b984bdbe9c
7
- data.tar.gz: 734b1c3a5dbdfb78ce898c19a7402f5a4383ca241164d94936e26d3c5bbdcbb0a4625a352a192130a15c893b4a55a90c5288c18e463511c6d48ce55eb519065f
6
+ metadata.gz: 16a86a35720cbb978c2cf4d738cb4fc31361dd489cb421a924e5454011b2c4f2fa7c7d4ba9dc69040b9ed4828c3c5ea7a75f95abd7a213658fc93aa0eeabd7c5
7
+ data.tar.gz: 6001b8f9e0778408a2e026d0b503b7cccf5f5e9b9ec117a7088c84de96ac8b178b714c9972c28f92cbf58c2f9a622e5a9c3a4c21810f1f723bf6c7190a04dd33
data/README.md CHANGED
@@ -33,3 +33,10 @@ Replace *my_app* with the name of your app.
33
33
  3. Commit your changes (`git commit -am 'Add some feature'`)
34
34
  4. Push to the branch (`git push origin my-new-feature`)
35
35
  5. Create new Pull Request
36
+
37
+ ***
38
+ ## Gem Name Info
39
+
40
+ The name, for those non Star Wars g33ks, comes from the [Timothy Zahn](http://starwars.wikia.com/wiki/Timothy_Zahn) books. The character [Joruus C'baoth](http://starwars.wikia.com/wiki/Joruus_C%27baoth) is a clone of a Jedi, yeah yeah they said you couldn't clone a Jedi.He is a dark Jedi.
41
+
42
+ C'baoth, or in our case cbaoth, incidentally, is pronounced 'SA-bay-oth'
data/lib/cbaoth.rb CHANGED
@@ -28,7 +28,7 @@ module Cbaoth
28
28
  def create_dir_structure wd
29
29
  puts "creating base app dir structure"
30
30
  puts
31
- system "mkdir -p #{wd}/lib #{wd}/bin #{wd}/config #{wd}/db/migrate"
31
+ system "mkdir -p #{wd}/lib #{wd}/bin #{wd}/config #{wd}/db/migrate #{wd}/log"
32
32
  end
33
33
 
34
34
  def generate_base_files wd, gem_dir
@@ -39,6 +39,7 @@ module Cbaoth
39
39
  system "cp #{base_files}/base_rakefile #{wd}/Rakefile"
40
40
  system "cp #{base_files}/base_readme #{wd}/README.md"
41
41
  system "cp #{base_files}/base_database.yml #{wd}/config/database.yml"
42
+ system "touch #{wd}/process.rb"
42
43
  end
43
44
 
44
45
  def alert_user app_name
@@ -1,3 +1,3 @@
1
1
  module Cbaoth
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -51,7 +51,9 @@ describe Cbaoth::Generator do
51
51
  expect(Dir.exist?('db/migrate')).to be_true
52
52
  end
53
53
 
54
- # after { Dir.chdir(previous_dir) }
54
+ it 'creates the log dir' do
55
+ expect(Dir.exist?('log')).to be_true
56
+ end
55
57
  end
56
58
 
57
59
  describe '#generate_base_files' do
data/spec/spec_helper.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  #
6
6
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
7
 
8
- require_relative '../lib/ruby_app_generator'
8
+ require_relative '../lib/cbaoth'
9
9
 
10
10
  RSpec.configure do |config|
11
11
  config.treat_symbols_as_metadata_keys_with_true_values = true
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cbaoth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Curtis Ovard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-25 00:00:00.000000000 Z
11
+ date: 2013-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -63,6 +63,7 @@ files:
63
63
  - lib/cbaoth/version.rb
64
64
  - spec/lib/cbaoth_spec.rb
65
65
  - spec/spec_helper.rb
66
+ - spec/testing_dir/test/process.rb
66
67
  homepage: https://github.com/covard/ruby_app_generator
67
68
  licenses:
68
69
  - MIT
@@ -91,3 +92,4 @@ summary: Gem to create a base ruby automation app from the command line. Simply
91
92
  test_files:
92
93
  - spec/lib/cbaoth_spec.rb
93
94
  - spec/spec_helper.rb
95
+ - spec/testing_dir/test/process.rb