daemon-ogre 1.4.9 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,12 +7,6 @@ DaemonOgre.start :name => "api_one", #this will be the name of the
7
7
  :clear => true # with "start" arguments like :
8
8
  # ruby my_awsome_app.rb start
9
9
 
10
- begin
11
- raise ArgumentError, "wuf"
12
- rescue Exception => ex
13
- ex.logger
14
- end
15
-
16
10
 
17
11
 
18
12
  #my awesome Hello App
@@ -21,6 +15,5 @@ puts "hello App!"
21
15
  i=0
22
16
  until i > 1200
23
17
  sleep 1
24
- puts "hello, there! A wonderful day for the #{i}. time! isn't it?"
25
18
  i+=1
26
19
  end
metadata CHANGED
@@ -1,74 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemon-ogre
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.9
5
- prerelease:
4
+ version: 1.5.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Adam.Luzsi
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-08 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rdoc
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :development
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
31
- name: debugger
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :development
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
47
- name: jeweler
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 1.8.4
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 1.8.4
62
- description: This gem is made for one purpose. Ruby meant to be for easy use, not
63
- hardcore coding! And in terms for this, ogre will aid you in the brute way, so you
64
- can relax... Are you need load a whole bunch of folders to your rack application
65
- ? do it! You want one nice hash for config constant from ymls all over your dirs?
66
- sure you can! you want have start/stop/status/restart/daemon/etc argument commands
67
- from terminal to control your application without any fuss? There you go! Are you
68
- need an easy way to do the classic way of daemonise your awsome app? there will
69
- be no problem at all, let the Ogre do the job :) so all you need is enjoy your code!
70
- Follow me on Github and send request if you have idea what can be usefull in creating
71
- your app :) https://github.com/adamluzsi/daemon-ogre.git
11
+ date: 2014-03-02 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Simple to use app ARGV based daemonizer
72
14
  email: adamluzsi@gmail.com
73
15
  executables: []
74
16
  extensions: []
@@ -77,15 +19,6 @@ extra_rdoc_files:
77
19
  - README.md
78
20
  - README.rdoc
79
21
  files:
80
- - .idea/.name
81
- - .idea/.rakeTasks
82
- - .idea/daemon-ogre.iml
83
- - .idea/encodings.xml
84
- - .idea/misc.xml
85
- - .idea/modules.xml
86
- - .idea/scopes/scope_settings.xml
87
- - .idea/vcs.xml
88
- - .idea/workspace.xml
89
22
  - Gemfile
90
23
  - Gemfile.lock
91
24
  - LICENSE.txt
@@ -94,35 +27,42 @@ files:
94
27
  - Rakefile
95
28
  - VERSION
96
29
  - daemon-ogre.gemspec
30
+ - example/sample_daemon_app.rb
31
+ - files.rb
97
32
  - lib/daemon-ogre.rb
33
+ - lib/daemon-ogre/app.rb
34
+ - lib/daemon-ogre/daemon.rb
35
+ - lib/daemon-ogre/mpatch.rb
36
+ - lib/daemon-ogre/server.rb
37
+ - lib/daemon-ogre/startup.rb
38
+ - lib/daemon-ogre/support.rb
98
39
  - test/helper.rb
99
40
  - test/test_daemon-ogre.rb
100
41
  homepage: http://github.com/adamluzsi/daemon-ogre
101
42
  licenses:
102
43
  - MIT
44
+ metadata: {}
103
45
  post_install_message:
104
46
  rdoc_options: []
105
47
  require_paths:
106
48
  - lib
107
49
  required_ruby_version: !ruby/object:Gem::Requirement
108
- none: false
109
50
  requirements:
110
51
  - - ! '>='
111
52
  - !ruby/object:Gem::Version
112
53
  version: '0'
113
- segments:
114
- - 0
115
- hash: 1680531074413366324
116
54
  required_rubygems_version: !ruby/object:Gem::Requirement
117
- none: false
118
55
  requirements:
119
56
  - - ! '>='
120
57
  - !ruby/object:Gem::Version
121
58
  version: '0'
122
59
  requirements: []
123
60
  rubyforge_project:
124
- rubygems_version: 1.8.25
61
+ rubygems_version: 2.2.1
125
62
  signing_key:
126
- specification_version: 3
127
- summary: Let the Ogre Do the hard work
128
- test_files: []
63
+ specification_version: 4
64
+ summary: DSL for helping make file loads and configuration objects
65
+ test_files:
66
+ - test/helper.rb
67
+ - test/test_daemon-ogre.rb
68
+ has_rdoc:
data/.idea/.name DELETED
@@ -1 +0,0 @@
1
- daemon-ogre
data/.idea/.rakeTasks DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Settings><!--This file was automatically generated by Ruby plugin.
3
- You are allowed to:
4
- 1. Remove rake task
5
- 2. Add existing rake tasks
6
- To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build gem into pkg/" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated file" fullCmd="clobber" taksId="clobber" /><RakeTask description="Remove RDoc HTML files" fullCmd="clobber_rdoc" taksId="clobber_rdoc" /><RakeTask description="Start IRB with all runtime dependencies loaded" fullCmd="console[script]" taksId="console[script]" /><RakeGroup description="" fullCmd="" taksId="gemcutter"><RakeTask description="Release gem to Gemcutter" fullCmd="gemcutter:release" taksId="release" /></RakeGroup><RakeTask description="Generate and validate gemspec" fullCmd="gemspec" taksId="gemspec" /><RakeGroup description="" fullCmd="" taksId="gemspec"><RakeTask description="Display the gemspec for debugging purposes, as jeweler knows it (not from the filesystem)" fullCmd="gemspec:debug" taksId="debug" /><RakeTask description="Regenerate the gemspec on the filesystem" fullCmd="gemspec:generate" taksId="generate" /><RakeTask description="Regenerate and validate gemspec, and then commits and pushes to git" fullCmd="gemspec:release" taksId="release" /><RakeTask description="Validates the gemspec on the filesystem" fullCmd="gemspec:validate" taksId="validate" /></RakeGroup><RakeGroup description="" fullCmd="" taksId="git"><RakeTask description="Tag and push release to git" fullCmd="git:release" taksId="release" /></RakeGroup><RakeTask description="Build and install gem using `gem install`" fullCmd="install" taksId="install" /><RakeTask description="Build RDoc HTML files" fullCmd="rdoc" taksId="rdoc" /><RakeTask description="Release gem" fullCmd="release" taksId="release" /><RakeTask description="Rebuild RDoc HTML files" fullCmd="rerdoc" taksId="rerdoc" /><RakeTask description="Run tests" fullCmd="test" taksId="test" /><RakeTask description="Displays the current version" fullCmd="version" taksId="version" /><RakeGroup description="" fullCmd="" taksId="version"><RakeGroup description="" fullCmd="" taksId="bump"><RakeTask description="Bump the major version by 1" fullCmd="version:bump:major" taksId="major" /><RakeTask description="Bump the a minor version by 1" fullCmd="version:bump:minor" taksId="minor" /><RakeTask description="Bump the patch version by 1" fullCmd="version:bump:patch" taksId="patch" /></RakeGroup><RakeTask description="Writes out an explicit version" fullCmd="version:write" taksId="write" /></RakeGroup><RakeTask description="" fullCmd="console" taksId="console" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="gemspec_required" taksId="gemspec_required" /><RakeTask description="" fullCmd="rdoc/index.html" taksId="rdoc/index.html" /><RakeTask description="" fullCmd="version_required" taksId="version_required" /></RakeGroup></Settings>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, RVM: ruby-1.9.3-p392) [gem]" level="application" />
8
- <orderEntry type="library" scope="PROVIDED" name="columnize (v0.3.6, RVM: ruby-1.9.3-p392) [gem]" level="application" />
9
- <orderEntry type="library" scope="PROVIDED" name="debugger (v1.5.0, RVM: ruby-1.9.3-p392) [gem]" level="application" />
10
- <orderEntry type="library" scope="PROVIDED" name="debugger-linecache (v1.2.0, RVM: ruby-1.9.3-p392) [gem]" level="application" />
11
- <orderEntry type="library" scope="PROVIDED" name="debugger-ruby_core_source (v1.2.0, RVM: ruby-1.9.3-p392) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="git (v1.2.5, RVM: ruby-1.9.3-p392) [gem]" level="application" />
13
- <orderEntry type="library" scope="PROVIDED" name="jeweler (v1.8.4, RVM: ruby-1.9.3-p392) [gem]" level="application" />
14
- <orderEntry type="library" scope="PROVIDED" name="rake (v10.0.4, RVM: ruby-1.9.3-p392) [gem]" level="application" />
15
- <orderEntry type="library" scope="PROVIDED" name="rdoc (v3.9.5, RVM: ruby-1.9.3-p392) [gem]" level="application" />
16
- </component>
17
- </module>
18
-
data/.idea/encodings.xml DELETED
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
- </project>
5
-
data/.idea/misc.xml DELETED
@@ -1,24 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectInspectionProfilesVisibleTreeState">
4
- <entry key="Project Default">
5
- <profile-state>
6
- <expanded-state>
7
- <State>
8
- <id />
9
- </State>
10
- </expanded-state>
11
- <selected-state>
12
- <State>
13
- <id>CSS</id>
14
- </State>
15
- </selected-state>
16
- </profile-state>
17
- </entry>
18
- </component>
19
- <component name="ProjectResources">
20
- <default-html-doctype>$APPLICATION_HOME_DIR$/lib/rubymine.jar!/resources/html5-schema/html5.rnc</default-html-doctype>
21
- </component>
22
- <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.3-p392" project-jdk-type="RUBY_SDK" />
23
- </project>
24
-
data/.idea/modules.xml DELETED
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/daemon-ogre.iml" filepath="$PROJECT_DIR$/.idea/daemon-ogre.iml" />
6
- </modules>
7
- </component>
8
- </project>
9
-
@@ -1,5 +0,0 @@
1
- <component name="DependencyValidationManager">
2
- <state>
3
- <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
- </state>
5
- </component>
data/.idea/vcs.xml DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>
7
-