singu 0.0.5 → 0.0.8

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: e226632fff328ab84c9a532b0a89b46c9c30e455
4
- data.tar.gz: 7ad0f975a032c391ea2b0f1dc746f0cd0270e285
3
+ metadata.gz: f1df3d09a70d950a8d7b130b332c88963517a32c
4
+ data.tar.gz: cd03e8eb0208df3c233ec12fdb13bdda288c6ef4
5
5
  SHA512:
6
- metadata.gz: 7291370ef95acec1e8170722e7484f5132f21f8abc8e2eb9c789b25b651e36830338d108d77b75c3c2c56868757cdb65da4fb3980cd23fc9b33eb3e390a754a6
7
- data.tar.gz: d5253479cd1ff8f86623af0a6fd4a5be296ae9bcd44833d9c44b7b908f95fe67a77d1a24c6ce940f3bb49026169cb6e91b9bff0413131fb752259ba76e47f28b
6
+ metadata.gz: 79e9d25f60b5bd8395a1acc9fc696712c8cac1a0d952ae2c47229449d3d63dd942a30b00c227de981ca4f0e73df07fb8d4da011af945cabcdf6c85fb54c851ec
7
+ data.tar.gz: 41c53050875c11028bc547b8646c569d9d8ecaf0db4a97e1ffdc7482b9cfb6f9a627e2ba323823a468288aad8116b3465e58ffe6321c38471416a5fc6778b4c6
data/README.md CHANGED
@@ -5,8 +5,6 @@ Sinatra + Angular Base App Generator
5
5
 
6
6
  ## Development Boostrap
7
7
 
8
- To create Sinatra + Angular App:
9
-
10
8
  Install **singu** gem with provides base app generator
11
9
 
12
10
  ```
data/lib/singu/cli.rb CHANGED
@@ -13,7 +13,8 @@ module Singu
13
13
  end
14
14
 
15
15
  desc "Creates a new Sinatra + Angular.js application"
16
- argument :name, :type => :string, :desc => "The name of the new application"
16
+ argument :name, type: :string, desc: "The name of the new application"
17
+ class_option :gems, type: :array, description: "The names of gems you want to add to the new application"
17
18
 
18
19
  def setup
19
20
  @app_path = name.directory_name
data/lib/singu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Singu
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -8,6 +8,9 @@ gem 'rake', '~> 10.3'
8
8
  # DB
9
9
  gem 'sqlite3'
10
10
 
11
+ # Custom gems, please set versions
12
+ <%= @gems.collect{|gem| "gem '#{gem}'"}.compact.join("\n") %>
13
+
11
14
  group :development do
12
15
  gem 'thin' #server
13
16
  gem 'byebug' #debugging
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: singu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darek Finster
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-16 00:00:00.000000000 Z
11
+ date: 2014-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -244,7 +244,7 @@ files:
244
244
  - templates/angular/client/app/index.html
245
245
  - templates/angular/client/package.json
246
246
  - templates/sinatra/.gitignore
247
- - templates/sinatra/Gemfile
247
+ - templates/sinatra/Gemfile.tt
248
248
  - templates/sinatra/Procfile
249
249
  - templates/sinatra/Rakefile
250
250
  - templates/sinatra/app.rb.tt