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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a96757584caadc22d04248602d0ebbb9185feef79f2e1e674cac585efc867154
4
- data.tar.gz: de1483f559b35a2b6e3da653b8dc911b2b44245b94d7c7791c0e72d8d88bd4fa
3
+ metadata.gz: 43bb8cd89fb08dd18ca250b60bf46ed6ef7a39a2e389b0f9f86303430f232600
4
+ data.tar.gz: 3f6784f18003fb2a73de019bc0dbd6c55acd5d18de6cb9a403cb7e5c0eb7ccad
5
5
  SHA512:
6
- metadata.gz: 3a085f0940b3af5c235568a29bfebe0fa3295c610e17fd71303ccbc9bee14a124fe4bd36b8a170779518e3653b53a406ed41c71c5eace1cbc62d50a664afa183
7
- data.tar.gz: 22c86dad3e3c21c5e7a40e18f2ed92ae712daa9f26ad0109d8b96b00412172cea7c735a0422c01b914b14bdcc8df77c34adb89b9744a448c51c1f992c4baaa7e
6
+ metadata.gz: e768ee68cba089b21fa2f3fdf51692800c62e692d300fb7c87b3ee8bf87edc4a40317f3de2590e2e9cf757f572310db2bbd56b0302359b33a59351c0a30a24c2
7
+ data.tar.gz: 8cf491d3a46ac59a7ae5ffbecf010639d34caff199648275d41a4614e2c36418fd40ef0041cd626292886bd62ef81db646975173e687e3d2245853c1fb6c2287
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.15.2.pre1
1
+ 0.15.3
@@ -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(&:to_i)
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 seed",
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 seed --all",
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 seed' to complete the installation later)"
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 seed` to seed your database (see config/database.yml).
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.2
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.2.pre1
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.2.pre1
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: 1.3.1
819
+ version: '0'
820
820
  requirements: []
821
821
  rubygems_version: 3.3.11
822
822
  signing_key: