caterpillar 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ = 1.4.1
2
+ - small warning fix
3
+
1
4
  = 1.4.0
2
5
  - create Liferay XML with REXML
3
6
  - Caterpillar works outside of RAILS_ROOT
@@ -15,20 +15,7 @@ For developers:
15
15
 
16
16
 
17
17
  = Quickstart
18
- == The new path
19
- You'll need at least the version 1.3.0.
20
-
21
- $ gem install caterpillar-1.3.0.gem
22
-
23
- Start up a new Rails project:
24
-
25
- $ caterpillar rails example
26
-
27
- It's all you need =].
28
-
29
-
30
- == The old way
31
- Rubygems is fixed, but the most recent stable release is 1.2.5.
18
+ Install the Caterpillar gem from rubygems.org:
32
19
 
33
20
  $ gem install caterpillar
34
21
 
@@ -8,7 +8,7 @@
8
8
  #++
9
9
 
10
10
  module Caterpillar
11
- VERSION = '1.4.0'
11
+ VERSION = '1.4.1' unless defined? Caterpillar::VERSION
12
12
  end
13
13
 
14
14
  this_file = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caterpillar
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 0
10
- version: 1.4.0
9
+ - 1
10
+ version: 1.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mikael Lammentausta
@@ -78,7 +78,6 @@ files:
78
78
  - Rakefile
79
79
  - init.rb
80
80
  - install.rb
81
- - portlets-config.rb
82
81
  - lib/caterpillar/config.rb
83
82
  - lib/caterpillar/helpers/liferay.rb
84
83
  - lib/caterpillar/liferay.rb
@@ -1,87 +0,0 @@
1
- # encoding: utf-8
2
- Caterpillar::Config.new do |portlet|
3
-
4
- # JRUBY_HOME can be set here, unless the environment variable can be used.
5
- # portlet.class::JRUBY_HOME = '/usr/local/jruby'
6
-
7
- # The portlet container.
8
- # By default only portlet.xml is created.
9
- # Currently only Liferay is supported. You may optionally define the version.
10
- portlet.container = Liferay
11
- # portlet.container.version = '5.2.3'
12
-
13
- # If you want to install the Rails-portlet JAR into the container, the container
14
- # WEB-INF will be used.
15
- #
16
- # Since liferay-display-ext.xml does not exist, all portlets are categorized in
17
- # liferay-display.xml. Caterpillar parses this file and appends Rails portlets.
18
- #
19
- # No changes are made to any of the files in this directory while making XML,
20
- # only the deploy and install tasks make any changes.
21
- # portlet.container.root = '/usr/local/liferay/tomcat/'
22
-
23
- # The server that the container is running on.
24
- # Possible values:
25
- # - 'Tomcat' (default)
26
- # - 'JBoss/Tomcat'
27
- # portlet.container.server = 'JBoss/Tomcat'
28
-
29
- # The server dir is only meaningful with JBoss.
30
- # This is the name of the directory in server/.
31
- # By default the first entry in the directory is chosen.
32
- # portlet.container.server_dir = 'default'
33
-
34
- # Allow to defining the deploy_dir - just the WAR file will be deployed under this directory.
35
- # Since version 1.3.0
36
- # portlet.container.deploy_dir = '/opt/myDeployDir'
37
-
38
- # The hostname and port.
39
- # By default the values are taken from the request.
40
- portlet.host = 'http://0.0.0.0:3000'
41
-
42
- # If the Rails is running inside a servlet container such as Tomcat,
43
- # you can define the servlet here.
44
- # By default the servlet is the name of the Rails app.
45
- # Without Warbler this should be an empty string.
46
- portlet.servlet = ''
47
-
48
- # Portlet category. This is only available for Liferay.
49
- # By default this is the same as the servlet.
50
- # portlet.category = 'Example Rails app'
51
-
52
- # Portlet instances.
53
- #
54
- # Each named route is mapped to a portlet.
55
- #
56
- # All keys except for 'name' are obligatory. If the name does not map to a route,
57
- # you have to define the route here.
58
- # You may override the host, servlet and category here.
59
- # Most likely you will want to let ActionController::Routing to set the route.
60
- #
61
- # Available keys are:
62
- # - :name -- named route
63
- # - :category -- portlet category (Liferay only)
64
- # - :title -- the title in portlet container's category (Liferay only)
65
- # - :edit_mode -- enables edit mode for the portlet, adds <portlet-mode>edit</portlet-mode> to portlet-ext.xml
66
- # Default value is false
67
- # - :instanceable -- enables instanceable for the portlet, add <instanceable>true</instanceable> to
68
- # liferay-portlet-ext.xml. Default value is false
69
- # - :javascripts -- portlet-specific javascripts that are included at
70
- # the head of master HTML, such as body onload functions (Liferay only)
71
- # - :host -- hostname:port of the deployment server
72
- # - :servlet -- by default, the name of the Rails app (= name of the WAR package)
73
- # - :path -- unless you're using named routes, you can define the path here
74
-
75
- # Rails-portlet testing application.
76
- # NOTE: this needs to be activated by 'map.caterpillar' in RAILS_ROOT/config/routes.rb
77
- portlet.instances << {
78
- :name => 'portlet_test_bench',
79
- :title => 'Rails-portlet test bench',
80
- :category => 'Caterpillar',
81
- :path => '/caterpillar/test_bench'
82
- }
83
-
84
- # this will include all named routes without further configuration
85
- portlet.include_all_named_routes = true
86
-
87
- end