openteam-commons 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module OpenteamCommons
2
2
  module Generators
3
3
  class InstallGenerator < Rails::Generators::Base
4
- source_root File.expand_path('..', __FILE__)
4
+ source_root File.expand_path('../templates', __FILE__)
5
5
 
6
6
  def create_binaries
7
7
  copy_file 'script/start_site'
@@ -12,8 +12,9 @@ module OpenteamCommons
12
12
  end
13
13
 
14
14
  def create_configs
15
- copy_file 'config/unicorn.rb'
15
+ copy_file 'config/schedule.rb'
16
16
  copy_file 'config/settings.yml.example'
17
+ copy_file 'config/unicorn.rb'
17
18
  copy_file 'Procfile'
18
19
  end
19
20
  end
@@ -0,0 +1,5 @@
1
+ set :job_template, "/usr/local/bin/bash -l -c ':job'" if RUBY_PLATFORM =~ /freebsd/
2
+
3
+ every :day do
4
+ rake 'cron'
5
+ end
@@ -1,3 +1,3 @@
1
1
  module OpenteamCommons
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openteam-commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-17 00:00:00.000000000 Z
12
+ date: 2012-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: airbrake
16
- requirement: &16094580 !ruby/object:Gem::Requirement
16
+ requirement: &14875420 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16094580
24
+ version_requirements: *14875420
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: configliere
27
- requirement: &16093820 !ruby/object:Gem::Requirement
27
+ requirement: &14871880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *16093820
35
+ version_requirements: *14871880
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rails
38
- requirement: &16093060 !ruby/object:Gem::Requirement
38
+ requirement: &14891620 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,21 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *16093060
46
+ version_requirements: *14891620
47
+ - !ruby/object:Gem::Dependency
48
+ name: whenever
49
+ requirement: &14887820 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *14887820
47
58
  - !ruby/object:Gem::Dependency
48
59
  name: unicorn
49
- requirement: &16091220 !ruby/object:Gem::Requirement
60
+ requirement: &14884840 !ruby/object:Gem::Requirement
50
61
  none: false
51
62
  requirements:
52
63
  - - ! '>='
@@ -54,7 +65,7 @@ dependencies:
54
65
  version: '0'
55
66
  type: :runtime
56
67
  prerelease: false
57
- version_requirements: *16091220
68
+ version_requirements: *14884840
58
69
  description: Description of OpenteamCommons.
59
70
  email:
60
71
  - mail@openteam.ru
@@ -65,11 +76,12 @@ files:
65
76
  - config/initializers/sunspot.rb
66
77
  - config/locales/datetime.ru.yml
67
78
  - lib/generators/openteam_commons/install/install_generator.rb
68
- - lib/generators/openteam_commons/install/config/unicorn.rb
69
- - lib/generators/openteam_commons/install/config/settings.yml.example
70
- - lib/generators/openteam_commons/install/Procfile
71
- - lib/generators/openteam_commons/install/script/update_site
72
- - lib/generators/openteam_commons/install/script/start_site
79
+ - lib/generators/openteam_commons/install/templates/config/unicorn.rb
80
+ - lib/generators/openteam_commons/install/templates/config/settings.yml.example
81
+ - lib/generators/openteam_commons/install/templates/config/schedule.rb
82
+ - lib/generators/openteam_commons/install/templates/Procfile
83
+ - lib/generators/openteam_commons/install/templates/script/update_site
84
+ - lib/generators/openteam_commons/install/templates/script/start_site
73
85
  - lib/openteam-commons/engine.rb
74
86
  - lib/openteam-commons/version.rb
75
87
  - lib/openteam-commons.rb
@@ -90,7 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
102
  version: '0'
91
103
  segments:
92
104
  - 0
93
- hash: 382774225715635132
105
+ hash: -2411024842467568600
94
106
  required_rubygems_version: !ruby/object:Gem::Requirement
95
107
  none: false
96
108
  requirements:
@@ -99,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
111
  version: '0'
100
112
  segments:
101
113
  - 0
102
- hash: 382774225715635132
114
+ hash: -2411024842467568600
103
115
  requirements: []
104
116
  rubyforge_project:
105
117
  rubygems_version: 1.8.15