Class: DependencyManager
- Inherits:
-
Object
- Object
- DependencyManager
- Defined in:
- lib/vraptor-scaffold/generators/app/dependency_manager.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
- #compile_scope ⇒ Object
-
#initialize(options) ⇒ DependencyManager
constructor
A new instance of DependencyManager.
- #test_scope ⇒ Object
Constructor Details
#initialize(options) ⇒ DependencyManager
Returns a new instance of DependencyManager.
5 6 7 |
# File 'lib/vraptor-scaffold/generators/app/dependency_manager.rb', line 5 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/vraptor-scaffold/generators/app/dependency_manager.rb', line 3 def @options end |
Instance Method Details
#compile_scope ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/vraptor-scaffold/generators/app/dependency_manager.rb', line 9 def compile_scope [Dependency.new("br.com.caelum", "vraptor", "3.4.1"), Dependency.new("javax.servlet", "jstl", "1.2"), Dependency.new("org.hsqldb", "hsqldb", "2.2.8"), Dependency.new("org.hibernate", "hibernate-entitymanager", "4.0.1.Final"), Dependency.new("org.hibernate", "hibernate-c3p0", "4.0.1.Final"), Dependency.new("org.hibernate", "hibernate-validator", "4.2.0.Final"), Dependency.new("joda-time", "joda-time", "2.0"), Dependency.new("com.thoughtworks.xstream", "xstream", "1.4.1"), Dependency.new("com.google.code.gson", "gson", "2.2.1"), Dependency.new("org.codehaus.jettison", "jettison", "1.3"), Dependency.new("com.github.filipesperandio.vraptor", "vraptor-hypermedia", "3.4.1.9.deserializer"), Dependency.new("org.eclipse.jetty", "jetty-webapp", "7.4.4.v20110707"), Dependency.new("org.mortbay.jetty", "jsp-2.1-glassfish", "2.1.v20100127"), Dependency.new("javax.servlet", "servlet-api", "2.5")] end |
#test_scope ⇒ Object
26 27 28 29 30 |
# File 'lib/vraptor-scaffold/generators/app/dependency_manager.rb', line 26 def test_scope [Dependency.new("junit", "junit", "4.10"), Dependency.new("org.hamcrest", "hamcrest-all", "1.1"), Dependency.new("org.mockito", "mockito-all", "1.9.0")] end |