card 1.105.1 → 1.105.2.pre1

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: 7d1c8cf4b2e9416f3e17e107de3651e51957b9bb0f8bd9a32dfb7c9e5ffcfe5e
4
- data.tar.gz: ea4bf60694b93994f9fd8e626fe2dd6bf0860ce1e270e533066b42d3e98c0f39
3
+ metadata.gz: e92bf5b88627c26e327cb956125fe9df65de294fe0aae868fb13a605e50f620a
4
+ data.tar.gz: bc64d68bd8794b95c52418ff909d82cfe3bc728511ed02ea95d4bbc5b033ea85
5
5
  SHA512:
6
- metadata.gz: 65ff19795cd4a020bd67bf08d35d5eef95c3b904bc70fd2fe94eee219c5e34e4e77b29868302f98069d3fc2877c7cf9f69bffc5193bdffec337925a57997b1d3
7
- data.tar.gz: 40ada7a7227dd40ae2d8edb9a23aa4a6c4777c505a73f1a39e2ed2ad9ce741078e1645ac995de6ad8c509bfb94f11f02dec78d8906ad465cdae09ecc444cbab1
6
+ metadata.gz: 75585983fea5b86c52bfcb60c1bf322bf43da8484bc3dc86fbfb50f44d717ac2007493fac65b34a6e1ecfc394355ee8b239b5934e86cb41d11142693fcc70fc6
7
+ data.tar.gz: 11bb031892444992652da895f60c0bc0a8b33188372e1dc5665519b6133014d460940a397d5dc83136073cb9f198f9c028f5e5bc969d8e1a6ba2dc646f890357
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.15.1
1
+ 0.15.2.pre1
@@ -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
@@ -1,12 +1,12 @@
1
1
  namespace :card do
2
2
  namespace :mod do
3
3
  desc "list current mods in load order"
4
- task list: :environment do
4
+ task :list do
5
5
  Cardio.mods.each { |m| puts "#{m.name}: #{m.path}".green }
6
6
  end
7
7
 
8
8
  desc "symlink from deck public/{modname} to mod's public directory"
9
- task symlink: :environment do
9
+ task :symlink do
10
10
  FileUtils.rm_rf public_mod_dir
11
11
  FileUtils.mkdir_p public_mod_dir
12
12
  Cardio::Mod.dirs.each_subpath "public" do |mod, target|
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.1
4
+ version: 1.105.2.pre1
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.1
21
+ version: 0.15.2.pre1
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.1
28
+ version: 0.15.2.pre1
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: '0'
819
+ version: 1.3.1
820
820
  requirements: []
821
821
  rubygems_version: 3.3.11
822
822
  signing_key: