gorilla_test-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -3
- data/lib/generators/gorilla_test/install/templates/gorilla_test.rb +3 -3
- data/lib/gorilla_test/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48915c0dbfbd980c8db8dba86a6b57eefabb229b
|
4
|
+
data.tar.gz: 1e68a7a57026c3103f79664db5a0b64f287a3c7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55e9444492b5057e366d02538ab70972072447a95f79f4a00e5d11e041fd7e38c0da13b6ba89860aa4f641b4df71a6dc15f2deeb0341765bf6fcfcb28ee3d79f
|
7
|
+
data.tar.gz: 556d0065aa1bd2b040655d89cbf1b9e4d6bca3c315d4cddb4bf3acc86e4106b01a89c16896676edf6e5a0d96e775e4bf43b19b99b59b29997160553e4bffb58f
|
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/gorilla_test.svg)](http://badge.fury.io/rb/gorilla_test)
|
2
|
+
|
3
|
+
# GorillaTest::Rails
|
2
4
|
|
3
5
|
TODO: Write a gem description
|
4
6
|
|
@@ -6,7 +8,7 @@ TODO: Write a gem description
|
|
6
8
|
|
7
9
|
Add this line to your application's Gemfile:
|
8
10
|
|
9
|
-
gem '
|
11
|
+
gem 'gorilla_test-rails'
|
10
12
|
|
11
13
|
And then execute:
|
12
14
|
|
@@ -14,9 +16,23 @@ And then execute:
|
|
14
16
|
|
15
17
|
Or install it yourself as:
|
16
18
|
|
17
|
-
$ gem install
|
19
|
+
$ gem install gorilla_test-rails
|
18
20
|
|
19
21
|
## Usage
|
22
|
+
Once the gem is installed, run
|
23
|
+
|
24
|
+
$ rails g gorilla_test:install
|
25
|
+
|
26
|
+
This will create an initializer for your project, if you are using
|
27
|
+
Heroku add-on, it is setup to use the ENV variables that are assigned
|
28
|
+
to the project.
|
29
|
+
|
30
|
+
If you are not using the Heroku add-on, please enter your auth-key and
|
31
|
+
project id provided to you on Gorilla Test.
|
32
|
+
|
33
|
+
To install the script, add the following to your application layout
|
34
|
+
|
35
|
+
gorilla_test_script
|
20
36
|
|
21
37
|
TODO: Write usage instructions here
|
22
38
|
|
@@ -27,3 +43,4 @@ TODO: Write usage instructions here
|
|
27
43
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
44
|
4. Push to the branch (`git push origin my-new-feature`)
|
29
45
|
5. Create new Pull Request
|
46
|
+
|
@@ -1,5 +1,5 @@
|
|
1
1
|
GorillaTest.configure do |config|
|
2
2
|
# Set this options to what makes sense for you
|
3
|
-
config.api_key = ENV['
|
4
|
-
config.project_id = ENV['
|
5
|
-
end
|
3
|
+
config.api_key = ENV['GORILLATEST_API_KEY']
|
4
|
+
config.project_id = ENV['GORILLATEST_PROJECT_ID']
|
5
|
+
end
|
data/lib/gorilla_test/version.rb
CHANGED