ruby-app 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +3 -0
- data/LICENSE +20 -0
- data/README.md +16 -0
- data/Rakefile +8 -0
- data/bin/ruby-app +44 -0
- data/generator/.gitignore +6 -0
- data/generator/Gemfile +17 -0
- data/generator/Rakefile +4 -0
- data/generator/app/models/.gitkeep +0 -0
- data/generator/bin/dummy +7 -0
- data/generator/config/config.rb +9 -0
- data/generator/config/environment.rb +13 -0
- data/generator/config/environments/development.rb +8 -0
- data/generator/config/environments/production.rb +8 -0
- data/generator/config/environments/test.rb +8 -0
- data/generator/config/initializers/.gitkeep +0 -0
- data/generator/lib/application.rb +11 -0
- data/generator/lib/rake_tasks/.gitkeep +0 -0
- data/generator/spec/spec1_spec.rb +9 -0
- data/generator/spec/spec_helper.rb +6 -0
- data/lib/ruby-app/application.rb +32 -0
- data/lib/ruby-app/common_config.rb +51 -0
- data/lib/ruby-app/default_config.rb +9 -0
- data/lib/ruby-app/environment.rb +71 -0
- data/lib/ruby-app/local_logger.rb +9 -0
- data/lib/ruby-app/tasks.rb +14 -0
- data/lib/ruby-app/tasks/rspec.rake +13 -0
- data/lib/ruby-app/version.rb +3 -0
- data/ruby-app.gemspec +29 -0
- data/spec/app_spec.rb +32 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/test_app/.gitignore +6 -0
- data/spec/test_app/app/models/.gitkeep +0 -0
- data/spec/test_app/app/models/2.rb +2 -0
- data/spec/test_app/app/models/3.rb +2 -0
- data/spec/test_app/bin/.gitkeep +0 -0
- data/spec/test_app/config/config.rb +9 -0
- data/spec/test_app/config/environment.rb +18 -0
- data/spec/test_app/config/environments/development.rb +5 -0
- data/spec/test_app/config/environments/production.rb +9 -0
- data/spec/test_app/config/environments/test.rb +7 -0
- data/spec/test_app/config/environments/test3.rb +9 -0
- data/spec/test_app/config/initializers/.gitkeep +0 -0
- data/spec/test_app/config/initializers/1.rb +3 -0
- data/spec/test_app/config/initializers/2.rb +3 -0
- data/spec/test_app/lib/4.rb +3 -0
- data/spec/test_app/lib/application.rb +11 -0
- metadata +194 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2012 Makarchev K
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
data/Rakefile
ADDED
data/bin/ruby-app
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'thor/group'
|
5
|
+
|
6
|
+
class RubyAppGenerator < Thor::Group
|
7
|
+
include Thor::Actions
|
8
|
+
|
9
|
+
# Define arguments and options
|
10
|
+
argument :name
|
11
|
+
|
12
|
+
def copy_tree
|
13
|
+
Dir["#{source_root}/**/.git*"].each{|f| cp_file f }
|
14
|
+
Dir["#{source_root}/**/*"].each{|f| cp_file f }
|
15
|
+
end
|
16
|
+
|
17
|
+
def template_app
|
18
|
+
template("#{source_root}/lib/application.rb", "#{name}/lib/application.rb", true)
|
19
|
+
end
|
20
|
+
|
21
|
+
def chmod_example_bin
|
22
|
+
chmod "#{name}/bin/dummy", 0755
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
def cp_file(filename)
|
27
|
+
if File.exists?(filename) && !File.directory?(filename)
|
28
|
+
return if File.basename(filename) == 'application.rb'
|
29
|
+
to = "#{name}#{filename.sub(source_root, '')}"
|
30
|
+
copy_file(filename, to)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def source_root
|
35
|
+
File.join(File.dirname(__FILE__), %w{.. generator})
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.source_root
|
39
|
+
File.join(File.dirname(__FILE__), %w{.. generator})
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
|
44
|
+
RubyAppGenerator.start
|
data/generator/Gemfile
ADDED
data/generator/Rakefile
ADDED
File without changes
|
data/generator/bin/dummy
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
require 'rubygems'
|
3
|
+
require 'bundler/setup'
|
4
|
+
|
5
|
+
# ENV['APP_ENV'] = 'production' # uncomment if want forced env
|
6
|
+
|
7
|
+
class Application
|
8
|
+
def self.root
|
9
|
+
File.join(File.dirname(__FILE__), %w(..))
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
require 'ruby-app/environment'
|
File without changes
|
File without changes
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
|
3
|
+
class Application
|
4
|
+
class << self
|
5
|
+
def tmp_dir
|
6
|
+
@tmp_dir ||= File.join(root, %w{tmp})
|
7
|
+
end
|
8
|
+
|
9
|
+
def logger_dir
|
10
|
+
@logger_dir ||= File.join(root, %w{log})
|
11
|
+
end
|
12
|
+
|
13
|
+
def env
|
14
|
+
@env ||= ENV['APP_ENV'] || ENV['RAILS_ENV'] || 'development'
|
15
|
+
end
|
16
|
+
|
17
|
+
def logger
|
18
|
+
@logger ||= begin
|
19
|
+
file = (env == 'test') ? File.open(File.join(logger_dir, 'ruby-app.log'), "a") : STDERR
|
20
|
+
LocalLogger.new(file).tap do |l|
|
21
|
+
l.level = App.config.log_level
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def config
|
27
|
+
CommonConfig
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
A = App = Application
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
|
3
|
+
class CommonConfig
|
4
|
+
@@configs = {}
|
5
|
+
|
6
|
+
def self.define(name, &block)
|
7
|
+
s = Scope.new
|
8
|
+
s.instance_eval(&block)
|
9
|
+
@@configs.merge!(s.configs)
|
10
|
+
end
|
11
|
+
|
12
|
+
class Scope
|
13
|
+
def initialize
|
14
|
+
@configs = {}
|
15
|
+
end
|
16
|
+
|
17
|
+
attr_reader :configs
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
def method_missing(name, *params)
|
22
|
+
if name.to_s =~ /_address$/i
|
23
|
+
require 'ostruct'
|
24
|
+
@configs[name] = OpenStruct.new(:host => params[0], :port => params[1].to_i)
|
25
|
+
else
|
26
|
+
params = params[0] if params.size == 1
|
27
|
+
@configs[name] = params
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.[]=(option, value)
|
33
|
+
@@configs[option.to_sym] = value
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.[](option)
|
37
|
+
if @@configs.key?(option)
|
38
|
+
@@configs[option]
|
39
|
+
else
|
40
|
+
super
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.method_missing(*args)
|
45
|
+
if @@configs.key?(args[0])
|
46
|
+
@@configs[args[0]]
|
47
|
+
else
|
48
|
+
super
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
|
3
|
+
$KCODE='u' if RUBY_VERSION < '1.9'
|
4
|
+
|
5
|
+
#require 'yaml'
|
6
|
+
|
7
|
+
local_root = File.dirname(__FILE__)
|
8
|
+
|
9
|
+
# app from gem
|
10
|
+
require File.join(local_root, 'application')
|
11
|
+
|
12
|
+
# config from gem
|
13
|
+
require File.join(local_root, 'common_config')
|
14
|
+
|
15
|
+
# local logger from gem
|
16
|
+
require File.join(local_root, 'local_logger')
|
17
|
+
|
18
|
+
# load default config from gem
|
19
|
+
require File.join(local_root, 'default_config')
|
20
|
+
|
21
|
+
# gems from app
|
22
|
+
Bundler.require(:default, App.env.to_sym)
|
23
|
+
|
24
|
+
GC.start
|
25
|
+
|
26
|
+
# AS dependencies
|
27
|
+
require 'active_support/dependencies'
|
28
|
+
require 'active_support/core_ext/numeric/time'
|
29
|
+
require 'active_support/core_ext/object/blank'
|
30
|
+
|
31
|
+
# default config from app
|
32
|
+
require File.join(App.root, %w{config config})
|
33
|
+
|
34
|
+
# configs from app for env
|
35
|
+
begin
|
36
|
+
require File.join(App.root, %W( config environments #{App.env}))
|
37
|
+
rescue LoadError
|
38
|
+
raise "unknown env #{App.env}"
|
39
|
+
end
|
40
|
+
|
41
|
+
# unshift lib app
|
42
|
+
$:.unshift(File.join(App.root, 'lib'))
|
43
|
+
|
44
|
+
# unshift dirs app
|
45
|
+
dirs = Dir[File.join(App.root, %w{app *})]
|
46
|
+
dirs.each{|a| $:.unshift(a) }
|
47
|
+
|
48
|
+
#[:controllers, :models, :commands].each do |a|
|
49
|
+
# ActiveSupport::Dependencies::autoload_paths << "#{App.root}/app/#{a}"
|
50
|
+
#end
|
51
|
+
|
52
|
+
ActiveSupport::Dependencies::autoload_paths << File.join(App.root, 'lib')
|
53
|
+
|
54
|
+
#App.logger.info "started #{App.name} with env #{App.env}"
|
55
|
+
|
56
|
+
# load application app
|
57
|
+
require File.join(App.root, %w{lib application})
|
58
|
+
|
59
|
+
# load initializers app
|
60
|
+
Dir["#{App.root}/config/initializers/*.rb"].each{ |x| load(x) }
|
61
|
+
|
62
|
+
# first load models app
|
63
|
+
Dir["#{App.root}/app/models/*.rb"].each{ |x| require x }
|
64
|
+
|
65
|
+
# later controllers app
|
66
|
+
Dir["#{App.root}/app/controllers/*.rb"].each{ |x| require x }
|
67
|
+
|
68
|
+
# later all app
|
69
|
+
dirs.each do |dir|
|
70
|
+
Dir["#{dir}/*.rb"].each{ |x| require x }
|
71
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
begin
|
2
|
+
require 'rspec/core/rake_task'
|
3
|
+
|
4
|
+
desc "Run specs"
|
5
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
6
|
+
t.rspec_opts = ['--options', "./spec/spec.opts"]
|
7
|
+
t.pattern = "./spec/**/*_spec.rb"
|
8
|
+
end
|
9
|
+
task :default => :spec
|
10
|
+
|
11
|
+
rescue LoadError
|
12
|
+
puts "Warning, cant load rspec"
|
13
|
+
end
|
data/ruby-app.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.dirname(__FILE__) + "/lib/ruby-app/version"
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = %q{ruby-app}
|
6
|
+
s.version = RubyApp::VERSION
|
7
|
+
|
8
|
+
s.authors = ["Makarchev Konstantin"]
|
9
|
+
|
10
|
+
s.description = %q{Little ruby application template. For light ruby apps (daemons, EM-apps, ...)}
|
11
|
+
s.summary = %q{Ruby application template}
|
12
|
+
|
13
|
+
s.email = %q{kostya27@gmail.com}
|
14
|
+
s.homepage = %q{http://github.com/kostya/ruby-app}
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
s.add_dependency 'activesupport'
|
22
|
+
s.add_dependency 'rake'
|
23
|
+
s.add_dependency 'thor'
|
24
|
+
s.add_dependency "bundler"
|
25
|
+
|
26
|
+
s.add_development_dependency "rspec"
|
27
|
+
s.add_development_dependency "rake"
|
28
|
+
|
29
|
+
end
|
data/spec/app_spec.rb
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/spec_helper'
|
2
|
+
|
3
|
+
describe "RubyApp" do
|
4
|
+
|
5
|
+
describe "test1" do
|
6
|
+
before :all do
|
7
|
+
require File.join(File.dirname(__FILE__), %w{test_app config environment})
|
8
|
+
end
|
9
|
+
|
10
|
+
it "should require in right order" do
|
11
|
+
App.config.test_thing.should == [1,2,3,4]
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should be name" do
|
15
|
+
App.name.should == 'Test_app'
|
16
|
+
end
|
17
|
+
|
18
|
+
it "redefine configs" do
|
19
|
+
App.config.some1.should == 1
|
20
|
+
App.config.some2.should == 'bbb'
|
21
|
+
end
|
22
|
+
|
23
|
+
it "force set env" do
|
24
|
+
App.env.should == 'test3'
|
25
|
+
App.config.apps.size.should == 4
|
26
|
+
App.config.apps.uniq.should == ['test3']
|
27
|
+
App.config.bla.should == 12
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
data/spec/spec_helper.rb
ADDED
File without changes
|
File without changes
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
require 'rubygems'
|
3
|
+
|
4
|
+
ENV['APP_ENV'] = 'test3'
|
5
|
+
|
6
|
+
class Application
|
7
|
+
def self.root
|
8
|
+
File.join(File.dirname(__FILE__), %w(..))
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
$:.unshift(File.join(File.dirname(__FILE__), %w{.. .. .. lib}))
|
13
|
+
require 'ruby-app/environment'
|
14
|
+
|
15
|
+
App.config.test_thing << 3
|
16
|
+
Application.config.apps << App.env
|
17
|
+
|
18
|
+
require '4'
|
File without changes
|
metadata
ADDED
@@ -0,0 +1,194 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby-app
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 9
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
version: "0.1"
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Makarchev Konstantin
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2012-06-19 00:00:00 Z
|
18
|
+
dependencies:
|
19
|
+
- !ruby/object:Gem::Dependency
|
20
|
+
name: activesupport
|
21
|
+
prerelease: false
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
hash: 3
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
type: :runtime
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rake
|
35
|
+
prerelease: false
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
hash: 3
|
42
|
+
segments:
|
43
|
+
- 0
|
44
|
+
version: "0"
|
45
|
+
type: :runtime
|
46
|
+
version_requirements: *id002
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: thor
|
49
|
+
prerelease: false
|
50
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
hash: 3
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
version: "0"
|
59
|
+
type: :runtime
|
60
|
+
version_requirements: *id003
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: bundler
|
63
|
+
prerelease: false
|
64
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
hash: 3
|
70
|
+
segments:
|
71
|
+
- 0
|
72
|
+
version: "0"
|
73
|
+
type: :runtime
|
74
|
+
version_requirements: *id004
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rspec
|
77
|
+
prerelease: false
|
78
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
hash: 3
|
84
|
+
segments:
|
85
|
+
- 0
|
86
|
+
version: "0"
|
87
|
+
type: :development
|
88
|
+
version_requirements: *id005
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rake
|
91
|
+
prerelease: false
|
92
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
93
|
+
none: false
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
hash: 3
|
98
|
+
segments:
|
99
|
+
- 0
|
100
|
+
version: "0"
|
101
|
+
type: :development
|
102
|
+
version_requirements: *id006
|
103
|
+
description: Little ruby application template. For light ruby apps (daemons, EM-apps, ...)
|
104
|
+
email: kostya27@gmail.com
|
105
|
+
executables:
|
106
|
+
- ruby-app
|
107
|
+
extensions: []
|
108
|
+
|
109
|
+
extra_rdoc_files: []
|
110
|
+
|
111
|
+
files:
|
112
|
+
- .gitignore
|
113
|
+
- Gemfile
|
114
|
+
- LICENSE
|
115
|
+
- README.md
|
116
|
+
- Rakefile
|
117
|
+
- bin/ruby-app
|
118
|
+
- generator/.gitignore
|
119
|
+
- generator/Gemfile
|
120
|
+
- generator/Rakefile
|
121
|
+
- generator/app/models/.gitkeep
|
122
|
+
- generator/bin/dummy
|
123
|
+
- generator/config/config.rb
|
124
|
+
- generator/config/environment.rb
|
125
|
+
- generator/config/environments/development.rb
|
126
|
+
- generator/config/environments/production.rb
|
127
|
+
- generator/config/environments/test.rb
|
128
|
+
- generator/config/initializers/.gitkeep
|
129
|
+
- generator/lib/application.rb
|
130
|
+
- generator/lib/rake_tasks/.gitkeep
|
131
|
+
- generator/spec/spec1_spec.rb
|
132
|
+
- generator/spec/spec_helper.rb
|
133
|
+
- lib/ruby-app/application.rb
|
134
|
+
- lib/ruby-app/common_config.rb
|
135
|
+
- lib/ruby-app/default_config.rb
|
136
|
+
- lib/ruby-app/environment.rb
|
137
|
+
- lib/ruby-app/local_logger.rb
|
138
|
+
- lib/ruby-app/tasks.rb
|
139
|
+
- lib/ruby-app/tasks/rspec.rake
|
140
|
+
- lib/ruby-app/version.rb
|
141
|
+
- ruby-app.gemspec
|
142
|
+
- spec/app_spec.rb
|
143
|
+
- spec/spec_helper.rb
|
144
|
+
- spec/test_app/.gitignore
|
145
|
+
- spec/test_app/app/models/.gitkeep
|
146
|
+
- spec/test_app/app/models/2.rb
|
147
|
+
- spec/test_app/app/models/3.rb
|
148
|
+
- spec/test_app/bin/.gitkeep
|
149
|
+
- spec/test_app/config/config.rb
|
150
|
+
- spec/test_app/config/environment.rb
|
151
|
+
- spec/test_app/config/environments/development.rb
|
152
|
+
- spec/test_app/config/environments/production.rb
|
153
|
+
- spec/test_app/config/environments/test.rb
|
154
|
+
- spec/test_app/config/environments/test3.rb
|
155
|
+
- spec/test_app/config/initializers/.gitkeep
|
156
|
+
- spec/test_app/config/initializers/1.rb
|
157
|
+
- spec/test_app/config/initializers/2.rb
|
158
|
+
- spec/test_app/lib/4.rb
|
159
|
+
- spec/test_app/lib/application.rb
|
160
|
+
homepage: http://github.com/kostya/ruby-app
|
161
|
+
licenses: []
|
162
|
+
|
163
|
+
post_install_message:
|
164
|
+
rdoc_options: []
|
165
|
+
|
166
|
+
require_paths:
|
167
|
+
- lib
|
168
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
hash: 3
|
174
|
+
segments:
|
175
|
+
- 0
|
176
|
+
version: "0"
|
177
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
hash: 3
|
183
|
+
segments:
|
184
|
+
- 0
|
185
|
+
version: "0"
|
186
|
+
requirements: []
|
187
|
+
|
188
|
+
rubyforge_project:
|
189
|
+
rubygems_version: 1.8.24
|
190
|
+
signing_key:
|
191
|
+
specification_version: 3
|
192
|
+
summary: Ruby application template
|
193
|
+
test_files: []
|
194
|
+
|