Skip to content

Instantly share code, notes, and snippets.

@ellneal
Forked from sr/Gemfile
Created March 20, 2016 16:52
Show Gist options
  • Select an option

  • Save ellneal/f12858c5d8ab7d13aaea to your computer and use it in GitHub Desktop.

Select an option

Save ellneal/f12858c5d8ab7d13aaea to your computer and use it in GitHub Desktop.

Revisions

  1. @brianstorti brianstorti revised this gist Dec 4, 2012. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions config/default.xml.erb
    Original file line number Diff line number Diff line change
    @@ -22,6 +22,11 @@
    <description></description>
    <defaultValue></defaultValue>
    </hudson.model.StringParameterDefinition>
    <hudson.model.StringParameterDefinition>
    <name>JANKY_BRANCH</name>
    <description></description>
    <defaultValue></defaultValue>
    </hudson.model.StringParameterDefinition>
    </parameterDefinitions>
    </hudson.model.ParametersDefinitionProperty>
    <com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
  2. @sr sr revised this gist Mar 1, 2012. 3 changed files with 4 additions and 4 deletions.
    3 changes: 1 addition & 2 deletions Rakefile
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,2 @@
    require "janky"
    Janky.setup(ENV)
    require File.expand_path("../config/environment", __FILE__)
    require "janky/tasks"
    3 changes: 1 addition & 2 deletions config.ru
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,2 @@
    require "janky"
    Janky.setup(ENV)
    require File.expand_path("../config/environment", __FILE__)
    run Janky.app
    2 changes: 2 additions & 0 deletions config/environment.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    require "janky"
    Janky.setup(ENV)
  3. @sr sr revised this gist Mar 1, 2012. 1 changed file with 0 additions and 63 deletions.
    63 changes: 0 additions & 63 deletions configdefault.xml.erb
    Original file line number Diff line number Diff line change
    @@ -1,63 +0,0 @@
    <?xml version='1.0' encoding='UTF-8'?>
    <project>
    <actions/>
    <name><%= name %></name>
    <logRotator>
    <daysToKeep>-1</daysToKeep>
    <numToKeep>-1</numToKeep>
    <artifactDaysToKeep>-1</artifactDaysToKeep>
    <artifactNumToKeep>-1</artifactNumToKeep>
    </logRotator>
    <keepDependencies>false</keepDependencies>
    <properties>
    <hudson.model.ParametersDefinitionProperty>
    <parameterDefinitions>
    <hudson.model.StringParameterDefinition>
    <name>JANKY_SHA1</name>
    <description></description>
    <defaultValue></defaultValue>
    </hudson.model.StringParameterDefinition>
    <hudson.model.StringParameterDefinition>
    <name>JANKY_ID</name>
    <description></description>
    <defaultValue></defaultValue>
    </hudson.model.StringParameterDefinition>
    </parameterDefinitions>
    </hudson.model.ParametersDefinitionProperty>
    <com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
    <endpoints>
    <com.tikal.hudson.plugins.notification.Endpoint>
    <protocol>HTTP</protocol>
    <url><%= callback_url %></url>
    </com.tikal.hudson.plugins.notification.Endpoint>
    </endpoints>
    </com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
    </properties>
    <scm class="hudson.scm.NullSCM"/>
    <assignedNode>master</assignedNode>
    <canRoam>false</canRoam>
    <disabled>false</disabled>
    <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
    <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
    <triggers class="vector"/>
    <concurrentBuild>false</concurrentBuild>
    <builders>
    <hudson.tasks.Shell>
    <command>
    if [ ! -d &quot;./.git&quot; ]; then
    git init
    git remote add origin <%= repo %>
    fi
    git fetch -q origin
    git reset -q --hard $JANKY_SHA1
    if [ -f script/cibuild ]; then
    script/cibuild
    else
    bundle install --path vendor/gems --binstubs
    bundle exec rake
    fi</command>
    </hudson.tasks.Shell>
    </builders>
    <publishers/>
    <buildWrappers/>
    </project>
  4. @sr sr revised this gist Feb 10, 2012. 2 changed files with 64 additions and 1 deletion.
    2 changes: 1 addition & 1 deletion Gemfile
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    source "http://rubygems.org"
    gem "janky", "=0.9.0"
    gem "janky", "~>0.9"
    gem "pg"
    gem "thin"
    63 changes: 63 additions & 0 deletions configdefault.xml.erb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,63 @@
    <?xml version='1.0' encoding='UTF-8'?>
    <project>
    <actions/>
    <name><%= name %></name>
    <logRotator>
    <daysToKeep>-1</daysToKeep>
    <numToKeep>-1</numToKeep>
    <artifactDaysToKeep>-1</artifactDaysToKeep>
    <artifactNumToKeep>-1</artifactNumToKeep>
    </logRotator>
    <keepDependencies>false</keepDependencies>
    <properties>
    <hudson.model.ParametersDefinitionProperty>
    <parameterDefinitions>
    <hudson.model.StringParameterDefinition>
    <name>JANKY_SHA1</name>
    <description></description>
    <defaultValue></defaultValue>
    </hudson.model.StringParameterDefinition>
    <hudson.model.StringParameterDefinition>
    <name>JANKY_ID</name>
    <description></description>
    <defaultValue></defaultValue>
    </hudson.model.StringParameterDefinition>
    </parameterDefinitions>
    </hudson.model.ParametersDefinitionProperty>
    <com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
    <endpoints>
    <com.tikal.hudson.plugins.notification.Endpoint>
    <protocol>HTTP</protocol>
    <url><%= callback_url %></url>
    </com.tikal.hudson.plugins.notification.Endpoint>
    </endpoints>
    </com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
    </properties>
    <scm class="hudson.scm.NullSCM"/>
    <assignedNode>master</assignedNode>
    <canRoam>false</canRoam>
    <disabled>false</disabled>
    <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
    <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
    <triggers class="vector"/>
    <concurrentBuild>false</concurrentBuild>
    <builders>
    <hudson.tasks.Shell>
    <command>
    if [ ! -d &quot;./.git&quot; ]; then
    git init
    git remote add origin <%= repo %>
    fi
    git fetch -q origin
    git reset -q --hard $JANKY_SHA1
    if [ -f script/cibuild ]; then
    script/cibuild
    else
    bundle install --path vendor/gems --binstubs
    bundle exec rake
    fi</command>
    </hudson.tasks.Shell>
    </builders>
    <publishers/>
    <buildWrappers/>
    </project>
  5. @sr sr revised this gist Dec 19, 2011. 1 changed file with 0 additions and 5 deletions.
    5 changes: 0 additions & 5 deletions config.ru
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,3 @@
    require "janky"
    Janky.setup(ENV)
    Janky::App.enable :static
    puts Janky::App.public_folder
    puts Janky::App.static
    puts Janky::App.root
    puts Janky::App.app_file
    run Janky.app
  6. @sr sr revised this gist Dec 19, 2011. 35 changed files with 0 additions and 85 deletions.
    85 changes: 0 additions & 85 deletions Gemfile.lock
    Original file line number Diff line number Diff line change
    @@ -1,85 +0,0 @@
    GEM
    remote: http://rubygems.org/
    specs:
    activemodel (3.1.3)
    activesupport (= 3.1.3)
    builder (~> 3.0.0)
    i18n (~> 0.6)
    activerecord (3.1.3)
    activemodel (= 3.1.3)
    activesupport (= 3.1.3)
    arel (~> 2.2.1)
    tzinfo (~> 0.3.29)
    activesupport (3.1.3)
    multi_json (~> 1.0)
    addressable (2.2.6)
    arel (2.2.1)
    broach (0.2.1)
    json (~> 1.4)
    nap (~> 0.3)
    builder (3.0.0)
    daemons (1.1.4)
    eventmachine (0.12.10)
    faraday (0.6.1)
    addressable (~> 2.2.4)
    multipart-post (~> 1.1.0)
    rack (>= 1.1.0, < 2)
    i18n (0.6.0)
    janky (0.9.0)
    activerecord (~> 3.1.0)
    broach (~> 0.2)
    mustache (~> 0.11)
    rake (~> 0.9.2)
    replicate (~> 1.4)
    sinatra (~> 1.3)
    sinatra_auth_github (~> 0.1.5)
    yajl-ruby (~> 0.8)
    json (1.6.3)
    mime-types (1.17.2)
    multi_json (1.0.4)
    multipart-post (1.1.4)
    mustache (0.99.4)
    nap (0.4)
    oauth2 (0.4.1)
    faraday (~> 0.6.1)
    multi_json (>= 0.0.5)
    pg (0.12.0)
    rake-compiler (~> 0.7)
    rack (1.3.5)
    rack-protection (1.1.4)
    rack
    rake (0.9.2.2)
    rake-compiler (0.7.9)
    rake
    replicate (1.4)
    rest-client (1.6.7)
    mime-types (>= 1.16)
    sinatra (1.3.1)
    rack (~> 1.3, >= 1.3.4)
    rack-protection (~> 1.1, >= 1.1.2)
    tilt (~> 1.3, >= 1.3.3)
    sinatra_auth_github (0.1.5)
    rest-client (~> 1.6.1)
    sinatra (~> 1.0)
    warden-github (~> 0.1.1)
    thin (1.3.1)
    daemons (>= 1.0.9)
    eventmachine (>= 0.12.6)
    rack (>= 1.0.0)
    tilt (1.3.3)
    tzinfo (0.3.31)
    warden (1.0.6)
    rack (>= 1.0)
    warden-github (0.1.2)
    json (~> 1.5)
    oauth2 (~> 0.4.1)
    warden (~> 1.0.4)
    yajl-ruby (0.8.3)

    PLATFORMS
    ruby

    DEPENDENCIES
    janky (= 0.9.0)
    pg
    thin
    Binary file removed vendor/cache/activemodel-3.1.3.gem
    Binary file not shown.
    Binary file removed vendor/cache/activerecord-3.1.3.gem
    Binary file not shown.
    Binary file removed vendor/cache/activesupport-3.1.3.gem
    Binary file not shown.
    Binary file removed vendor/cache/addressable-2.2.6.gem
    Binary file not shown.
    Binary file removed vendor/cache/arel-2.2.1.gem
    Binary file not shown.
    Binary file removed vendor/cache/broach-0.2.1.gem
    Binary file not shown.
    Binary file removed vendor/cache/builder-3.0.0.gem
    Binary file not shown.
    Binary file removed vendor/cache/daemons-1.1.4.gem
    Binary file not shown.
    Binary file removed vendor/cache/eventmachine-0.12.10.gem
    Binary file not shown.
    Binary file removed vendor/cache/faraday-0.6.1.gem
    Binary file not shown.
    Binary file removed vendor/cache/i18n-0.6.0.gem
    Binary file not shown.
    Binary file removed vendor/cache/janky-0.9.0.gem
    Binary file not shown.
    Binary file removed vendor/cache/json-1.6.3.gem
    Binary file not shown.
    Binary file removed vendor/cache/mime-types-1.17.2.gem
    Binary file not shown.
    Binary file removed vendor/cache/multi_json-1.0.4.gem
    Binary file not shown.
    Binary file removed vendor/cache/multipart-post-1.1.4.gem
    Binary file not shown.
    Binary file removed vendor/cache/mustache-0.99.4.gem
    Binary file not shown.
    Binary file removed vendor/cache/nap-0.4.gem
    Binary file not shown.
    Binary file removed vendor/cache/oauth2-0.4.1.gem
    Binary file not shown.
    Binary file removed vendor/cache/pg-0.12.0.gem
    Binary file not shown.
    Binary file removed vendor/cache/rack-1.3.5.gem
    Binary file not shown.
    Binary file removed vendor/cache/rack-protection-1.1.4.gem
    Binary file not shown.
    Binary file removed vendor/cache/rake-0.9.2.2.gem
    Binary file not shown.
    Binary file removed vendor/cache/rake-compiler-0.7.9.gem
    Binary file not shown.
    Binary file removed vendor/cache/replicate-1.4.gem
    Binary file not shown.
    Binary file removed vendor/cache/rest-client-1.6.7.gem
    Binary file not shown.
    Binary file removed vendor/cache/sinatra-1.3.1.gem
    Binary file not shown.
    Binary file removed vendor/cache/sinatra_auth_github-0.1.5.gem
    Binary file not shown.
    Binary file removed vendor/cache/thin-1.3.1.gem
    Binary file not shown.
    Binary file removed vendor/cache/tilt-1.3.3.gem
    Binary file not shown.
    Binary file removed vendor/cache/tzinfo-0.3.31.gem
    Binary file not shown.
    Binary file removed vendor/cache/warden-1.0.6.gem
    Binary file not shown.
    Binary file removed vendor/cache/warden-github-0.1.2.gem
    Binary file not shown.
    Binary file removed vendor/cache/yajl-ruby-0.8.3.gem
    Binary file not shown.
  7. @sr sr revised this gist Dec 19, 2011. 40 changed files with 164 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions Gemfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    source "http://rubygems.org"
    gem "janky", "=0.9.0"
    gem "pg"
    gem "thin"
    85 changes: 85 additions & 0 deletions Gemfile.lock
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,85 @@
    GEM
    remote: http://rubygems.org/
    specs:
    activemodel (3.1.3)
    activesupport (= 3.1.3)
    builder (~> 3.0.0)
    i18n (~> 0.6)
    activerecord (3.1.3)
    activemodel (= 3.1.3)
    activesupport (= 3.1.3)
    arel (~> 2.2.1)
    tzinfo (~> 0.3.29)
    activesupport (3.1.3)
    multi_json (~> 1.0)
    addressable (2.2.6)
    arel (2.2.1)
    broach (0.2.1)
    json (~> 1.4)
    nap (~> 0.3)
    builder (3.0.0)
    daemons (1.1.4)
    eventmachine (0.12.10)
    faraday (0.6.1)
    addressable (~> 2.2.4)
    multipart-post (~> 1.1.0)
    rack (>= 1.1.0, < 2)
    i18n (0.6.0)
    janky (0.9.0)
    activerecord (~> 3.1.0)
    broach (~> 0.2)
    mustache (~> 0.11)
    rake (~> 0.9.2)
    replicate (~> 1.4)
    sinatra (~> 1.3)
    sinatra_auth_github (~> 0.1.5)
    yajl-ruby (~> 0.8)
    json (1.6.3)
    mime-types (1.17.2)
    multi_json (1.0.4)
    multipart-post (1.1.4)
    mustache (0.99.4)
    nap (0.4)
    oauth2 (0.4.1)
    faraday (~> 0.6.1)
    multi_json (>= 0.0.5)
    pg (0.12.0)
    rake-compiler (~> 0.7)
    rack (1.3.5)
    rack-protection (1.1.4)
    rack
    rake (0.9.2.2)
    rake-compiler (0.7.9)
    rake
    replicate (1.4)
    rest-client (1.6.7)
    mime-types (>= 1.16)
    sinatra (1.3.1)
    rack (~> 1.3, >= 1.3.4)
    rack-protection (~> 1.1, >= 1.1.2)
    tilt (~> 1.3, >= 1.3.3)
    sinatra_auth_github (0.1.5)
    rest-client (~> 1.6.1)
    sinatra (~> 1.0)
    warden-github (~> 0.1.1)
    thin (1.3.1)
    daemons (>= 1.0.9)
    eventmachine (>= 0.12.6)
    rack (>= 1.0.0)
    tilt (1.3.3)
    tzinfo (0.3.31)
    warden (1.0.6)
    rack (>= 1.0)
    warden-github (0.1.2)
    json (~> 1.5)
    oauth2 (~> 0.4.1)
    warden (~> 1.0.4)
    yajl-ruby (0.8.3)

    PLATFORMS
    ruby

    DEPENDENCIES
    janky (= 0.9.0)
    pg
    thin
    1 change: 1 addition & 0 deletions Procfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    web: bundle exec thin start -p $PORT
    3 changes: 3 additions & 0 deletions Rakefile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    require "janky"
    Janky.setup(ENV)
    require "janky/tasks"
    8 changes: 8 additions & 0 deletions config.ru
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    require "janky"
    Janky.setup(ENV)
    Janky::App.enable :static
    puts Janky::App.public_folder
    puts Janky::App.static
    puts Janky::App.root
    puts Janky::App.app_file
    run Janky.app
    63 changes: 63 additions & 0 deletions config/default.xml.erb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,63 @@
    <?xml version='1.0' encoding='UTF-8'?>
    <project>
    <actions/>
    <name><%= name %></name>
    <logRotator>
    <daysToKeep>-1</daysToKeep>
    <numToKeep>-1</numToKeep>
    <artifactDaysToKeep>-1</artifactDaysToKeep>
    <artifactNumToKeep>-1</artifactNumToKeep>
    </logRotator>
    <keepDependencies>false</keepDependencies>
    <properties>
    <hudson.model.ParametersDefinitionProperty>
    <parameterDefinitions>
    <hudson.model.StringParameterDefinition>
    <name>JANKY_SHA1</name>
    <description></description>
    <defaultValue></defaultValue>
    </hudson.model.StringParameterDefinition>
    <hudson.model.StringParameterDefinition>
    <name>JANKY_ID</name>
    <description></description>
    <defaultValue></defaultValue>
    </hudson.model.StringParameterDefinition>
    </parameterDefinitions>
    </hudson.model.ParametersDefinitionProperty>
    <com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
    <endpoints>
    <com.tikal.hudson.plugins.notification.Endpoint>
    <protocol>HTTP</protocol>
    <url><%= callback_url %></url>
    </com.tikal.hudson.plugins.notification.Endpoint>
    </endpoints>
    </com.tikal.hudson.plugins.notification.HudsonNotificationProperty>
    </properties>
    <scm class="hudson.scm.NullSCM"/>
    <assignedNode>master</assignedNode>
    <canRoam>false</canRoam>
    <disabled>false</disabled>
    <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
    <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
    <triggers class="vector"/>
    <concurrentBuild>false</concurrentBuild>
    <builders>
    <hudson.tasks.Shell>
    <command>
    if [ ! -d &quot;./.git&quot; ]; then
    git init
    git remote add origin <%= repo %>
    fi
    git fetch -q origin
    git reset -q --hard $JANKY_SHA1
    if [ -f script/cibuild ]; then
    script/cibuild
    else
    bundle install --path vendor/gems --binstubs
    bundle exec rake
    fi</command>
    </hudson.tasks.Shell>
    </builders>
    <publishers/>
    <buildWrappers/>
    </project>
    Binary file added vendor/cache/activemodel-3.1.3.gem
    Binary file not shown.
    Binary file added vendor/cache/activerecord-3.1.3.gem
    Binary file not shown.
    Binary file added vendor/cache/activesupport-3.1.3.gem
    Binary file not shown.
    Binary file added vendor/cache/addressable-2.2.6.gem
    Binary file not shown.
    Binary file added vendor/cache/arel-2.2.1.gem
    Binary file not shown.
    Binary file added vendor/cache/broach-0.2.1.gem
    Binary file not shown.
    Binary file added vendor/cache/builder-3.0.0.gem
    Binary file not shown.
    Binary file added vendor/cache/daemons-1.1.4.gem
    Binary file not shown.
    Binary file added vendor/cache/eventmachine-0.12.10.gem
    Binary file not shown.
    Binary file added vendor/cache/faraday-0.6.1.gem
    Binary file not shown.
    Binary file added vendor/cache/i18n-0.6.0.gem
    Binary file not shown.
    Binary file added vendor/cache/janky-0.9.0.gem
    Binary file not shown.
    Binary file added vendor/cache/json-1.6.3.gem
    Binary file not shown.
    Binary file added vendor/cache/mime-types-1.17.2.gem
    Binary file not shown.
    Binary file added vendor/cache/multi_json-1.0.4.gem
    Binary file not shown.
    Binary file added vendor/cache/multipart-post-1.1.4.gem
    Binary file not shown.
    Binary file added vendor/cache/mustache-0.99.4.gem
    Binary file not shown.
    Binary file added vendor/cache/nap-0.4.gem
    Binary file not shown.
    Binary file added vendor/cache/oauth2-0.4.1.gem
    Binary file not shown.
    Binary file added vendor/cache/pg-0.12.0.gem
    Binary file not shown.
    Binary file added vendor/cache/rack-1.3.5.gem
    Binary file not shown.
    Binary file added vendor/cache/rack-protection-1.1.4.gem
    Binary file not shown.
    Binary file added vendor/cache/rake-0.9.2.2.gem
    Binary file not shown.
    Binary file added vendor/cache/rake-compiler-0.7.9.gem
    Binary file not shown.
    Binary file added vendor/cache/replicate-1.4.gem
    Binary file not shown.
    Binary file added vendor/cache/rest-client-1.6.7.gem
    Binary file not shown.
    Binary file added vendor/cache/sinatra-1.3.1.gem
    Binary file not shown.
    Binary file added vendor/cache/sinatra_auth_github-0.1.5.gem
    Binary file not shown.
    Binary file added vendor/cache/thin-1.3.1.gem
    Binary file not shown.
    Binary file added vendor/cache/tilt-1.3.3.gem
    Binary file not shown.
    Binary file added vendor/cache/tzinfo-0.3.31.gem
    Binary file not shown.
    Binary file added vendor/cache/warden-1.0.6.gem
    Binary file not shown.
    Binary file added vendor/cache/warden-github-0.1.2.gem
    Binary file not shown.
    Binary file added vendor/cache/yajl-ruby-0.8.3.gem
    Binary file not shown.
  8. @sr sr created this gist Dec 19, 2011.
    5 changes: 5 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # Janky on Heroku

    This is an Heroku app for [Janky][], a continuous integration server.

    [Janky]: https://github.com/github/janky