ruby-app 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 551b2624fb71df85c598ccc3732de87a7288fd15
4
- data.tar.gz: 12c273dceb8416005d0a5a4496bfe5885c3e3ac8
3
+ metadata.gz: a2809e3ef05e2e98791327bcb941eaac24bd5768
4
+ data.tar.gz: 3c32c5b0f937ff283df35e875b3fbf4386678347
5
5
  SHA512:
6
- metadata.gz: e157f4cdec6908ca3d5d9850d033361941691b559d3f95734ab366f14e44b610441ec1469930eb65a3b4878eb361fc3c2843570f6fbb91b79923f004148ed706
7
- data.tar.gz: e7baafb4da948e8932637353721979173916a38fffcd3938fa0ff9dbab26437b25114e338e6979517618f3d3f4c0f5f55b1206551d961e76b8442de1ce8f9cb1
6
+ metadata.gz: 0fe17437a77aa828bf0374aa115148ea4eafc83bb9a613d852b05f6be66aed8bedb297fdbec1d2a9f924d61ece216c98af84d415235126948ec832b09c26296c
7
+ data.tar.gz: 6ebf0f7539a5fea906e9be21ad9ea0db09c2652782cf732010e70f9e7777a2a7b21d93ca5438884bf4a3a0eea17325fa6908d61b7c754e05ab42ca9fe66fdf09
data/Rakefile CHANGED
@@ -5,4 +5,4 @@ Bundler::GemHelper.install_tasks
5
5
 
6
6
  require 'rspec/core/rake_task'
7
7
  task :default => :spec
8
- RSpec::Core::RakeTask.new(:spec)
8
+ # RSpec::Core::RakeTask.new(:spec)
@@ -3,5 +3,7 @@ require File.expand_path(File.join(File.dirname(__FILE__), %w{.. config environm
3
3
 
4
4
  require 'irb'
5
5
  require 'irb/completion'
6
+ require 'pp'
7
+ require 'benchmark'
6
8
 
7
9
  IRB.start
@@ -3,6 +3,6 @@
3
3
  App.config.define :production do
4
4
 
5
5
  # Set log level for App.logger
6
- log_level Logger::WARN
6
+ log_level Logger::INFO
7
7
 
8
8
  end
@@ -22,6 +22,10 @@ Bundler.require(:default, App.env.to_sym)
22
22
 
23
23
  # AS dependencies
24
24
  # i prefer 2.seconds, or x.blank? functions by default
25
+ require 'active_support/version'
26
+ if ActiveSupport::VERSION::MAJOR >= 5
27
+ require 'active_support'
28
+ end
25
29
  require 'active_support/dependencies'
26
30
  require 'active_support/core_ext/numeric/time'
27
31
  require 'active_support/core_ext/object/blank'
@@ -73,11 +77,11 @@ unless App.initializer_paths.empty?
73
77
  end
74
78
 
75
79
  # load initializers app
76
- Dir["#{App.root}/config/initializers/*.rb"].each{ |x| load(x) }
80
+ Dir["#{App.root}/config/initializers/**/*.rb"].each{ |x| load(x) }
77
81
 
78
82
  # first load models app
79
- Dir["#{App.root}/app/models/*.rb"].each{ |x| require x }
83
+ Dir["#{App.root}/app/models/**/*.rb"].each{ |x| require x }
80
84
 
81
85
  # later controllers app
82
- Dir["#{App.root}/app/controllers/*.rb"].each{ |x| require x }
86
+ Dir["#{App.root}/app/controllers/**/*.rb"].each{ |x| require x }
83
87
 
@@ -1,3 +1,3 @@
1
1
  module RubyApp
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Makarchev Konstantin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-23 00:00:00.000000000 Z
11
+ date: 2016-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: 'Ruby micro framework for easy create ruby applications (daemons, EventMachine-apps,
@@ -89,7 +89,7 @@ executables:
89
89
  extensions: []
90
90
  extra_rdoc_files: []
91
91
  files:
92
- - .gitignore
92
+ - ".gitignore"
93
93
  - Gemfile
94
94
  - LICENSE
95
95
  - README.md
@@ -155,17 +155,17 @@ require_paths:
155
155
  - lib
156
156
  required_ruby_version: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - '>='
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - '>='
163
+ - - ">="
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
- rubygems_version: 2.1.4
168
+ rubygems_version: 2.4.7
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: Ruby application micro framework