showtime 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,6 @@
1
+ .bundle
1
2
  pkg
2
3
  pkg/*
3
4
  output
4
- output/*
5
+ output/*
6
+ .rvmrc
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # A sample Gemfile
2
+ source "http://rubygems.org"
3
+
4
+ gemspec
5
+ # gem "rails"
data/Gemfile.lock ADDED
@@ -0,0 +1,30 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ showtime (0.1.4)
5
+ thor (>= 0.14.3)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ diff-lcs (1.1.2)
11
+ rspec (2.0.0)
12
+ rspec-core (= 2.0.0)
13
+ rspec-expectations (= 2.0.0)
14
+ rspec-mocks (= 2.0.0)
15
+ rspec-core (2.0.0)
16
+ rspec-expectations (2.0.0)
17
+ diff-lcs (>= 1.1.2)
18
+ rspec-mocks (2.0.0)
19
+ rspec-core (= 2.0.0)
20
+ rspec-expectations (= 2.0.0)
21
+ thor (0.14.3)
22
+
23
+ PLATFORMS
24
+ ruby
25
+
26
+ DEPENDENCIES
27
+ bundler (>= 1.0.0)
28
+ rspec (>= 2.0.0)
29
+ showtime!
30
+ thor (>= 0.14.3)
data/Rakefile CHANGED
@@ -1,33 +1,45 @@
1
- # encoding: utf-8
2
- require 'rubygems'
3
- require 'rake'
1
+ require 'bundler'
2
+ require 'rspec/core/rake_task'
3
+ Bundler::GemHelper.install_tasks
4
4
 
5
- begin
6
- require 'jeweler'
7
- Jeweler::Tasks.new do |gem|
8
- gem.name = "showtime"
9
- gem.summary = %Q{Simple Sinatra generator}
10
- gem.description = %Q{Application generator for simple Sinatra apps.}
11
- gem.email = "luc4smazza@gmail.com"
12
- gem.homepage = "http://github.com/lucasmazza/showtime"
13
- gem.authors = ["Lucas Mazza"]
14
- gem.add_development_dependency "rspec", ">= 1.3.0"
15
- gem.require_path = 'lib'
16
- gem.bindir = "bin"
17
- gem.executables = %w(showtime)
18
- gem.test_files.include 'spec/**/*'
19
- gem.add_dependency "thor", ">= 0.14.0"
20
- end
21
- Jeweler::GemcutterTasks.new
22
- rescue LoadError
23
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
24
- end
25
-
26
- require 'spec/rake/spectask'
27
- Spec::Rake::SpecTask.new(:spec) do |spec|
28
- spec.libs << 'lib' << 'spec'
29
- spec.spec_opts = %w(--format specdoc --color)
30
- spec.spec_files = FileList['spec/**/*_spec.rb']
5
+ desc "Run specs"
6
+ RSpec::Core::RakeTask.new do |task|
7
+ task.rspec_opts = ["-c"]
31
8
  end
32
9
 
33
10
  task :default => :spec
11
+
12
+ #
13
+ # # encoding: utf-8
14
+ # require 'rubygems'
15
+ # require 'rake'
16
+ #
17
+ # begin
18
+ # require 'jeweler'
19
+ # Jeweler::Tasks.new do |gem|
20
+ # gem.name = "showtime"
21
+ # gem.summary = %Q{Simple Sinatra generator}
22
+ # gem.description = %Q{Application generator for simple Sinatra apps.}
23
+ # gem.email = "luc4smazza@gmail.com"
24
+ # gem.homepage = "http://github.com/lucasmazza/showtime"
25
+ # gem.authors = ["Lucas Mazza"]
26
+ # gem.add_development_dependency "rspec", ">= 1.3.0"
27
+ # gem.require_path = 'lib'
28
+ # gem.bindir = "bin"
29
+ # gem.executables = %w(showtime)
30
+ # gem.test_files.include 'spec/**/*'
31
+ # gem.add_dependency "thor", ">= 0.14.0"
32
+ # end
33
+ # Jeweler::GemcutterTasks.new
34
+ # rescue LoadError
35
+ # puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
36
+ # end
37
+ #
38
+ # require 'spec/rake/spectask'
39
+ # Spec::Rake::SpecTask.new(:spec) do |spec|
40
+ # spec.libs << 'lib' << 'spec'
41
+ # spec.spec_opts = %w(--format specdoc --color)
42
+ # spec.spec_files = FileList['spec/**/*_spec.rb']
43
+ # end
44
+ #
45
+ # task :default => :spec
data/bin/showtime CHANGED
File without changes
@@ -1,8 +1,8 @@
1
- require 'spec/rake/spectask'
1
+ require 'rspec/core/rake_task'
2
2
 
3
3
  desc "Run all specs"
4
- Spec::Rake::SpecTask.new do |t|
5
- t.spec_opts = %w(--format specdoc --color)
4
+ RSpec::Core::RakeTask.new do |task|
5
+ task.rspec_opts = ["-c"]
6
6
  end
7
7
 
8
8
  task :default => :spec
@@ -1,9 +1,9 @@
1
1
  require File.join(File.dirname(__FILE__), '..', 'application.rb')
2
2
 
3
- require 'spec'
3
+ require 'rspec'
4
4
  require 'rack/test'
5
5
 
6
- Spec::Runner.configure do |config|
6
+ RSpec.configure do |config|
7
7
  config.include Rack::Test::Methods
8
8
  end
9
9
 
data/showtime.gemspec CHANGED
@@ -1,73 +1,22 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
5
2
 
6
3
  Gem::Specification.new do |s|
7
- s.name = %q{showtime}
8
- s.version = "0.1.3"
4
+ s.name = "showtime"
5
+ s.version = "0.1.4"
6
+ s.platform = Gem::Platform::RUBY
7
+ s.authors = ["Lucas Mazza"]
8
+ s.date = %q{2010-08-09}
9
+ s.email = ["luc4smazza@gmail.com"]
10
+ s.homepage = "http://rubygems.org/gems/showtime"
11
+ s.summary = "Simple Sinatra generator"
12
+ s.description = "Application generator for simple Sinatra apps"
9
13
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Lucas Mazza"]
12
- s.date = %q{2010-08-09}
13
- s.default_executable = %q{showtime}
14
- s.description = %q{Application generator for simple Sinatra apps.}
15
- s.email = %q{luc4smazza@gmail.com}
16
- s.executables = ["showtime"]
17
- s.extra_rdoc_files = [
18
- "LICENSE",
19
- "README.markdown",
20
- "TODO"
21
- ]
22
- s.files = [
23
- ".gitignore",
24
- "LICENSE",
25
- "README.markdown",
26
- "Rakefile",
27
- "TODO",
28
- "VERSION",
29
- "bin/showtime",
30
- "lib/showtime.rb",
31
- "lib/showtime/generator.rb",
32
- "lib/showtime/templates/.gems",
33
- "lib/showtime/templates/Rakefile",
34
- "lib/showtime/templates/application.rb",
35
- "lib/showtime/templates/config.ru",
36
- "lib/showtime/templates/public/javascripts/application.js",
37
- "lib/showtime/templates/public/stylesheets/application.css",
38
- "lib/showtime/templates/spec/application_spec.rb",
39
- "lib/showtime/templates/spec/spec_helper.rb",
40
- "lib/showtime/templates/views/index.erb",
41
- "showtime.gemspec",
42
- "spec/generator_spec.rb",
43
- "spec/helper_methods.rb",
44
- "spec/spec_helper.rb"
45
- ]
46
- s.homepage = %q{http://github.com/lucasmazza/showtime}
47
- s.rdoc_options = ["--charset=UTF-8"]
48
- s.require_paths = ["lib"]
49
- s.rubygems_version = %q{1.3.7}
50
- s.summary = %q{Simple Sinatra generator}
51
- s.test_files = [
52
- "spec/generator_spec.rb",
53
- "spec/helper_methods.rb",
54
- "spec/spec_helper.rb"
55
- ]
14
+ s.required_rubygems_version = ">= 1.3.6"
15
+ s.add_development_dependency "bundler", ">= 1.0.0"
16
+ s.add_development_dependency "rspec", ">= 2.0.0"
17
+ s.add_runtime_dependency "thor", ">= 0.14.3"
56
18
 
57
- if s.respond_to? :specification_version then
58
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
59
- s.specification_version = 3
60
-
61
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
62
- s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
63
- s.add_runtime_dependency(%q<thor>, [">= 0.14.0"])
64
- else
65
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
66
- s.add_dependency(%q<thor>, [">= 0.14.0"])
67
- end
68
- else
69
- s.add_dependency(%q<rspec>, [">= 1.3.0"])
70
- s.add_dependency(%q<thor>, [">= 0.14.0"])
71
- end
19
+ s.files = `git ls-files`.split("\n")
20
+ s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
21
+ s.require_path = 'lib'
72
22
  end
73
-
data/spec/spec_helper.rb CHANGED
@@ -3,7 +3,7 @@ require 'showtime'
3
3
  require 'fileutils'
4
4
  require 'stringio'
5
5
 
6
- Spec::Runner.configure do |config|
6
+ RSpec.configure do |config|
7
7
 
8
8
  def sandbox
9
9
  "./output/showtime"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: showtime
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lucas Mazza
@@ -16,57 +16,73 @@ bindir: bin
16
16
  cert_chain: []
17
17
 
18
18
  date: 2010-08-09 00:00:00 -03:00
19
- default_executable: showtime
19
+ default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: rspec
22
+ name: bundler
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 27
29
+ hash: 23
30
30
  segments:
31
31
  - 1
32
- - 3
33
32
  - 0
34
- version: 1.3.0
33
+ - 0
34
+ version: 1.0.0
35
35
  type: :development
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
38
- name: thor
38
+ name: rspec
39
39
  prerelease: false
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- hash: 39
45
+ hash: 15
46
46
  segments:
47
+ - 2
47
48
  - 0
48
- - 14
49
49
  - 0
50
- version: 0.14.0
51
- type: :runtime
50
+ version: 2.0.0
51
+ type: :development
52
52
  version_requirements: *id002
53
- description: Application generator for simple Sinatra apps.
54
- email: luc4smazza@gmail.com
53
+ - !ruby/object:Gem::Dependency
54
+ name: thor
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 33
62
+ segments:
63
+ - 0
64
+ - 14
65
+ - 3
66
+ version: 0.14.3
67
+ type: :runtime
68
+ version_requirements: *id003
69
+ description: Application generator for simple Sinatra apps
70
+ email:
71
+ - luc4smazza@gmail.com
55
72
  executables:
56
73
  - showtime
57
74
  extensions: []
58
75
 
59
- extra_rdoc_files:
60
- - LICENSE
61
- - README.markdown
62
- - TODO
76
+ extra_rdoc_files: []
77
+
63
78
  files:
64
79
  - .gitignore
80
+ - Gemfile
81
+ - Gemfile.lock
65
82
  - LICENSE
66
83
  - README.markdown
67
84
  - Rakefile
68
85
  - TODO
69
- - VERSION
70
86
  - bin/showtime
71
87
  - lib/showtime.rb
72
88
  - lib/showtime/generator.rb
@@ -84,12 +100,12 @@ files:
84
100
  - spec/helper_methods.rb
85
101
  - spec/spec_helper.rb
86
102
  has_rdoc: true
87
- homepage: http://github.com/lucasmazza/showtime
103
+ homepage: http://rubygems.org/gems/showtime
88
104
  licenses: []
89
105
 
90
106
  post_install_message:
91
- rdoc_options:
92
- - --charset=UTF-8
107
+ rdoc_options: []
108
+
93
109
  require_paths:
94
110
  - lib
95
111
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -106,10 +122,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
122
  requirements:
107
123
  - - ">="
108
124
  - !ruby/object:Gem::Version
109
- hash: 3
125
+ hash: 23
110
126
  segments:
111
- - 0
112
- version: "0"
127
+ - 1
128
+ - 3
129
+ - 6
130
+ version: 1.3.6
113
131
  requirements: []
114
132
 
115
133
  rubyforge_project:
@@ -117,7 +135,5 @@ rubygems_version: 1.3.7
117
135
  signing_key:
118
136
  specification_version: 3
119
137
  summary: Simple Sinatra generator
120
- test_files:
121
- - spec/generator_spec.rb
122
- - spec/helper_methods.rb
123
- - spec/spec_helper.rb
138
+ test_files: []
139
+
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.3