Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add all these meta files

  • Loading branch information...
commit 77c7a69dd7f84da62463acf2d388d1e4ca5c0e62 1 parent 2274193
@mkristian authored
View
2  .gitignore
@@ -1,4 +1,2 @@
target
-*.files
-*.pom
*~
View
1  demo/.gitignore
@@ -3,4 +3,3 @@ db/*.sqlite3
log/*.log
tmp/**/*
Gemfile.lock
-Gemfile.files
View
3  demo/Gemfile.files
@@ -0,0 +1,3 @@
+Gemfile
+Gemfile.lock
+Mavenfile
View
546 demo/Gemfile.pom
@@ -0,0 +1,546 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>rails</groupId>
+ <artifactId>demo</artifactId>
+ <version>0.0.0</version>
+ <name><![CDATA[demo - rails application]]></name>
+ <packaging>war</packaging>
+ <repositories>
+ <repository>
+ <id>rubygems-releases</id>
+ <url>http://gems.saumya.de/releases</url>
+ </repository>
+ </repositories>
+ <dependencies>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rails</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>actionmailer</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>actionpack</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activemodel</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activesupport</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>builder</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>i18n</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>erubis</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>abstract</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rack</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rack-mount</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rack-test</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>tzinfo</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>mail</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>mime-types</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>treetop</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>polyglot</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activerecord</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>arel</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activeresource</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>bundler</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>railties</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rake</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>thor</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activerecord-jdbc-adapter</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>jdbc-sqlite3</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>enforce-ssl</artifactId>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.seleniumhq.selenium.client-drivers</groupId>
+ <artifactId>selenium-java-client-driver</artifactId>
+ <version>1.0.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jruby</groupId>
+ <artifactId>jruby-complete</artifactId>
+ <version>1.5.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jruby.rack</groupId>
+ <artifactId>jruby-rack</artifactId>
+ <version>1.0.7</version>
+ </dependency>
+ </dependencies>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>abstract</artifactId>
+ <version>1.0.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>actionmailer</artifactId>
+ <version>3.0.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>actionpack</artifactId>
+ <version>3.0.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activemodel</artifactId>
+ <version>3.0.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activesupport</artifactId>
+ <version>3.0.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>builder</artifactId>
+ <version>2.1.2</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>i18n</artifactId>
+ <version>0.4.2</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>erubis</artifactId>
+ <version>2.6.6</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rack</artifactId>
+ <version>1.2.1</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rack-mount</artifactId>
+ <version>0.6.13</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rack-test</artifactId>
+ <version>0.5.7</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>tzinfo</artifactId>
+ <version>0.3.24</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>mail</artifactId>
+ <version>2.2.15</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>mime-types</artifactId>
+ <version>1.16</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>treetop</artifactId>
+ <version>1.4.9</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>polyglot</artifactId>
+ <version>0.3.1</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activerecord</artifactId>
+ <version>3.0.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>arel</artifactId>
+ <version>1.0.1</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activerecord-jdbc-adapter</artifactId>
+ <version>1.0.2</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>activeresource</artifactId>
+ <version>3.0.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>enforce-ssl</artifactId>
+ <version>0.1.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>jdbc-sqlite3</artifactId>
+ <version>3.6.14.2.056</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rails</artifactId>
+ <version>3.0.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>bundler</artifactId>
+ <version>[1.0.0, 1.0.99999]</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>railties</artifactId>
+ <version>3.0.0</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rake</artifactId>
+ <version>0.8.7</version>
+ <type>gem</type>
+ </dependency>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>thor</artifactId>
+ <version>0.14.6</version>
+ <type>gem</type>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <properties>
+ <gem.home>${project.build.directory}/rubygems</gem.home>
+ <gem.path>${project.build.directory}/rubygems</gem.path>
+ <jetty.version>7.2.2.v20101205</jetty.version>
+ <jruby.plugins.version>0.25.0</jruby.plugins.version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <rails.env>development</rails.env>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-maven-plugin</artifactId>
+ <configuration>
+ <stopKey>foo</stopKey>
+ <stopPort>9999</stopPort>
+ </configuration>
+ <executions>
+ <execution>
+ <id>in_phase_pre_integration_test</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <daemon>true</daemon>
+ </configuration>
+ </execution>
+ <execution>
+ <id>in_phase_post_integration_test</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>stop</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>selenium-maven-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>in_phase_pre_integration_test</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>start-server</goal>
+ </goals>
+ <configuration>
+ <background>true</background>
+ <firefoxProfileTemplate>${basedir}/src/test/resources/selenium</firefoxProfileTemplate>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.6</version>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ <executions>
+ <execution>
+ <id>in_phase_integration_test</id>
+ <phase>integration-test</phase>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <skip>false</skip>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>de.saumya.mojo</groupId>
+ <artifactId>gem-maven-plugin</artifactId>
+ <version>${jruby.plugins.version}</version>
+ <executions>
+ <execution>
+ <id>in_phase_initialize</id>
+ <phase>initialize</phase>
+ <goals>
+ <goal>execute_in_phase</goal>
+ </goals>
+ <configuration>
+ <file>Mavenfile</file>
+ <phase>initialize</phase>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>de.saumya.mojo</groupId>
+ <artifactId>rails3-maven-plugin</artifactId>
+ <version>${jruby.plugins.version}</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>initialize</id>
+ <goals>
+ <goal>initialize</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.1.1</version>
+ <configuration>
+ <webResources>
+ <resource>
+ <directory>public</directory>
+ </resource>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>app/**</include>
+ <include>config/**</include>
+ <include>lib/**</include>
+ <include>vendor/**</include>
+ <include>Gemfile</include>
+ </includes>
+ <targetPath>WEB-INF</targetPath>
+ </resource>
+ <resource>
+ <directory>${gem.path}</directory>
+ <targetPath>WEB-INF/gems</targetPath>
+ </resource>
+ </webResources>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <profiles>
+ <profile>
+ <id>development</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ </profile>
+ <profile>
+ <id>test</id>
+ <activation>
+ <property>
+ <name>rails.env</name>
+ <value>test</value>
+ </property>
+ </activation>
+ </profile>
+ <profile>
+ <id>production</id>
+ <activation>
+ <property>
+ <name>rails.env</name>
+ <value>production</value>
+ </property>
+ </activation>
+ <properties>
+ <gem.home>${project.build.directory}/rubygems-production</gem.home>
+ <gem.path>${project.build.directory}/rubygems-production</gem.path>
+ </properties>
+ </profile>
+ <profile>
+ <id>war</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-maven-plugin</artifactId>
+ <version>${jetty.version}</version>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>run</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>jetty-maven-plugin</artifactId>
+ <version>${jetty.version}</version>
+ <configuration>
+ <connectors>
+ <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
+ <port>8080</port>
+ </connector>
+ <connector implementation="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
+ <port>8443</port>
+ <keystore>${project.basedir}/src/test/resources/server.keystore</keystore>
+ <keyPassword>123456</keyPassword>
+ <password>123456</password>
+ </connector>
+ </connectors>
+ <webAppConfig>
+ <overrideDescriptor>${project.build.directory}/jetty/override-${rails.env}-web.xml</overrideDescriptor>
+ </webAppConfig>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
View
13 demo/pom.xml
@@ -235,19 +235,19 @@
<dependency>
<groupId>rubygems</groupId>
<artifactId>rack-test</artifactId>
- <version>0.5.6</version>
+ <version>0.5.7</version>
<type>gem</type>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>tzinfo</artifactId>
- <version>0.3.23</version>
+ <version>0.3.24</version>
<type>gem</type>
</dependency>
<dependency>
<groupId>rubygems</groupId>
<artifactId>mail</artifactId>
- <version>2.2.9</version>
+ <version>2.2.15</version>
<type>gem</type>
</dependency>
<dependency>
@@ -259,7 +259,7 @@
<dependency>
<groupId>rubygems</groupId>
<artifactId>treetop</artifactId>
- <version>1.4.8</version>
+ <version>1.4.9</version>
<type>gem</type>
</dependency>
<dependency>
@@ -331,7 +331,7 @@
<dependency>
<groupId>rubygems</groupId>
<artifactId>thor</artifactId>
- <version>0.14.3</version>
+ <version>0.14.6</version>
<type>gem</type>
</dependency>
</dependencies>
@@ -414,7 +414,6 @@
<groupId>de.saumya.mojo</groupId>
<artifactId>gem-maven-plugin</artifactId>
<version>${jruby.plugins.version}</version>
- <extensions>true</extensions>
<executions>
<execution>
<id>in_phase_initialize</id>
@@ -423,7 +422,7 @@
<goal>execute_in_phase</goal>
</goals>
<configuration>
- <file>${basedir}/Mavenfile</file>
+ <file>Mavenfile</file>
<phase>initialize</phase>
</configuration>
</execution>
View
2  enforce-ssl-gem/enforce-ssl.gemspec.files
@@ -0,0 +1,2 @@
+enforce-ssl.gemspec
+Mavenfile
View
85 enforce-ssl-gem/enforce-ssl.gemspec.pom
@@ -0,0 +1,85 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>rubygems</groupId>
+ <artifactId>enforce-ssl</artifactId>
+ <version>0.1.0</version>
+ <name><![CDATA[enforce the use of SSL for all controller actions]]></name>
+ <packaging>gem</packaging>
+ <description><![CDATA[enforce the use of SSL for all controller actions, skip the enforcement with skip_before_filter :enforce_ssl for selected actions. moto: secure everything, open where needed]]></description>
+ <url>http://github.com/mkristian/enforce-ssl</url>
+ <developers>
+ <developer>
+ <id>m_dot_kristian_at_web_dot_de</id>
+ <name>mkristian</name>
+ <email>m.kristian@web.de</email>
+ </developer>
+ </developers>
+ <licenses>
+ <license>
+ <name>MIT-LICENSE</name>
+ <url>./MIT-LICENSE</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <repositories>
+ <repository>
+ <id>rubygems-releases</id>
+ <url>http://gems.saumya.de/releases</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>sonatype-snapshots</id>
+ <url>http://oss.sonatype.org/content/repositories/snapshots</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+ <dependencies>
+ <dependency>
+ <groupId>rubygems</groupId>
+ <artifactId>rake</artifactId>
+ <version>0.8.7</version>
+ <type>gem</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jruby</groupId>
+ <artifactId>jruby-complete</artifactId>
+ <version>1.5.6</version>
+ </dependency>
+ </dependencies>
+ <properties>
+ <gem.home>${project.build.directory}/rubygems</gem.home>
+ <gem.path>${project.build.directory}/rubygems</gem.path>
+ <jruby.plugins.version>0.25.0-SNAPSHOT</jruby.plugins.version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>de.saumya.mojo</groupId>
+ <artifactId>gem-maven-plugin</artifactId>
+ <version>${jruby.plugins.version}</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>in_phase_install</id>
+ <phase>install</phase>
+ <goals>
+ <goal>execute_in_phase</goal>
+ </goals>
+ <configuration>
+ <file>Mavenfile</file>
+ <phase>install</phase>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Please sign in to comment.
Something went wrong with that request. Please try again.