Skip to content

Commit

Permalink
Bump Crystal to 0.36.1
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfierke committed Feb 12, 2021
1 parent 4464f0a commit 9eea4d6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 23 deletions.
18 changes: 9 additions & 9 deletions shard.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
version: 1.0
version: 2.0
shards:
baked_file_system:
github: schovi/baked_file_system
version: 0.9.8
git: https://github.com/schovi/baked_file_system.git
version: 0.9.8+git.commit.7183bfde8d86a976a6912f582b51cbd1783456af

callback:
github: drujensen/callback
git: https://github.com/amberframework/callback.git
version: 0.7.1

cli:
github: drujensen/cli
version: 0.8.0
git: https://github.com/amberframework/cli.git
version: 0.9.3

optarg:
github: drujensen/optarg
version: 0.7.0
git: https://github.com/amberframework/optarg.git
version: 0.8.0

string_inflection:
github: mosop/string_inflection
git: https://github.com/mosop/string_inflection.git
version: 0.2.1

11 changes: 6 additions & 5 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name: fincher
version: 0.1.1
version: 0.1.2

authors:
- Max Fierke <[email protected]>

dependencies:
baked_file_system:
github: schovi/baked_file_system
version: ~> 0.9.8
branch: master

cli:
github: drujensen/cli
version: ~> 0.8.0
github: amberframework/cli
version: ~> 0.9.3

targets:
fincher:
main: src/cli.cr

crystal: 0.31.1
crystal: 0.36.1

license: MIT
8 changes: 3 additions & 5 deletions src/fincher/types/keymap.cr
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
module Fincher
module Types
class Keymap
YAML.mapping(
data: {
type: Hash(String, KeymapEntry)
}
)
include YAML::Serializable

property data : Hash(String, KeymapEntry)

def [](key)
data[key]?.not_nil!
Expand Down
8 changes: 4 additions & 4 deletions src/fincher/types/keymap_entry.cr
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module Fincher
module Types
class KeymapEntry
YAML.mapping(
shift: String,
neighbors: Array(String)
)
include YAML::Serializable

property shift : String
property neighbors : Array(String)
end
end
end

0 comments on commit 9eea4d6

Please sign in to comment.