trackler 2.1.0.25 → 2.1.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +10 -0
  3. data/bin/bootstrap +6 -0
  4. data/common/CONTRIBUTING.md +2 -2
  5. data/lib/trackler/version.rb +1 -1
  6. data/tracks/coffeescript/LICENSE +2 -2
  7. data/tracks/coffeescript/README.md +0 -5
  8. data/tracks/coldfusion/LICENSE +2 -2
  9. data/tracks/coldfusion/README.md +0 -5
  10. data/tracks/crystal/LICENSE +2 -2
  11. data/tracks/crystal/README.md +0 -5
  12. data/tracks/dlang/.travis.yml +4 -2
  13. data/tracks/dlang/LICENSE +2 -2
  14. data/tracks/dlang/README.md +3 -6
  15. data/tracks/dlang/bin/test-all-exercises +20 -0
  16. data/tracks/dlang/bin/test-exercise +16 -0
  17. data/tracks/dlang/config.json +0 -18
  18. data/tracks/dlang/exercises/difference-of-squares/difference_of_squares.d +6 -3
  19. data/tracks/dlang/exercises/difference-of-squares/difference_of_squares_example.d +17 -0
  20. data/tracks/dlang/exercises/gigasecond/gigasecond.d +7 -3
  21. data/tracks/dlang/exercises/gigasecond/gigasecond_example.d +15 -0
  22. data/tracks/dlang/exercises/hello-world/hello_world.d +4 -3
  23. data/tracks/dlang/exercises/hello-world/hello_world_example.d +9 -0
  24. data/tracks/dlang/exercises/nucleotide-count/nucleotide_count.d +1 -1
  25. data/tracks/dlang/exercises/raindrops/raindrops.d +6 -3
  26. data/tracks/dlang/exercises/raindrops/raindrops_example.d +20 -0
  27. data/tracks/dlang/exercises/rna-transcription/rna_transcription.d +7 -3
  28. data/tracks/dlang/exercises/rna-transcription/rna_transcription_example.d +15 -0
  29. data/tracks/ecmascript/exercises/accumulate/package.json +25 -39
  30. data/tracks/ecmascript/exercises/acronym/package.json +25 -39
  31. data/tracks/ecmascript/exercises/all-your-base/package.json +25 -39
  32. data/tracks/ecmascript/exercises/allergies/package.json +25 -39
  33. data/tracks/ecmascript/exercises/anagram/package.json +25 -39
  34. data/tracks/ecmascript/exercises/atbash-cipher/package.json +25 -39
  35. data/tracks/ecmascript/exercises/beer-song/package.json +25 -39
  36. data/tracks/ecmascript/exercises/binary/package.json +25 -39
  37. data/tracks/ecmascript/exercises/binary-search/example.js +3 -1
  38. data/tracks/ecmascript/exercises/binary-search/package.json +25 -39
  39. data/tracks/ecmascript/exercises/binary-search-tree/package.json +25 -39
  40. data/tracks/ecmascript/exercises/bob/bob.js +1 -0
  41. data/tracks/ecmascript/exercises/bob/package.json +25 -39
  42. data/tracks/ecmascript/exercises/bracket-push/package.json +25 -39
  43. data/tracks/ecmascript/exercises/circular-buffer/package.json +25 -39
  44. data/tracks/ecmascript/exercises/clock/package.json +25 -39
  45. data/tracks/ecmascript/exercises/connect/example.js +4 -1
  46. data/tracks/ecmascript/exercises/connect/package.json +25 -39
  47. data/tracks/ecmascript/exercises/crypto-square/package.json +25 -39
  48. data/tracks/ecmascript/exercises/custom-set/package.json +25 -39
  49. data/tracks/ecmascript/exercises/diamond/example.js +3 -4
  50. data/tracks/ecmascript/exercises/diamond/package.json +25 -39
  51. data/tracks/ecmascript/exercises/difference-of-squares/package.json +25 -39
  52. data/tracks/ecmascript/exercises/etl/package.json +25 -39
  53. data/tracks/ecmascript/exercises/food-chain/package.json +25 -39
  54. data/tracks/ecmascript/exercises/gigasecond/package.json +25 -39
  55. data/tracks/ecmascript/exercises/grade-school/package.json +25 -39
  56. data/tracks/ecmascript/exercises/grains/lib/big-integer.js +1153 -1152
  57. data/tracks/ecmascript/exercises/grains/package.json +25 -39
  58. data/tracks/ecmascript/exercises/hamming/package.json +25 -39
  59. data/tracks/ecmascript/exercises/hello-world/package.json +25 -39
  60. data/tracks/ecmascript/exercises/hexadecimal/package.json +25 -39
  61. data/tracks/ecmascript/exercises/isogram/package.json +25 -39
  62. data/tracks/ecmascript/exercises/kindergarten-garden/package.json +25 -39
  63. data/tracks/ecmascript/exercises/largest-series-product/example.js +8 -2
  64. data/tracks/ecmascript/exercises/largest-series-product/package.json +25 -39
  65. data/tracks/ecmascript/exercises/leap/package.json +25 -39
  66. data/tracks/ecmascript/exercises/linked-list/package.json +25 -39
  67. data/tracks/ecmascript/exercises/luhn/package.json +25 -39
  68. data/tracks/ecmascript/exercises/matrix/package.json +25 -39
  69. data/tracks/ecmascript/exercises/meetup/example.js +3 -5
  70. data/tracks/ecmascript/exercises/meetup/meetup.spec.js +2 -5
  71. data/tracks/ecmascript/exercises/meetup/package.json +25 -39
  72. data/tracks/ecmascript/exercises/nth-prime/package.json +25 -39
  73. data/tracks/ecmascript/exercises/ocr-numbers/package.json +25 -39
  74. data/tracks/ecmascript/exercises/octal/package.json +25 -39
  75. data/tracks/ecmascript/exercises/package.json +24 -40
  76. data/tracks/ecmascript/exercises/palindrome-products/package.json +25 -39
  77. data/tracks/ecmascript/exercises/pangram/package.json +25 -39
  78. data/tracks/ecmascript/exercises/pascals-triangle/package.json +25 -39
  79. data/tracks/ecmascript/exercises/perfect-numbers/example.js +5 -7
  80. data/tracks/ecmascript/exercises/perfect-numbers/package.json +25 -39
  81. data/tracks/ecmascript/exercises/phone-number/package.json +25 -39
  82. data/tracks/ecmascript/exercises/pig-latin/package.json +25 -39
  83. data/tracks/ecmascript/exercises/prime-factors/package.json +25 -39
  84. data/tracks/ecmascript/exercises/pythagorean-triplet/package.json +25 -39
  85. data/tracks/ecmascript/exercises/queen-attack/package.json +25 -39
  86. data/tracks/ecmascript/exercises/queen-attack/queen-attack.spec.js +1 -2
  87. data/tracks/ecmascript/exercises/raindrops/package.json +25 -39
  88. data/tracks/ecmascript/exercises/rna-transcription/example.js +1 -2
  89. data/tracks/ecmascript/exercises/rna-transcription/package.json +25 -39
  90. data/tracks/ecmascript/exercises/robot-name/package.json +25 -39
  91. data/tracks/ecmascript/exercises/robot-simulator/package.json +25 -39
  92. data/tracks/ecmascript/exercises/roman-numerals/package.json +25 -39
  93. data/tracks/ecmascript/exercises/saddle-points/example.js +1 -1
  94. data/tracks/ecmascript/exercises/saddle-points/package.json +25 -39
  95. data/tracks/ecmascript/exercises/say/package.json +25 -39
  96. data/tracks/ecmascript/exercises/scrabble-score/package.json +25 -39
  97. data/tracks/ecmascript/exercises/secret-handshake/package.json +25 -39
  98. data/tracks/ecmascript/exercises/series/package.json +25 -39
  99. data/tracks/ecmascript/exercises/sieve/example.js +1 -1
  100. data/tracks/ecmascript/exercises/sieve/package.json +25 -39
  101. data/tracks/ecmascript/exercises/simple-cipher/package.json +25 -39
  102. data/tracks/ecmascript/exercises/space-age/package.json +25 -39
  103. data/tracks/ecmascript/exercises/strain/package.json +25 -39
  104. data/tracks/ecmascript/exercises/sum-of-multiples/package.json +25 -39
  105. data/tracks/ecmascript/exercises/triangle/package.json +25 -39
  106. data/tracks/ecmascript/exercises/trinary/package.json +25 -39
  107. data/tracks/ecmascript/exercises/two-bucket/package.json +25 -39
  108. data/tracks/ecmascript/exercises/word-count/package.json +25 -39
  109. data/tracks/ecmascript/exercises/wordy/package.json +25 -39
  110. data/tracks/ecmascript/package.json +25 -39
  111. data/tracks/factor/config.json +0 -6
  112. data/tracks/go/exercises/variable-length-quantity/.meta/gen.go +0 -8
  113. data/tracks/go/exercises/variable-length-quantity/cases_test.go +0 -9
  114. data/tracks/go/exercises/variable-length-quantity/example.go +5 -5
  115. data/tracks/go/exercises/variable-length-quantity/variable_length_quantity_test.go +2 -4
  116. data/tracks/groovy/LICENSE +2 -2
  117. data/tracks/groovy/README.md +0 -5
  118. data/tracks/haxe/LICENSE +2 -2
  119. data/tracks/haxe/README.md +0 -5
  120. data/tracks/nasm/LICENSE +21 -0
  121. data/tracks/nasm/README.md +1 -6
  122. data/tracks/nim/LICENSE +21 -0
  123. data/tracks/nim/README.md +0 -5
  124. data/tracks/plsql/LICENSE +2 -2
  125. data/tracks/plsql/README.md +0 -5
  126. data/tracks/plsql/config.json +52 -12
  127. data/tracks/pony/LICENSE +2 -2
  128. data/tracks/pony/README.md +0 -5
  129. data/tracks/powershell/LICENSE +21 -0
  130. data/tracks/powershell/README.md +0 -5
  131. data/tracks/prolog/LICENSE +2 -2
  132. data/tracks/prolog/README.md +1 -6
  133. data/tracks/purescript/LICENSE +2 -2
  134. data/tracks/purescript/README.md +0 -5
  135. data/tracks/ruby/exercises/meetup/.meta/solutions/meetup.rb +1 -0
  136. data/tracks/ruby/exercises/meetup/meetup_test.rb +0 -1
  137. data/tracks/sml/LICENSE +21 -0
  138. data/tracks/sml/README.md +0 -5
  139. data/tracks/tcl/LICENSE +2 -2
  140. data/tracks/tcl/README.md +1 -6
  141. data/tracks/teco/LICENSE +2 -2
  142. data/tracks/teco/README.md +0 -5
  143. data/tracks/vbnet/LICENSE +21 -0
  144. data/tracks/vbnet/README.md +0 -5
  145. data/tracks/vimscript/config.json +5 -0
  146. data/tracks/vimscript/exercises/scrabble-score/example.vim +21 -0
  147. data/tracks/vimscript/exercises/scrabble-score/scrabble_score.vader +62 -0
  148. data/tracks/vimscript/exercises/scrabble-score/scrabble_score.vim +16 -0
  149. metadata +13 -2
@@ -27,52 +27,38 @@
27
27
  "scripts": {
28
28
  "test": "jest --no-cache ./*",
29
29
  "watch": "jest --no-cache --watch ./*",
30
- "lint": "eslint *.js; exit 0;",
31
- "lint-test": "eslint *.js && jest --no-cache ./* "
30
+ "lint": "eslint .",
31
+ "lint-test": "eslint . && jest --no-cache ./* "
32
32
  },
33
33
  "eslintConfig": {
34
34
  "parserOptions": {
35
35
  "ecmaVersion": 6,
36
36
  "sourceType": "module"
37
37
  },
38
+ "env": {
39
+ "es6": true,
40
+ "node": true,
41
+ "jasmine": true
42
+ },
43
+ "extends": "eslint:recommended",
38
44
  "rules": {
39
- "comma-dangle": [
40
- 2,
41
- "never"
42
- ],
43
- "no-cond-assign": [
44
- 2,
45
- "always"
46
- ],
47
- "no-console": 2,
48
- "no-constant-condition": 2,
49
- "no-control-regex": 2,
50
- "no-debugger": 2,
51
- "no-dupe-args": 2,
52
- "no-dupe-keys": 2,
53
- "no-duplicate-case": 2,
54
- "no-empty-character-class": 2,
55
- "no-empty": 2,
56
- "no-ex-assign": 2,
57
- "no-extra-boolean-cast": 2,
58
- "no-extra-parens": 2,
59
- "no-extra-semi": 2,
60
- "no-func-assign": 2,
61
- "no-inner-declarations": [
62
- 2,
63
- "both"
64
- ],
65
- "no-invalid-regexp": 2,
66
- "no-irregular-whitespace": 2,
67
- "no-negated-in-lhs": 2,
68
- "no-obj-calls": 2,
69
- "no-regex-spaces": 2,
70
- "no-sparse-arrays": 2,
71
- "no-unexpected-multiline": 2,
72
- "no-unreachable": 2,
73
- "use-isnan": 2,
74
- "valid-jsdoc": 2,
75
- "valid-typeof": 2
45
+ "indent": [ "off", 2 ],
46
+ "block-scoped-var": "off",
47
+ "radix": "off",
48
+ "no-use-before-define": "off",
49
+ "one-var": [ "off", "always" ],
50
+ "quotes": [ "off", "single", { "avoidEscape": true } ],
51
+ "semi": [ "off", "always" ],
52
+ "semi-spacing": [ "off", { "before": false, "after": true } ],
53
+ "no-whitespace-before-property": "off",
54
+ "space-before-blocks": [ "off", "always" ],
55
+ "space-before-function-paren": [ "off", { "anonymous": "always", "named": "never" } ],
56
+ "keyword-spacing": [ "off", { "before": true, "after": true } ],
57
+ "no-multi-spaces": "off",
58
+ "no-trailing-spaces": "off",
59
+ "curly": [ "error", "all" ],
60
+ "brace-style": [ "error", "1tbs", { "allowSingleLine": true } ],
61
+ "object-curly-spacing": [ "off", "always" ]
76
62
  }
77
63
  },
78
64
  "licenses": [
@@ -4,12 +4,6 @@
4
4
  "repository": "https://github.com/exercism/xfactor",
5
5
  "active": false,
6
6
  "test_pattern": "TODO",
7
-
8
- "problems": [
9
- "hello-world",
10
- "leap"
11
- ],
12
-
13
7
  "exercises": [
14
8
  {
15
9
  "slug": "hello-world",
@@ -11,7 +11,6 @@ func main() {
11
11
  t := template.New("").Funcs(template.FuncMap{
12
12
  "GroupComment": GroupComment,
13
13
  "byteSlice": byteSlice,
14
- "lengthSlice": lengthSlice,
15
14
  })
16
15
  t, err := t.Parse(tmpl)
17
16
  if err != nil {
@@ -32,11 +31,6 @@ func byteSlice(ns []uint32) []byte {
32
31
  return b
33
32
  }
34
33
 
35
- // lengthSlice returns the length of given slice.
36
- func lengthSlice(ns []uint32) int {
37
- return len(ns)
38
- }
39
-
40
34
  // The JSON structure we expect to be able to unmarshal into
41
35
  type js struct {
42
36
  Groups []TestGroup `json:"Cases"`
@@ -101,13 +95,11 @@ var decodeTestCases = []struct {
101
95
  description string
102
96
  input []byte
103
97
  output []uint32 // nil slice indicates error expected.
104
- size int
105
98
  }{ {{range .J.Groups}} {{range .Cases}}
106
99
  {{if .PropertyMatch "decode"}} {
107
100
  {{printf "%q" .Description}},
108
101
  {{byteSlice .Input | printf "%#v" }},
109
102
  {{printf "%#v" .Expected }},
110
- {{lengthSlice .Input}},
111
103
  },{{- end}}{{end}}{{end}}
112
104
  }
113
105
  `
@@ -107,55 +107,46 @@ var decodeTestCases = []struct {
107
107
  description string
108
108
  input []byte
109
109
  output []uint32 // nil slice indicates error expected.
110
- size int
111
110
  }{
112
111
 
113
112
  {
114
113
  "one byte",
115
114
  []byte{0x7f},
116
115
  []uint32{0x7f},
117
- 1,
118
116
  },
119
117
  {
120
118
  "two bytes",
121
119
  []byte{0xc0, 0x0},
122
120
  []uint32{0x2000},
123
- 2,
124
121
  },
125
122
  {
126
123
  "three bytes",
127
124
  []byte{0xff, 0xff, 0x7f},
128
125
  []uint32{0x1fffff},
129
- 3,
130
126
  },
131
127
  {
132
128
  "four bytes",
133
129
  []byte{0x81, 0x80, 0x80, 0x0},
134
130
  []uint32{0x200000},
135
- 4,
136
131
  },
137
132
  {
138
133
  "maximum 32-bit integer",
139
134
  []byte{0x8f, 0xff, 0xff, 0xff, 0x7f},
140
135
  []uint32{0xffffffff},
141
- 5,
142
136
  },
143
137
  {
144
138
  "incomplete sequence causes error",
145
139
  []byte{0xff},
146
140
  []uint32(nil),
147
- 1,
148
141
  },
149
142
  {
150
143
  "incomplete sequence causes error, even if value is zero",
151
144
  []byte{0x80},
152
145
  []uint32(nil),
153
- 1,
154
146
  },
155
147
  {
156
148
  "multiple values",
157
149
  []byte{0xc0, 0x0, 0xc8, 0xe8, 0x56, 0xff, 0xff, 0xff, 0x7f, 0x0, 0xff, 0x7f, 0x81, 0x80, 0x0},
158
150
  []uint32{0x2000, 0x123456, 0xfffffff, 0x0, 0x3fff, 0x4000},
159
- 15,
160
151
  },
161
152
  }
@@ -2,7 +2,7 @@ package variablelengthquantity
2
2
 
3
3
  import "errors"
4
4
 
5
- const testVersion = 3
5
+ const testVersion = 4
6
6
 
7
7
  var ErrUnterminatedSequence = errors.New("unterminated sequence")
8
8
 
@@ -83,19 +83,19 @@ func EncodeVarint(xa []uint32) []byte {
83
83
  // DecodeVarint decodes a buffer of var-int encoded values into
84
84
  // a slice of uint32 values; an error is returned if buf doesn't
85
85
  // decode var-int successfully.
86
- func DecodeVarint(buf []byte) (ra []uint32, n int, err error) {
86
+ func DecodeVarint(buf []byte) (ra []uint32, err error) {
87
87
  if len(buf) == 0 {
88
- return []uint32{0}, 1, nil
88
+ return []uint32{0}, nil
89
89
  }
90
90
  usedBytes := 0
91
91
  ra = make([]uint32, 0)
92
92
  for usedBytes < len(buf) {
93
93
  r, nUsed, err := decodeInt(buf[usedBytes:])
94
94
  if err != nil {
95
- return nil, usedBytes, err
95
+ return nil, err
96
96
  }
97
97
  ra = append(ra, r)
98
98
  usedBytes += nUsed
99
99
  }
100
- return ra, usedBytes, nil
100
+ return ra, nil
101
101
  }
@@ -6,7 +6,7 @@ import (
6
6
  "testing"
7
7
  )
8
8
 
9
- const targetTestVersion = 3
9
+ const targetTestVersion = 4
10
10
 
11
11
  func TestTestVersion(t *testing.T) {
12
12
  if testVersion != targetTestVersion {
@@ -16,7 +16,7 @@ func TestTestVersion(t *testing.T) {
16
16
 
17
17
  func TestDecodeVarint(t *testing.T) {
18
18
  for i, tc := range decodeTestCases {
19
- o, size, err := DecodeVarint(tc.input)
19
+ o, err := DecodeVarint(tc.input)
20
20
  if err != nil {
21
21
  var _ error = err
22
22
  if tc.output != nil {
@@ -26,8 +26,6 @@ func TestDecodeVarint(t *testing.T) {
26
26
  t.Fatalf("FAIL: case %d | %s\nexpected error, got %#v\n", i, tc.description, o)
27
27
  } else if !reflect.DeepEqual(o, tc.output) {
28
28
  t.Fatalf("FAIL: case %d | %s\nexpected\t%#v\ngot\t\t%#v\n", i, tc.description, tc.output, o)
29
- } else if size != tc.size {
30
- t.Fatalf("FAIL: case %d | %s\n expected encoding size of %d bytes\ngot %d bytes\n", i, tc.description, tc.size, size)
31
29
  }
32
30
  t.Logf("PASS: case %d | %s\n", i, tc.description)
33
31
  }
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
3
+ Copyright (c) 2017 Exercism, Inc
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -6,8 +6,3 @@ Exercism problems in Groovy
6
6
 
7
7
  Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
8
8
 
9
- ## License
10
-
11
- The MIT License (MIT)
12
-
13
- Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
data/tracks/haxe/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
3
+ Copyright (c) 2017 Exercism, Inc
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -10,11 +10,6 @@ _Document how to contribute to the Haxe track._
10
10
 
11
11
  Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
12
12
 
13
- ## License
14
-
15
- The MIT License (MIT)
16
-
17
- Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
18
13
 
19
14
  ### Haxe icon
20
15
  The Haxe logo is assumed to be owned by the Haxe Foundation, but this is not made explicit. We have adapted it, changing the colours, for use on Exercism, which we believe to fall under fair use.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Exercism, Inc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -6,11 +6,6 @@ Exercism Exercises for the Netwide Assembler.
6
6
 
7
7
  Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
8
8
 
9
- ## License
10
-
11
- The MIT License (MIT)
12
-
13
- Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
14
9
 
15
10
  ### NASM icon
16
- The NASM logo is Copyright 2012 H. Peter Anvin. We have adapted it, tweaking the colours, for use on Exercism. We are using it to identify the NASM language and platform itself, not any part of Exercism, which we believe to be admissible under fair use.
11
+ The NASM logo is Copyright 2012 H. Peter Anvin. We have adapted it, tweaking the colours, for use on Exercism. We are using it to identify the NASM language and platform itself, not any part of Exercism, which we believe to be admissible under fair use.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Exercism, Inc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/tracks/nim/README.md CHANGED
@@ -8,11 +8,6 @@ Exercism exercises in Nim
8
8
 
9
9
  Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
10
10
 
11
- ## License
12
-
13
- The MIT License (MIT)
14
-
15
- Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
16
11
 
17
12
  ### Nim icon
18
13
  The Nim logo is assumed to be owned by Andreas Rumpf. It appears to be released under the MIT license, along with the Nim codebase. We've adapted the official Nim logo by changing the colors, which we believe falls under fair use.
data/tracks/plsql/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
3
+ Copyright (c) 2017 Exercism, Inc
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -42,8 +42,3 @@ Simply uncomment and execute.
42
42
 
43
43
  Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
44
44
 
45
- ## License
46
-
47
- The MIT License (MIT)
48
-
49
- Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
@@ -4,18 +4,6 @@
4
4
  "repository": "https://github.com/exercism/xplsql",
5
5
  "active": true,
6
6
  "test_pattern": "ut.*plsql",
7
- "problems": [
8
- "hamming",
9
- "gigasecond",
10
- "rna-transcription",
11
- "raindrops",
12
- "difference-of-squares",
13
- "roman-numerals",
14
- "nth-prime",
15
- "leap",
16
- "grains",
17
- "binary"
18
- ],
19
7
  "deprecated": [
20
8
 
21
9
  ],
@@ -25,5 +13,57 @@
25
13
  ],
26
14
  "foregone": [
27
15
 
16
+ ],
17
+ "exercises": [
18
+ {
19
+ "difficulty": 1,
20
+ "slug": "hamming",
21
+ "topics": []
22
+ },
23
+ {
24
+ "difficulty": 1,
25
+ "slug": "gigasecond",
26
+ "topics": []
27
+ },
28
+ {
29
+ "difficulty": 1,
30
+ "slug": "rna-transcription",
31
+ "topics": []
32
+ },
33
+ {
34
+ "difficulty": 1,
35
+ "slug": "raindrops",
36
+ "topics": []
37
+ },
38
+ {
39
+ "difficulty": 1,
40
+ "slug": "difference-of-squares",
41
+ "topics": []
42
+ },
43
+ {
44
+ "difficulty": 1,
45
+ "slug": "roman-numerals",
46
+ "topics": []
47
+ },
48
+ {
49
+ "difficulty": 1,
50
+ "slug": "nth-prime",
51
+ "topics": []
52
+ },
53
+ {
54
+ "difficulty": 1,
55
+ "slug": "leap",
56
+ "topics": []
57
+ },
58
+ {
59
+ "difficulty": 1,
60
+ "slug": "grains",
61
+ "topics": []
62
+ },
63
+ {
64
+ "difficulty": 1,
65
+ "slug": "binary",
66
+ "topics": []
67
+ }
28
68
  ]
29
69
  }
data/tracks/pony/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
3
+ Copyright (c) 2017 Exercism, Inc
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -8,11 +8,6 @@ Exercism exercises in Pony.
8
8
 
9
9
  Please see the [contributing guide](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md).
10
10
 
11
- ## License
12
-
13
- The MIT License (MIT)
14
-
15
- Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
16
11
 
17
12
  ### Pony icon
18
13
  The icon of a pony in use here is in the public domain.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Exercism, Inc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -6,8 +6,3 @@ Exercism Exercises for Windows PowerShell
6
6
 
7
7
  Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
8
8
 
9
- ## License
10
-
11
- The MIT License (MIT)
12
-
13
- Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
3
+ Copyright (c) 2017 Exercism, Inc
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -69,12 +69,7 @@ test(hello_world_with_a_name, condition(pending)) :-
69
69
  All the tests for xProlog exercises can be run from the top level of the repo
70
70
  with `bin/build.sh`. Please run this command before submitting your PR.
71
71
 
72
- ## License
73
-
74
- The MIT License (MIT)
75
-
76
- Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
77
72
 
78
73
  ### [SWI Prolog icon](https://github.com/exercism/xprolog/tree/master/img/icon.png)
79
74
 
80
- The SWI Prolog "Owlie" logo is owned by the SWI Prolog maintainers and released under the Simplified BSD license. We have adapted it for use on Exercism, changing the colour scheme, with [the express permission of `anne@swiprolog.org`](https://github.com/exercism/xprolog/issues/1#issuecomment-283122027).
75
+ The SWI Prolog "Owlie" logo is owned by the SWI Prolog maintainers and released under the Simplified BSD license. We have adapted it for use on Exercism, changing the colour scheme, with [the express permission of `anne@swiprolog.org`](https://github.com/exercism/xprolog/issues/1#issuecomment-283122027).
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
3
+ Copyright (c) 2017 Exercism, Inc
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -73,11 +73,6 @@ explicitly described below.
73
73
  To fix a bug you should [create a pull request from a fork](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) [here](https://github.com/exercism/xpurescript/pull). See also [here](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md#git-basics) for more information.
74
74
 
75
75
 
76
- ## License
77
-
78
- The MIT License (MIT)
79
-
80
- Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
81
76
 
82
77
  ### Purescript icon
83
78
  The PureScript logo was created by Gareth Hughes, and is licensed under the [Creative Commons Attribution 4.0 license](https://creativecommons.org/licenses/by/4.0/).
@@ -1,3 +1,4 @@
1
+ require 'date'
1
2
  class Meetup
2
3
  def self.days_of_week
3
4
  [:sunday, :monday, :tuesday, :wednesday, :thursday, :friday, :saturday]
@@ -1,6 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'minitest/autorun'
3
- require 'date'
4
3
  require_relative 'meetup'
5
4
 
6
5
  # Define a class Meetup with a constructor taking a month and a year
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Exercism, Inc
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/tracks/sml/README.md CHANGED
@@ -10,9 +10,4 @@ Please see SETUP.md for instructions on how to get started solving the SML exerc
10
10
 
11
11
  Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
12
12
 
13
- ## License
14
-
15
- The MIT License (MIT)
16
-
17
- Copyright (c) 2014 Katrina Owen, _@kytrinyx.com
18
13
 
data/tracks/tcl/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
3
+ Copyright (c) 2017 Exercism, Inc
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/tracks/tcl/README.md CHANGED
@@ -10,12 +10,7 @@ _Document how to contribute to the Tcl track._
10
10
 
11
11
  Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
12
12
 
13
- ## License
14
-
15
- The MIT License (MIT)
16
-
17
- Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
18
13
 
19
14
  ### Tcl icon
20
15
  The Tcl icon was created by [Fant0men at en.wikipedia](https://en.wikipedia.org/wiki/User:Fant0men) and released under the [Creative Commons Attribution-ShareAlike 3.0 Unported](https://creativecommons.org/licenses/by-sa/3.0/) license.
21
- We adapted the icon, creating a black, pink and white version of it to use on Exercism.
16
+ We adapted the icon, creating a black, pink and white version of it to use on Exercism.
data/tracks/teco/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
3
+ Copyright (c) 2017 Exercism, Inc
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -10,9 +10,4 @@ _Document how to contribute to the TECO track._
10
10
 
11
11
  Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)
12
12
 
13
- ## License
14
-
15
- The MIT License (MIT)
16
-
17
- Copyright (c) 2016 Katrina Owen, _@kytrinyx.com
18
13