ruby-app 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -2
- data/generator/project/bin/console +1 -1
- data/generator/project/bin/example +1 -1
- data/generator/project/config/config.rb +1 -0
- data/generator/project/config/environment.rb +3 -1
- data/lib/ruby-app/application_defaults.rb +4 -0
- data/lib/ruby-app/environment.rb +1 -0
- data/lib/ruby-app/tasks/rspec.rake +1 -1
- data/lib/ruby-app/version.rb +1 -1
- data/ruby-app.gemspec +3 -3
- metadata +108 -108
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
RubyApp
|
2
2
|
=======
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
Ruby micro framework for easy create ruby applications (daemons, EventMachine-apps, db-apps, cli...).
|
5
|
+
Features: bundler, environments, activesupport, rails dirs tree. Fast loading and low memory using.
|
6
6
|
|
7
7
|
$ gem install ruby-app
|
8
8
|
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
require File.join(File.dirname(__FILE__), 'boot')
|
3
3
|
|
4
|
-
#
|
4
|
+
# uncomment if needed force env
|
5
|
+
# ENV['APP_ENV'] = 'production'
|
6
|
+
# or create file config/environment.current (by captistrano for example) and put there string 'production'
|
5
7
|
|
6
8
|
require 'ruby-app/environment'
|
data/lib/ruby-app/environment.rb
CHANGED
@@ -21,6 +21,7 @@ require File.join(local_root, 'default_config')
|
|
21
21
|
Bundler.require(:default, App.env.to_sym)
|
22
22
|
|
23
23
|
# AS dependencies
|
24
|
+
# i prefer 2.seconds, or x.blank? functions by default
|
24
25
|
require 'active_support/dependencies'
|
25
26
|
require 'active_support/core_ext/numeric/time'
|
26
27
|
require 'active_support/core_ext/object/blank'
|
data/lib/ruby-app/version.rb
CHANGED
data/ruby-app.gemspec
CHANGED
@@ -6,9 +6,9 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.version = RubyApp::VERSION
|
7
7
|
|
8
8
|
s.authors = ["Makarchev Konstantin"]
|
9
|
-
|
10
|
-
s.description = %q{
|
11
|
-
s.summary = %q{Ruby application
|
9
|
+
|
10
|
+
s.description = %q{Ruby micro framework for easy create ruby applications (daemons, EventMachine-apps, db-apps, cli...). Features: bundler, environments, activesupport, rails dirs tree. Fast loading and low memory using.}
|
11
|
+
s.summary = %q{Ruby application micro framework}
|
12
12
|
|
13
13
|
s.email = %q{kostya27@gmail.com}
|
14
14
|
s.homepage = %q{http://github.com/kostya/ruby-app}
|
metadata
CHANGED
@@ -1,116 +1,121 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-app
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.9
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 8
|
10
|
-
version: 0.1.8
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Makarchev Konstantin
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
version_requirements: &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
|
-
prerelease: false
|
32
|
-
type: :runtime
|
33
|
-
requirement: *id001
|
12
|
+
date: 2012-11-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
34
15
|
name: activesupport
|
35
|
-
|
36
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
37
17
|
none: false
|
38
|
-
requirements:
|
39
|
-
- -
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
segments:
|
43
|
-
- 0
|
44
|
-
version: "0"
|
45
|
-
prerelease: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
46
22
|
type: :runtime
|
47
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
48
31
|
name: rake
|
49
|
-
|
50
|
-
version_requirements: &id003 !ruby/object:Gem::Requirement
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
51
33
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
56
|
-
segments:
|
57
|
-
- 0
|
58
|
-
version: "0"
|
59
|
-
prerelease: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
60
38
|
type: :runtime
|
61
|
-
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
62
47
|
name: thor
|
63
|
-
|
64
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
65
49
|
none: false
|
66
|
-
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
|
70
|
-
segments:
|
71
|
-
- 0
|
72
|
-
version: "0"
|
73
|
-
prerelease: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
74
54
|
type: :runtime
|
75
|
-
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
76
63
|
name: bundler
|
77
|
-
|
78
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
79
65
|
none: false
|
80
|
-
requirements:
|
81
|
-
- -
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
|
84
|
-
|
85
|
-
- 0
|
86
|
-
version: "0"
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
87
71
|
prerelease: false
|
88
|
-
|
89
|
-
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
90
79
|
name: rspec
|
91
|
-
|
92
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
93
81
|
none: false
|
94
|
-
requirements:
|
95
|
-
- -
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
|
98
|
-
segments:
|
99
|
-
- 0
|
100
|
-
version: "0"
|
101
|
-
prerelease: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
102
86
|
type: :development
|
103
|
-
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
104
95
|
name: rake
|
105
|
-
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
description: ! 'Ruby micro framework for easy create ruby applications (daemons, EventMachine-apps,
|
111
|
+
db-apps, cli...). Features: bundler, environments, activesupport, rails dirs tree.
|
112
|
+
Fast loading and low memory using.'
|
106
113
|
email: kostya27@gmail.com
|
107
|
-
executables:
|
114
|
+
executables:
|
108
115
|
- ruby-app
|
109
116
|
extensions: []
|
110
|
-
|
111
117
|
extra_rdoc_files: []
|
112
|
-
|
113
|
-
files:
|
118
|
+
files:
|
114
119
|
- .gitignore
|
115
120
|
- Gemfile
|
116
121
|
- LICENSE
|
@@ -169,39 +174,34 @@ files:
|
|
169
174
|
- spec/test_app/config/initializers/2.rb
|
170
175
|
- spec/test_app/lib/4.rb
|
171
176
|
- spec/test_app/lib/application.rb
|
172
|
-
has_rdoc: true
|
173
177
|
homepage: http://github.com/kostya/ruby-app
|
174
178
|
licenses: []
|
175
|
-
|
176
179
|
post_install_message:
|
177
180
|
rdoc_options: []
|
178
|
-
|
179
|
-
require_paths:
|
181
|
+
require_paths:
|
180
182
|
- lib
|
181
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
183
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
182
184
|
none: false
|
183
|
-
requirements:
|
184
|
-
- -
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
|
187
|
-
segments:
|
185
|
+
requirements:
|
186
|
+
- - ! '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
segments:
|
188
190
|
- 0
|
189
|
-
|
190
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
|
+
hash: -119047907
|
192
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
193
|
none: false
|
192
|
-
requirements:
|
193
|
-
- -
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
|
196
|
-
segments:
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
segments:
|
197
199
|
- 0
|
198
|
-
|
200
|
+
hash: -119047907
|
199
201
|
requirements: []
|
200
|
-
|
201
202
|
rubyforge_project:
|
202
|
-
rubygems_version: 1.
|
203
|
+
rubygems_version: 1.8.24
|
203
204
|
signing_key:
|
204
205
|
specification_version: 3
|
205
|
-
summary: Ruby application
|
206
|
+
summary: Ruby application micro framework
|
206
207
|
test_files: []
|
207
|
-
|