card 1.105.2 → 1.105.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/cardio/version.rb +8 -2
- data/lib/generators/deck/deck_generator/interactive.rb +3 -3
- data/lib/generators/deck/deck_generator.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43bb8cd89fb08dd18ca250b60bf46ed6ef7a39a2e389b0f9f86303430f232600
|
4
|
+
data.tar.gz: 3f6784f18003fb2a73de019bc0dbd6c55acd5d18de6cb9a403cb7e5c0eb7ccad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e768ee68cba089b21fa2f3fdf51692800c62e692d300fb7c87b3ee8bf87edc4a40317f3de2590e2e9cf757f572310db2bbd56b0302359b33a59351c0a30a24c2
|
7
|
+
data.tar.gz: 8cf491d3a46ac59a7ae5ffbecf010639d34caff199648275d41a4614e2c36418fd40ef0041cd626292886bd62ef81db646975173e687e3d2245853c1fb6c2287
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.15.
|
1
|
+
0.15.3
|
data/lib/cardio/version.rb
CHANGED
@@ -10,13 +10,15 @@ module Cardio
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def card_release
|
13
|
-
@card_release ||= [1, minor, point].compact.map(&:to_s).join "."
|
13
|
+
@card_release ||= [1, minor, point, pre].compact.map(&:to_s).join "."
|
14
14
|
end
|
15
15
|
|
16
16
|
private
|
17
17
|
|
18
18
|
def bits
|
19
|
-
release.split(".").map
|
19
|
+
release.split(".").map do |bit|
|
20
|
+
bit.match?(/^\d/) ? bit.to_i : bit
|
21
|
+
end
|
20
22
|
end
|
21
23
|
|
22
24
|
def major
|
@@ -30,6 +32,10 @@ module Cardio
|
|
30
32
|
def point
|
31
33
|
bits[2]
|
32
34
|
end
|
35
|
+
|
36
|
+
def pre
|
37
|
+
bits[3]
|
38
|
+
end
|
33
39
|
end
|
34
40
|
end
|
35
41
|
end
|
@@ -77,7 +77,7 @@ module Decko
|
|
77
77
|
def add_common_seed_option
|
78
78
|
@menu["s"] = {
|
79
79
|
desc: "seed #{Rails.env}#{' and test' if dev_options?} database",
|
80
|
-
command: "decko
|
80
|
+
command: "decko setup",
|
81
81
|
code: proc do
|
82
82
|
bundle_exec "rake decko:seed"
|
83
83
|
bundle_exec "rake decko:seed", rails_env: "test" if dev_options?
|
@@ -89,7 +89,7 @@ module Decko
|
|
89
89
|
def add_seed_all_option
|
90
90
|
@menu["a"] = {
|
91
91
|
desc: "seed all databases (production, development, and test)",
|
92
|
-
command: "decko
|
92
|
+
command: "decko setup --all",
|
93
93
|
code: proc do
|
94
94
|
%w[production development test].each do |env|
|
95
95
|
bundle_exec "rake decko:seed", rails_env: env
|
@@ -101,7 +101,7 @@ module Decko
|
|
101
101
|
|
102
102
|
def add_exit_option
|
103
103
|
@menu["x"] = {
|
104
|
-
desc: "exit (run 'decko
|
104
|
+
desc: "exit (run 'decko setup' to complete the installation later)"
|
105
105
|
}
|
106
106
|
end
|
107
107
|
|
@@ -124,7 +124,7 @@ module Cardio
|
|
124
124
|
prefix = "bundle exec " if options["platypus"]
|
125
125
|
puts "Now:
|
126
126
|
1. Run `cd #{File.basename(destination_root)}` to enter your new deck directory
|
127
|
-
2. Run `#{prefix}decko
|
127
|
+
2. Run `#{prefix}decko setup` to seed your database (see config/database.yml).
|
128
128
|
3. Run `#{prefix}decko server` to start your server"
|
129
129
|
end
|
130
130
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.105.
|
4
|
+
version: 1.105.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.15.
|
21
|
+
version: 0.15.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.15.
|
28
|
+
version: 0.15.3
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rake
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -814,9 +814,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
814
814
|
version: '2.5'
|
815
815
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
816
816
|
requirements:
|
817
|
-
- - "
|
817
|
+
- - ">="
|
818
818
|
- !ruby/object:Gem::Version
|
819
|
-
version:
|
819
|
+
version: '0'
|
820
820
|
requirements: []
|
821
821
|
rubygems_version: 3.3.11
|
822
822
|
signing_key:
|