mumuki-haskell-runner 1.0.1 → 1.1.0

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
  SHA1:
3
- metadata.gz: efaecbdd57d4bb5c128fa72ec6cf963a2ed2ae36
4
- data.tar.gz: bfaf1392910fe81f43520ee7c6ecde0e79b8ab88
3
+ metadata.gz: f0c0ec904bd96aac5b30aa033f214f9e08328c95
4
+ data.tar.gz: d7e8be0c4cbce8348499ae7d4d49f3822c4e4d00
5
5
  SHA512:
6
- metadata.gz: 4a580defecd65cea9fc324038d777900f3e31910375da411baf9212cb3ae08e39455f5a21b9348ede55d186fd6a669623383ac4b14734e95428748440a2ce1f4
7
- data.tar.gz: fcd652a1a4925333a1ce1a523962da034ce3130ba20e5feeb17775a51b496010bba23ffd70aee179c1765a04b499a9c29bce9108fcc912053c13f1e4e2979bd4
6
+ metadata.gz: c76073187ae4fd38ecff1d88bd02e81472849fc96925dfd2579e2d36f1859737d9fcd3fea6e9bbd1cc7a49d43e28d6903a7518e93f3a00561de1fe903e61e4cd
7
+ data.tar.gz: ee9a7130ac8c347a8f42901f5ab9a3ddf42527de0c3480e3a09786afbd381b06097907313618f9ff351c9f262926a1d5e44d7d02a8324ffdc4c4969026cd0c35
@@ -1,5 +1,3 @@
1
- require 'json'
2
-
3
1
  class HaskellExpectationsHook < Mumukit::Templates::MulangExpectationsHook
4
2
  include_smells true
5
3
 
@@ -6,6 +6,7 @@ Mumukit.configure do |config|
6
6
  config.comment_type = Mumukit::Directives::CommentType::Haskell
7
7
  end
8
8
 
9
+ require_relative './version'
9
10
  require_relative './haskell_file_hook'
10
11
  require_relative './expectations_hook'
11
12
  require_relative './validation_hook'
data/lib/query_hook.rb CHANGED
@@ -5,7 +5,7 @@ import Text.Show.Functions
5
5
  #{req.content}
6
6
  #{req.extra}
7
7
  main :: IO ()
8
- main = putStr.show $ #{req.query}
8
+ main = putStrLn.show $ #{req.query}
9
9
  EOF
10
10
  end
11
11
  end
data/lib/version.rb ADDED
@@ -0,0 +1,3 @@
1
+ module HaskellVersionHook
2
+ VERSION = '1.1.0'
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-haskell-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-28 00:00:00.000000000 Z
11
+ date: 2017-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.5'
19
+ version: '2.10'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.5'
27
- - !ruby/object:Gem::Dependency
28
- name: mumukit-inspection
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.1'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '0.1'
26
+ version: '2.10'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: bundler
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +108,7 @@ files:
122
108
  - lib/query_hook.rb
123
109
  - lib/test_hook.rb
124
110
  - lib/validation_hook.rb
111
+ - lib/version.rb
125
112
  homepage: http://github.com/mumuki/mumuki-haskell-server
126
113
  licenses:
127
114
  - MIT
@@ -142,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
129
  version: '0'
143
130
  requirements: []
144
131
  rubyforge_project:
145
- rubygems_version: 2.4.8
132
+ rubygems_version: 2.6.11
146
133
  signing_key:
147
134
  specification_version: 4
148
135
  summary: Haskell Runner for Mumuki