knapsack_pro 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +6 -0
- data/lib/knapsack_pro/config/env.rb +2 -2
- data/lib/knapsack_pro/version.rb +1 -1
- data/spec/knapsack_pro/config/env_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a2674eb030549459a86c2b78ad2242a08b708e7
|
4
|
+
data.tar.gz: abc36e6d8db2242652694a2394dc724f878caf2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32bcf9bf8cf8fbad5f254bd9488b11d2f09cf569f0cc63165afeba51bd1cb85e728e780183ca7844ce8a922f89e12d1c76cb5f48b2763ecef6c77807082f259d
|
7
|
+
data.tar.gz: f1ca9ce31b3f29fedfd175296d3c306588200ca9d7ea9f87e322c7f423c1b041a1cf662b82fcef581a9fe0203bff22ab8325a23484cf22e57ce7d8c98fab59b5
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
* TODO
|
4
4
|
|
5
|
+
### 0.9.0
|
6
|
+
|
7
|
+
* Add https support for Knapsack Pro API endpoint
|
8
|
+
|
9
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/14
|
10
|
+
|
11
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v0.8.0...v0.9.0
|
12
|
+
|
5
13
|
### 0.8.0
|
6
14
|
|
7
15
|
* Add Spinach support
|
data/README.md
CHANGED
@@ -17,6 +17,12 @@ The knapsack_pro gem supports:
|
|
17
17
|
|
18
18
|
__Would you like to try knapsack_pro gem?__ You can [get API token here](http://knapsackpro.com).
|
19
19
|
|
20
|
+
## Is knapsack_pro gem free?
|
21
|
+
|
22
|
+
* If your __project is open source__ then you can use Knapsack Pro for free. Just add a link back to the page http://knapsackpro.com and please let me know via email (arturtrzop@gmail.com). I will mark your account on KnapsackPro.com as open source.
|
23
|
+
|
24
|
+
* If your __project is commercial__ then I'd like to get feedback from you and work closely together to validate if the solution I'm building provide a value for the users. Switching to paid plan is a good way to validate that and a way to get support from happy users. Currently, there is no hard limit when the free trial is ending. I'm more interested in getting feedback from users in order to improve the tool. As I saw in the past people want to support the project and are asking for paid plan. Maybe you will be the next one who will join and support the project. Thanks!
|
25
|
+
|
20
26
|
# How knapsack_pro works?
|
21
27
|
|
22
28
|
## Basics
|
@@ -53,9 +53,9 @@ module KnapsackPro
|
|
53
53
|
when :development
|
54
54
|
'http://api.knapsackpro.dev:3000'
|
55
55
|
when :test
|
56
|
-
'
|
56
|
+
'https://api-staging.knapsackpro.com'
|
57
57
|
when :production
|
58
|
-
'
|
58
|
+
'https://api.knapsackpro.com'
|
59
59
|
else
|
60
60
|
required_env(env_name)
|
61
61
|
end
|
data/lib/knapsack_pro/version.rb
CHANGED
@@ -189,7 +189,7 @@ describe KnapsackPro::Config::Env do
|
|
189
189
|
|
190
190
|
context "when ENV doesn't exist" do
|
191
191
|
context 'when default mode' do
|
192
|
-
it { should eq '
|
192
|
+
it { should eq 'https://api.knapsackpro.com' }
|
193
193
|
end
|
194
194
|
|
195
195
|
context 'when development mode' do
|
@@ -199,12 +199,12 @@ describe KnapsackPro::Config::Env do
|
|
199
199
|
|
200
200
|
context 'when test mode' do
|
201
201
|
before { stub_const("ENV", { 'KNAPSACK_PRO_MODE' => 'test' }) }
|
202
|
-
it { should eq '
|
202
|
+
it { should eq 'https://api-staging.knapsackpro.com' }
|
203
203
|
end
|
204
204
|
|
205
205
|
context 'when production mode' do
|
206
206
|
before { stub_const("ENV", { 'KNAPSACK_PRO_MODE' => 'production' }) }
|
207
|
-
it { should eq '
|
207
|
+
it { should eq 'https://api.knapsackpro.com' }
|
208
208
|
end
|
209
209
|
|
210
210
|
context 'when unknown mode' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knapsack_pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|