dotcrypt 0.1.2 → 0.1.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: bf5e931d953d89033342214657a99900f104bb378a43b3c2afe080c427a0ceee
4
- data.tar.gz: 221c50d756c96d0a78141efcf6c43767faa1cdad1f56eb21f42fe3077be0f32e
3
+ metadata.gz: b8d752eefc90fdbf76a3a5c76918dc2f9eae4019e7499792d83988df718ae150
4
+ data.tar.gz: 83df8ddd949aa0fe563f7990f2b37f5de8a82a9283cf5725336688cf2c3d8f7a
5
5
  SHA512:
6
- metadata.gz: bead67e12addb394181060d64cac9a507ccd9930584cb8168ae0ec02d549b9424ad5634b2ad842e8c9b252aea32143e8e0709a75cfa18baeefd729c050d0accc
7
- data.tar.gz: b2ebbeed298c8b1ee631f89401dd9d7fe070b5066414ee19d90d0e3701c7775535ea15393eb6115bee8ccf617e7db4e800c52a717584cd0dadfd9460da0d89c4
6
+ metadata.gz: b2d3883214e7630e4a0cb07b0f3bc5e5f57e7bdee9a7886cafd9c92a0dae8832246fd87159eb09013b017e4b0ac3ac60f38a1d6636cacae60fb633f8fd69140b
7
+ data.tar.gz: 48278cc6b8d382a8bf47bbadd8e9b8e9808b9bfcf16dc0b560c62d95a99c8edba8bfbb8d60e781635ce863a8c90c71c26839816f5aabb840cacf489271dad758
data/.env.dhall CHANGED
@@ -1,11 +1,11 @@
1
1
  let some_variable = "some value'"
2
- in {
3
- some_string = some_variable,
4
- some_record = {
5
- some_string = some_variable,
6
- some_naturals = [1,2,3],
7
- some_doubles = [1.2, 2.3],
8
- some_strings = ["value1", "value2"],
9
- some_nil = None
2
+
3
+ in { some_string = some_variable
4
+ , some_record =
5
+ { some_string = some_variable
6
+ , some_naturals = [ 1, 2, 3 ]
7
+ , some_doubles = [ 1.2, 2.3 ]
8
+ , some_strings = [ "value1", "value2" ]
9
+ , some_nil = None
10
10
  }
11
11
  }
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dotcrypt (0.1.2)
4
+ dotcrypt (0.1.3)
5
5
  bootsnap (~> 1.15.0)
6
6
  dhall (~> 0.5.0)
7
7
  thor (~> 1.2.0)
data/Rakefile CHANGED
@@ -9,4 +9,20 @@ require "rubocop/rake_task"
9
9
 
10
10
  RuboCop::RakeTask.new
11
11
 
12
- task default: [:spec, :rubocop]
12
+ namespace :dhall do
13
+ dhall_files = Dir["./**/.*.dhall"] + Dir["./**/*.dhall"]
14
+
15
+ def dhall(*args)
16
+ system("dhall", *args, exception: true)
17
+ end
18
+
19
+ task :check_fmt do
20
+ dhall("format", "--check", *dhall_files)
21
+ end
22
+
23
+ task :fmt do
24
+ dhall("format", *dhall_files)
25
+ end
26
+ end
27
+
28
+ task default: ["dhall:fmt", :spec, :rubocop]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dotcrypt
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
data/lib/dotcrypt.rb CHANGED
@@ -17,6 +17,9 @@ loader.inflector.inflect(
17
17
 
18
18
  loader.setup
19
19
 
20
+ module Dotcrypt
21
+ end
22
+
20
23
  class Dotcrypt::Error < StandardError
21
24
  # Your code goes here...
22
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotcrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Sinyavskiy