fourchette 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52bb772d746a51596c9b3a1d9289b5e7cdb06a35
4
- data.tar.gz: e46108905c240695480644c8570f12e8157d92b8
3
+ metadata.gz: ebf1374141bdde2186a13a2039505907d8760f2b
4
+ data.tar.gz: 176bcc5f827e23b58139b1a96ea54234f20db267
5
5
  SHA512:
6
- metadata.gz: efe7daf22b8f7a9c380bf5ab217d3e1a0919e62e7afd5e34f12b5554699c06fa59329961ef1fd5f2338653b6d0841a7959f8a5d97a05121e6e8de6ecfdf55e01
7
- data.tar.gz: 9795df2566dacb92402c13b410e399d6038337215c9eea4d98c6f472005d9b2bb0046ac0117f72451446fc3bbfbbb6794ebfd039dc3dfde6a1bfa40553b8c6e3
6
+ metadata.gz: f1be728e5c20fffeab03a0f8ec975b76628d1a7524e23e8ec9579d9f617f5fc5e89455325d0e313f7e8952c069f5f211e1556670bda7dda52eeea0207615fde2
7
+ data.tar.gz: e0b44a8c10b071f476fcfdacaf381aa0bb81cdcb54edaf119e21b7c203c9ecaa90feeb9daddda89ba8028b7024d12e818f796fecbbdde01dc0960814b35fcd58
data/README.md CHANGED
@@ -59,7 +59,7 @@ We use it a lot at [Rainforest QA](https://www.rainforestqa.com/). If you want t
59
59
  - `export FOURCHETTE_GITHUB_PERSONAL_TOKEN='a token here...'` # You can create one here: https://github.com/settings/applications
60
60
  - `export FOURCHETTE_HEROKU_API_KEY="API key here"`
61
61
  - `export FOURCHETTE_HEROKU_APP_TO_FORK='the name of the app to fork from'`
62
- - `export FOURCHETTE_APP_URL="http://fourchette-app.herokuapp.com"`
62
+ - `export FOURCHETTE_APP_URL="https://fourchette-app.herokuapp.com"`
63
63
  - `export FOURCHETTE_HEROKU_APP_PREFIX="fourchette"` # This is basically to namespace your forks. In that example, they would be named "fourchette-pr-1234" where "1234" is the PR number. Beware, the name can't be more than 30 characters total! It will be changed to be lowercase only, so you should probably just use lowercase characters anyways.
64
64
 
65
65
  **IMPORTANT**: the GitHub user needs to be an admin of the repo to be able to add, enable or disable the web hook used by Fourchette. You could create it by hand if you prefer.
@@ -98,6 +98,10 @@ Adding `[qa skip]` to the title of your pull request will cause Fourchette to ig
98
98
 
99
99
  Fourchette uses [Sucker Punch](https://github.com/brandonhilkert/sucker_punch), "a single-process Ruby asynchronous processing library". No need for redis or extra processes. It also mean you can run it for free on Heroku, if this is what you want.
100
100
 
101
+ ## License
102
+
103
+ See [here](LICENSE.txt)
104
+
101
105
  ## Contribute
102
106
 
103
107
  - fork & clone
@@ -42,8 +42,9 @@ class Fourchette::Heroku
42
42
  def copy_config from, to
43
43
  logger.info "Copying configs from #{from} to #{to}"
44
44
  from_congig_vars = config_vars(from)
45
- # WE SHOULD NOT MOVE THE HEROKU_POSTGRES_*_URL...
45
+ # WE SHOULD NOT MOVE THE HEROKU_POSTGRES_*_URL or DATABASE_URL...
46
46
  from_congig_vars.reject! { |k, v| k.start_with?('HEROKU_POSTGRESQL_') && k.end_with?('_URL') }
47
+ from_congig_vars.reject! { |k, v| k == ('DATABASE_URL') }
47
48
  client.config_var.update(to, from_congig_vars)
48
49
  end
49
50
 
@@ -1,3 +1,3 @@
1
1
  module Fourchette
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -73,7 +73,13 @@ describe Fourchette::Heroku do
73
73
  end
74
74
 
75
75
  describe '#copy_config' do
76
- let(:vars) { { 'WHATEVER' => 'ok', 'HEROKU_POSTGRESQL_SOMETHING_URL' => 'FAIL@POSTGRES/DB' } }
76
+ let(:vars) do
77
+ {
78
+ 'WHATEVER' => 'ok',
79
+ 'HEROKU_POSTGRESQL_SOMETHING_URL' => 'FAIL@POSTGRES/DB',
80
+ 'DATABASE_URL' => 'FAIL@POSTGRES/DB'
81
+ }
82
+ end
77
83
  let(:cleaned_vars) { { 'WHATEVER' => 'ok'} }
78
84
 
79
85
  it 'calls #config_vars' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fourchette
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Philippe Boily
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-25 00:00:00.000000000 Z
11
+ date: 2014-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -295,7 +295,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
295
295
  version: '0'
296
296
  requirements: []
297
297
  rubyforge_project:
298
- rubygems_version: 2.2.0
298
+ rubygems_version: 2.2.2
299
299
  signing_key:
300
300
  specification_version: 4
301
301
  summary: Your new best friend for isolated testing environments on Heroku.