raystool 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/bin/__rays_exec.rb +31 -0
  2. data/bin/__rays_init +79 -0
  3. data/lib/rays/config/backup.rb +42 -0
  4. data/lib/rays/config/configuration.rb +376 -0
  5. data/lib/rays/config/environment.rb +73 -0
  6. data/lib/rays/config/templates/global/global.yml +3 -0
  7. data/lib/rays/config/templates/global/scripts/rays +187 -0
  8. data/lib/rays/config/templates/project/.rays +0 -0
  9. data/lib/rays/config/templates/project/config/environment.yml +68 -0
  10. data/lib/rays/config/templates/project/config/project.yml +4 -0
  11. data/lib/rays/core.rb +128 -0
  12. data/lib/rays/exceptions/rays_exception.rb +25 -0
  13. data/lib/rays/interface/commander.rb +394 -0
  14. data/lib/rays/interface/controller.rb +365 -0
  15. data/lib/rays/loaders/highline.rb +24 -0
  16. data/lib/rays/loaders/logging.rb +60 -0
  17. data/lib/rays/models/appmodule/base.rb +185 -0
  18. data/lib/rays/models/appmodule/content.rb +35 -0
  19. data/lib/rays/models/appmodule/ext.rb +36 -0
  20. data/lib/rays/models/appmodule/hook.rb +36 -0
  21. data/lib/rays/models/appmodule/layout.rb +36 -0
  22. data/lib/rays/models/appmodule/manager.rb +130 -0
  23. data/lib/rays/models/appmodule/portlet.rb +36 -0
  24. data/lib/rays/models/appmodule/servicebuilder.rb +36 -0
  25. data/lib/rays/models/appmodule/theme.rb +36 -0
  26. data/lib/rays/models/project.rb +116 -0
  27. data/lib/rays/servers/base.rb +70 -0
  28. data/lib/rays/servers/database.rb +73 -0
  29. data/lib/rays/servers/liferay.rb +64 -0
  30. data/lib/rays/servers/solr.rb +111 -0
  31. data/lib/rays/services/application_service.rb +116 -0
  32. data/lib/rays/services/backup_service.rb +94 -0
  33. data/lib/rays/services/database.rb +59 -0
  34. data/lib/rays/services/remote.rb +75 -0
  35. data/lib/rays/services/scm.rb +92 -0
  36. data/lib/rays/services/sync.rb +90 -0
  37. data/lib/rays/utils/common_utils.rb +153 -0
  38. data/lib/rays/utils/file_utils.rb +118 -0
  39. data/lib/rays/utils/network_utils.rb +50 -0
  40. data/lib/rays/workers/base.rb +134 -0
  41. data/lib/rays/workers/builder.rb +63 -0
  42. data/lib/rays/workers/cleaner.rb +42 -0
  43. data/lib/rays/workers/deployer.rb +92 -0
  44. data/lib/rays/workers/generator.rb +49 -0
  45. metadata +175 -0
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: raystool
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Dmitri Carpov
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-02-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: clamp
16
+ requirement: &70272606617700 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70272606617700
25
+ - !ruby/object:Gem::Dependency
26
+ name: rsolr
27
+ requirement: &70272606615960 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70272606615960
36
+ - !ruby/object:Gem::Dependency
37
+ name: colorize
38
+ requirement: &70272606615200 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70272606615200
47
+ - !ruby/object:Gem::Dependency
48
+ name: net-ssh
49
+ requirement: &70272606614420 !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: *70272606614420
58
+ - !ruby/object:Gem::Dependency
59
+ name: highline
60
+ requirement: &70272606613900 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *70272606613900
69
+ - !ruby/object:Gem::Dependency
70
+ name: safe_shell
71
+ requirement: &70272606608780 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *70272606608780
80
+ - !ruby/object:Gem::Dependency
81
+ name: nokogiri
82
+ requirement: &70272606608060 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *70272606608060
91
+ description: Command line tool to create and manage liferay projects
92
+ email: dmitri.carpov@gmail.com
93
+ executables:
94
+ - __rays_exec.rb
95
+ - __rays_init
96
+ extensions: []
97
+ extra_rdoc_files: []
98
+ files:
99
+ - lib/rays/config/backup.rb
100
+ - lib/rays/config/configuration.rb
101
+ - lib/rays/config/environment.rb
102
+ - lib/rays/config/templates/global/global.yml
103
+ - lib/rays/config/templates/global/scripts/rays
104
+ - lib/rays/config/templates/project/config/environment.yml
105
+ - lib/rays/config/templates/project/config/project.yml
106
+ - lib/rays/core.rb
107
+ - lib/rays/exceptions/rays_exception.rb
108
+ - lib/rays/interface/commander.rb
109
+ - lib/rays/interface/controller.rb
110
+ - lib/rays/loaders/highline.rb
111
+ - lib/rays/loaders/logging.rb
112
+ - lib/rays/models/appmodule/base.rb
113
+ - lib/rays/models/appmodule/content.rb
114
+ - lib/rays/models/appmodule/ext.rb
115
+ - lib/rays/models/appmodule/hook.rb
116
+ - lib/rays/models/appmodule/layout.rb
117
+ - lib/rays/models/appmodule/manager.rb
118
+ - lib/rays/models/appmodule/portlet.rb
119
+ - lib/rays/models/appmodule/servicebuilder.rb
120
+ - lib/rays/models/appmodule/theme.rb
121
+ - lib/rays/models/project.rb
122
+ - lib/rays/servers/base.rb
123
+ - lib/rays/servers/database.rb
124
+ - lib/rays/servers/liferay.rb
125
+ - lib/rays/servers/solr.rb
126
+ - lib/rays/services/application_service.rb
127
+ - lib/rays/services/backup_service.rb
128
+ - lib/rays/services/database.rb
129
+ - lib/rays/services/remote.rb
130
+ - lib/rays/services/scm.rb
131
+ - lib/rays/services/sync.rb
132
+ - lib/rays/utils/common_utils.rb
133
+ - lib/rays/utils/file_utils.rb
134
+ - lib/rays/utils/network_utils.rb
135
+ - lib/rays/workers/base.rb
136
+ - lib/rays/workers/builder.rb
137
+ - lib/rays/workers/cleaner.rb
138
+ - lib/rays/workers/deployer.rb
139
+ - lib/rays/workers/generator.rb
140
+ - lib/rays/config/templates/project/.rays
141
+ - bin/__rays_exec.rb
142
+ - bin/__rays_init
143
+ homepage: http://projects.savoirfairelinux.net/projects/rays
144
+ licenses: []
145
+ post_install_message: !str
146
+ str: ! "\e[0;31;49mPlease run '__rays_init' after installation\e[0m"
147
+ color: 1
148
+ background: 9
149
+ mode: 0
150
+ uncolorized: !str
151
+ str: Please run '__rays_init' after installation
152
+ background: 9
153
+ mode: 0
154
+ rdoc_options: []
155
+ require_paths:
156
+ - lib
157
+ required_ruby_version: !ruby/object:Gem::Requirement
158
+ none: false
159
+ requirements:
160
+ - - ! '>='
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ none: false
165
+ requirements:
166
+ - - ! '>='
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubyforge_project:
171
+ rubygems_version: 1.8.16
172
+ signing_key:
173
+ specification_version: 3
174
+ summary: Liferay developer tool
175
+ test_files: []