copycopter_client 1.1.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.travis.yml +9 -0
- data/Appraisals +10 -10
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/MIT-LICENSE +1 -1
- data/README.md +44 -37
- data/Rakefile +5 -3
- data/copycopter_client.gemspec +27 -30
- data/features/step_definitions/rails_steps.rb +1 -0
- data/gemfiles/2.3.gemfile +1 -1
- data/gemfiles/2.3.gemfile.lock +2 -2
- data/gemfiles/3.0.gemfile +1 -1
- data/gemfiles/3.0.gemfile.lock +29 -29
- data/gemfiles/3.1.gemfile +1 -1
- data/gemfiles/3.1.gemfile.lock +69 -67
- data/lib/copycopter_client.rb +14 -4
- data/lib/copycopter_client/cache.rb +53 -15
- data/lib/copycopter_client/client.rb +20 -17
- data/lib/copycopter_client/configuration.rb +30 -26
- data/lib/copycopter_client/version.rb +2 -3
- data/lib/tasks/copycopter_client_tasks.rake +13 -0
- data/spec/copycopter_client/cache_spec.rb +65 -0
- data/spec/copycopter_client/client_spec.rb +22 -23
- data/spec/copycopter_client/configuration_spec.rb +75 -77
- data/spec/spec_helper.rb +5 -5
- data/spec/support/fake_client.rb +6 -2
- data/spec/support/fake_copycopter_app.rb +41 -30
- metadata +152 -228
- data/.bundle/config +0 -2
- data/AddTrustExternalCARoot.crt +0 -25
- data/CONTRIBUTING.md +0 -38
data/.bundle/config
DELETED
data/AddTrustExternalCARoot.crt
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEU
|
3
|
-
MBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4dGVybmFs
|
4
|
-
IFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290
|
5
|
-
MB4XDTAwMD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7DYd7usQWxH
|
20
|
-
YINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5
|
21
|
-
6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvC
|
22
|
-
Nr4TDea9Y355e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEX
|
23
|
-
c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
|
24
|
-
mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
|
25
|
-
-----END CERTIFICATE-----
|
data/CONTRIBUTING.md
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
We love pull requests. Here's a quick guide:
|
2
|
-
|
3
|
-
1. Fork the repo.
|
4
|
-
|
5
|
-
2. Run the tests. We only take pull requests with passing tests, and it's great
|
6
|
-
to know that you have a clean slate: `bundle && rake`
|
7
|
-
|
8
|
-
3. Add a test for your change. Only refactoring and documentation changes
|
9
|
-
require no new tests. If you are adding functionality or fixing a bug, we need
|
10
|
-
a test!
|
11
|
-
|
12
|
-
4. Make the test pass.
|
13
|
-
|
14
|
-
5. Push to your fork and submit a pull request.
|
15
|
-
|
16
|
-
|
17
|
-
At this point you're waiting on us. We like to at least comment on, if not
|
18
|
-
accept, pull requests within three business days (and, typically, one business
|
19
|
-
day). We may suggest some changes or improvements or alternatives.
|
20
|
-
|
21
|
-
Some things that will increase the chance that your pull request is accepted,
|
22
|
-
taken straight from the Ruby on Rails guide:
|
23
|
-
|
24
|
-
* Use Rails idioms and helpers
|
25
|
-
* Include tests that fail without your code, and pass with it
|
26
|
-
* Update the documentation, the surrounding one, examples elsewhere, guides,
|
27
|
-
whatever is affected by your contribution
|
28
|
-
|
29
|
-
Syntax:
|
30
|
-
|
31
|
-
* Two spaces, no tabs.
|
32
|
-
* No trailing whitespace. Blank lines should not have any space.
|
33
|
-
* Prefer &&/|| over and/or.
|
34
|
-
* MyClass.my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
35
|
-
* a = b and not a=b.
|
36
|
-
* Follow the conventions you see used in the source already.
|
37
|
-
|
38
|
-
And in case we didn't emphasize it enough: we love tests!
|