braces 0.0.1 → 0.0.2

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.
data/.gitignore CHANGED
@@ -1,4 +1,3 @@
1
1
  *.gem
2
2
  .bundle
3
- Gemfile.lock
4
3
  pkg/*
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use 1.9.2@braces --create
@@ -0,0 +1,8 @@
1
+ rvm:
2
+ - 1.8.7
3
+ - 1.9.2
4
+ - rbx
5
+ - jruby
6
+ script: "bundle exec rake"
7
+ gemfile:
8
+ - Gemfile.lock
@@ -0,0 +1,55 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ braces (0.0.2)
5
+ methadone
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ aruba (0.4.6)
11
+ bcat (>= 0.6.1)
12
+ childprocess (>= 0.2.0)
13
+ cucumber (>= 1.0.2)
14
+ rdiscount (>= 1.6.8)
15
+ rspec (>= 2.6.0)
16
+ bcat (0.6.2)
17
+ rack (~> 1.0)
18
+ builder (3.0.0)
19
+ childprocess (0.2.2)
20
+ ffi (~> 1.0.6)
21
+ cucumber (1.1.0)
22
+ builder (>= 2.1.2)
23
+ diff-lcs (>= 1.1.2)
24
+ gherkin (~> 2.5.0)
25
+ json (>= 1.4.6)
26
+ term-ansicolor (>= 1.0.6)
27
+ diff-lcs (1.1.3)
28
+ ffi (1.0.9)
29
+ gherkin (2.5.2)
30
+ json (>= 1.4.6)
31
+ json (1.6.1)
32
+ methadone (0.3.0)
33
+ rack (1.3.4)
34
+ rake (0.9.2)
35
+ rdiscount (1.6.8)
36
+ rdoc (3.10)
37
+ json (~> 1.4)
38
+ rspec (2.7.0)
39
+ rspec-core (~> 2.7.0)
40
+ rspec-expectations (~> 2.7.0)
41
+ rspec-mocks (~> 2.7.0)
42
+ rspec-core (2.7.0)
43
+ rspec-expectations (2.7.0)
44
+ diff-lcs (~> 1.1.2)
45
+ rspec-mocks (2.7.0)
46
+ term-ansicolor (1.0.7)
47
+
48
+ PLATFORMS
49
+ ruby
50
+
51
+ DEPENDENCIES
52
+ aruba
53
+ braces!
54
+ rake (~> 0.9.2)
55
+ rdoc
@@ -2,6 +2,11 @@
2
2
 
3
3
  Bootstrap sinatra applications with a minimal template and rspec.
4
4
 
5
+ == Why?
6
+
7
+ Isn't Sinatra supposed to be super lightweight and easy to setup? Yup,
8
+ it is; but it's nice to get everything else for free sometimes.
9
+
5
10
  == Usage
6
11
 
7
12
  Include:
@@ -16,6 +21,7 @@ Voila!
16
21
 
17
22
  == What's in the package?
18
23
 
24
+ * Bundler
19
25
  * Sinatra
20
26
  * Thin
21
27
  * Shotgun
@@ -27,4 +33,5 @@ Braces is Copyright © 2011 Christopher Meiklejohn. It is free software, and ma
27
33
 
28
34
  == About
29
35
 
30
- The braces gem was written by {Christopher Meiklejohn}[mailto:cmeiklejohn@swipely.com]
36
+ The braces gem was written by {Christopher Meiklejohn}[mailto:cmeiklejohn@swipely.com].
37
+
data/Rakefile CHANGED
@@ -25,4 +25,4 @@ Rake::RDocTask.new do |rd|
25
25
  rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
26
26
  end
27
27
 
28
- task :default => [:test, :cucumber]
28
+ task :default => [:test, :features]
data/bin/braces CHANGED
@@ -20,13 +20,9 @@ main do |name|
20
20
  app_name = app_name.downcase
21
21
  app_name_constant = app_name.capitalize
22
22
 
23
- chdir File.dirname(name)
24
-
25
- debug "Creating project for sinatra app #{app_name}"
26
-
23
+ chdir File.dirname(name)
27
24
  mkdir_p app_name
28
-
29
- chdir app_name
25
+ chdir app_name
30
26
 
31
27
  template_dirs_in(:full).each { |dir| mkdir_p dir }
32
28
 
@@ -39,8 +35,8 @@ end
39
35
 
40
36
  description "Braces help you quickly bootstrap a sinatra application."
41
37
 
42
- on("--force","Overwrite files if they exist")
38
+ on("--force", "Overwrite files if they exist")
43
39
 
44
- arg :app_name
40
+ arg :name
45
41
 
46
42
  go!
@@ -12,7 +12,7 @@ Feature: Bootstrap a sinatra application
12
12
  Then the exit status should be 0
13
13
  And the output should contain:
14
14
  """
15
- Usage: braces [options] app_name
15
+ Usage: braces [options] name
16
16
 
17
17
  Braces help you quickly bootstrap a sinatra application.
18
18
 
@@ -1,3 +1,3 @@
1
1
  module Braces
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: braces
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-17 00:00:00.000000000 -04:00
12
+ date: 2011-10-23 00:00:00.000000000 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdoc
17
- requirement: &21266680 !ruby/object:Gem::Requirement
17
+ requirement: &18541000 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *21266680
25
+ version_requirements: *18541000
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: aruba
28
- requirement: &21266240 !ruby/object:Gem::Requirement
28
+ requirement: &18540200 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *21266240
36
+ version_requirements: *18540200
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rake
39
- requirement: &21264980 !ruby/object:Gem::Requirement
39
+ requirement: &18539200 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 0.9.2
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *21264980
47
+ version_requirements: *18539200
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: methadone
50
- requirement: &21264060 !ruby/object:Gem::Requirement
50
+ requirement: &18538140 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: '0'
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *21264060
58
+ version_requirements: *18538140
59
59
  description: Braces help you quickly bootstrap a sinatra application.
60
60
  email:
61
61
  - christopher.meiklejohn@gmail.com
@@ -65,7 +65,10 @@ extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
67
  - .gitignore
68
+ - .rvmrc
69
+ - .travis.yml
68
70
  - Gemfile
71
+ - Gemfile.lock
69
72
  - LICENSE
70
73
  - README.rdoc
71
74
  - Rakefile
@@ -97,7 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
100
  version: '0'
98
101
  segments:
99
102
  - 0
100
- hash: -3256966709004082142
103
+ hash: 929470050151227621
101
104
  required_rubygems_version: !ruby/object:Gem::Requirement
102
105
  none: false
103
106
  requirements:
@@ -106,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
109
  version: '0'
107
110
  segments:
108
111
  - 0
109
- hash: -3256966709004082142
112
+ hash: 929470050151227621
110
113
  requirements: []
111
114
  rubyforge_project: braces
112
115
  rubygems_version: 1.6.2