flx-tools 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
data/flx-tools.gemspec ADDED
@@ -0,0 +1,76 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{flx-tools}
8
+ s.version = "0.2.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["masarakki"]
12
+ s.date = %q{2011-07-18}
13
+ s.description = %q{Install files to deploy on fluxflex.com}
14
+ s.email = %q{masaki@hisme.net}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "flx-tools.gemspec",
29
+ "lib/flx-tools.rb",
30
+ "lib/generators/flux_flex/install_generator.rb",
31
+ "lib/generators/flux_flex/templates/.flx",
32
+ "lib/generators/flux_flex/templates/.htaccess",
33
+ "lib/generators/flux_flex/templates/fluxflex_deploy.sh",
34
+ "lib/generators/flux_flex/templates/fluxflex_rake.sh",
35
+ "lib/generators/flux_flex/templates/fluxflex_setup.sh",
36
+ "lib/generators/flux_flex/templates/flx_dispatch.fcgi",
37
+ "spec/flx-tools_spec.rb",
38
+ "spec/spec_helper.rb"
39
+ ]
40
+ s.homepage = %q{http://github.com/masarakki/flx-tools}
41
+ s.licenses = ["MIT"]
42
+ s.require_paths = ["lib"]
43
+ s.rubygems_version = %q{1.6.2}
44
+ s.summary = %q{Install files to deploy on fluxflex.com}
45
+
46
+ if s.respond_to? :specification_version then
47
+ s.specification_version = 3
48
+
49
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
+ s.add_runtime_dependency(%q<rake>, ["= 0.8.7"])
51
+ s.add_runtime_dependency(%q<rails>, [">= 0"])
52
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
53
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
54
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
55
+ s.add_development_dependency(%q<rcov>, [">= 0"])
56
+ s.add_development_dependency(%q<rspec-rails>, [">= 0"])
57
+ else
58
+ s.add_dependency(%q<rake>, ["= 0.8.7"])
59
+ s.add_dependency(%q<rails>, [">= 0"])
60
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
61
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
62
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
63
+ s.add_dependency(%q<rcov>, [">= 0"])
64
+ s.add_dependency(%q<rspec-rails>, [">= 0"])
65
+ end
66
+ else
67
+ s.add_dependency(%q<rake>, ["= 0.8.7"])
68
+ s.add_dependency(%q<rails>, [">= 0"])
69
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
70
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
71
+ s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
72
+ s.add_dependency(%q<rcov>, [">= 0"])
73
+ s.add_dependency(%q<rspec-rails>, [">= 0"])
74
+ end
75
+ end
76
+
@@ -38,10 +38,14 @@ DESC
38
38
  f.puts "gem 'fcgi'" unless body.match(/fcgi/)
39
39
  end
40
40
  else
41
- raise Rails::Generators::Error, "First, you must setup rspec by 'rails generate rspec:install'"
41
+ raise Rails::Generators::Error, "Gemfile not found."
42
42
  end
43
43
 
44
44
  end
45
+
46
+ def application_name
47
+ Rails.application.class.name
48
+ end
45
49
  end
46
50
  end
47
51
  end
@@ -32,4 +32,4 @@ class Rack::PathInfoRewriter
32
32
  end
33
33
  end
34
34
 
35
- Handler::FastCGI.run Rack::PathInfoRewriter.new(FluxflexSample::Application)
35
+ Handler::FastCGI.run Rack::PathInfoRewriter.new(<%= application_name %>)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: flx-tools
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - masarakki
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-17 00:00:00 +09:00
13
+ date: 2011-07-18 00:00:00 +09:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -108,6 +108,7 @@ files:
108
108
  - README.rdoc
109
109
  - Rakefile
110
110
  - VERSION
111
+ - flx-tools.gemspec
111
112
  - lib/flx-tools.rb
112
113
  - lib/generators/flux_flex/install_generator.rb
113
114
  - lib/generators/flux_flex/templates/.flx
@@ -132,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
133
  requirements:
133
134
  - - ">="
134
135
  - !ruby/object:Gem::Version
135
- hash: -979754221
136
+ hash: 386566515
136
137
  segments:
137
138
  - 0
138
139
  version: "0"