html-pipeline-task_list 0.0.2 → 0.0.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: 9854c4452024d254e5ab45bca2abd20735a71b50e4f2f9bb8662b8719c6ec144
4
- data.tar.gz: d9da57327bd882448faabd267f0ec8ef08d8e61703deaad39c81580501582d85
3
+ metadata.gz: b3fd6d68a64683fe1cbc88731e17e2a634af4bff21ea1446a39c417ac50b4fea
4
+ data.tar.gz: 8620834bc5f1d9681dc4117bc543073a685bc71c0f3748c96056ba5c4a6ca035
5
5
  SHA512:
6
- metadata.gz: 44a2d14c88504f9ba955a0a67586fa74e7d970031296205e67d5ce7e031e72e6a9dde5b77fb8adcdd5f26411d4bb01dfe664c04851308a569c5bfade733d7dac
7
- data.tar.gz: 3e0f4c16b175be9b659337f25d104622671edfb801e5d4ba4810fe420cb194d1470320e06b0c94a4a4a00364abf2e924f703b2229585395d66e72995fcbf49f0
6
+ metadata.gz: 663adab24ca248b815c2fba8150042317bdf17987acca7637660c44d95448532df688b89228c1ad59f3226c892c2a7958e09d07d608c6458384245d32475652d
7
+ data.tar.gz: bf04d32a78de494f088aadf27860d9cf53929e6ffad7ce4942738e153499fc8c5446aa05c64f8eb3b940f2d5836d7f5ecb4facee0ebb0f3cfa59f25441e9ee62
data/.circleci/config.yml CHANGED
@@ -4,13 +4,14 @@ environment: &environment
4
4
  LOG_LEVEL: WARN
5
5
  TEST_PORT: 3000
6
6
  TEST_HOST: http://localhost:3000
7
+ TEST_REPORTS: /tmp/test-reports
7
8
 
8
9
  jobs:
9
10
  functional_tests:
10
11
  working_directory: ~/repos/html-pipeline-task_list
11
12
 
12
13
  docker:
13
- - image: circleci/ruby:2.6.4-buster-node-browsers
14
+ - image: cimg/ruby:2.6.7-browsers
14
15
  environment:
15
16
  <<: *environment
16
17
 
@@ -19,7 +20,7 @@ jobs:
19
20
 
20
21
  - run:
21
22
  name: install bundler
22
- command: gem install bundler:2.1.4
23
+ command: gem install bundler:2.2.17
23
24
 
24
25
  - run:
25
26
  name: check dependencies
@@ -34,7 +35,7 @@ jobs:
34
35
 
35
36
  - run:
36
37
  name: install gems
37
- command: bundle install && bundle clean
38
+ command: bundle install
38
39
 
39
40
  - run:
40
41
  name: install packages
@@ -47,7 +48,7 @@ jobs:
47
48
  - node_modules
48
49
 
49
50
  - run:
50
- name: run functional tests
51
+ name: run ruby unit tests
51
52
  command: bundle exec rake test
52
53
 
53
54
  - run:
@@ -55,13 +56,13 @@ jobs:
55
56
  command: npm test
56
57
 
57
58
  - store_test_results:
58
- path: test_results
59
+ path: /tmp/test-results
59
60
 
60
61
  publish_to_rubygems:
61
62
  working_directory: ~/repos/html-pipeline-task_list
62
63
 
63
64
  docker:
64
- - image: circleci/ruby:2.6.4-buster-node
65
+ - image: circleci/ruby:2.6.8-buster-node
65
66
  environment:
66
67
  <<: *environment
67
68
 
@@ -69,8 +70,11 @@ jobs:
69
70
  - checkout
70
71
 
71
72
  - run:
72
- name: setup ubygems
73
- command: bash .circleci/setup-rubygems.sh
73
+ name: setup rubygems
74
+ command: |
75
+ mkdir ~/.gem
76
+ echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
77
+ chmod 0600 ~/.gem/credentials
74
78
 
75
79
  - run:
76
80
  name: publish to Rubygems
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.6.8
data/CONTRIBUTING.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Contributions Welcome!
2
2
 
3
- Hi there! We're thrilled that you'd like to contribute to this project. Before you do, would you mind reading [this license agreement](LICENSE)? If you open a PR, we'll assume you agree to it. If you have any hesitation or disagreement, please do open a PR still, but note your concerns as well.
3
+ Hi there! We're thrilled that you'd like to contribute to this project. Before you do, would you mind reading [this license agreement](LICENSE)? If you open a PR, we'll assume you agree to it. If you have any hesitation or disagreement, please do not open a PR.
4
4
 
5
5
  Once done, follow these steps:
6
6
 
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014 GitHub, Inc.
3
+ Copyright (c) 2019 Codetree, 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/README.md CHANGED
@@ -86,7 +86,12 @@ After checking out the repo, run `bundle install && npm install` to install depe
86
86
 
87
87
  To install this gem onto your local machine, run `bundle exec rake install`
88
88
 
89
- To release a new version, update run `bundle exec rake release` to create a git tag for the version. push the git commits and tags and CI will automatically push to [RubyGems.org](https://rubygems.org).
89
+ To release a new version:
90
+ 1. Update version number <ver> in `lib/html/pipeline/task_list/version.rb`
91
+ 2. Run `gem git tag -a <ver> -m 'some msg'`
92
+ 3. Run `gem push --tags`
93
+
94
+ Pushihg the git commits and tags will force CI to automatically push to [RubyGems.org](https://rubygems.org).
90
95
 
91
96
  ## Testing
92
97
  before beginning testing, be sure to run `bundle install && npm install`
@@ -95,7 +100,7 @@ Ruby unit tests can be run with `bundle exec rake test`.
95
100
  Javascript unit tests can be run with `npm test`
96
101
 
97
102
  Functional tests can be run manually in the browser. To do so:
98
- 1. run `npm run server`
103
+ 1. run `npm start`
99
104
  2. open a browser to http://localhost:3000/test/behavior.html
100
105
  3. you can also see the QUnit tests at http://localhost:4011/test/qunit.html
101
106
 
@@ -22,15 +22,14 @@ Gem::Specification.new do |gem|
22
22
 
23
23
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
24
24
 
25
- gem.add_dependency 'html-pipeline', '~> 2.12'
25
+ gem.add_dependency 'html-pipeline', '~> 2.14'
26
26
 
27
- gem.add_development_dependency 'bundler', '~> 2.1', '>= 2.1.4'
28
- gem.add_development_dependency 'commonmarker', '~> 0.21.0'
29
- gem.add_development_dependency 'github-markdown', '~> 0.6.9'
30
- gem.add_development_dependency 'guard', '~> 2.16'
27
+ gem.add_development_dependency 'bundler', '~> 2.2.17'
28
+ gem.add_development_dependency 'commonmarker', '~> 0.22.0'
29
+ gem.add_development_dependency 'guard', '~> 2.18'
31
30
  gem.add_development_dependency 'guard-minitest', '~> 2.4'
32
- gem.add_development_dependency 'guard-rubocop', '~> 1.3'
33
- gem.add_development_dependency 'json', '~> 2.3'
31
+ gem.add_development_dependency 'guard-rubocop', '~> 1.4'
32
+ gem.add_development_dependency 'json', '~> 2.5'
34
33
  gem.add_development_dependency 'minitest', '~> 5.14'
35
34
  gem.add_development_dependency 'rake', '~> 13.0'
36
35
  gem.add_development_dependency 'rubocop', '~> 0.80.1'
@@ -3,7 +3,7 @@
3
3
  module HTML
4
4
  class Pipeline
5
5
  class TaskList
6
- VERSION = '0.0.2'
6
+ VERSION = '0.0.3'
7
7
  end
8
8
  end
9
9
  end
data/package-lock.json CHANGED
@@ -218,9 +218,9 @@
218
218
  "dev": true
219
219
  },
220
220
  "jquery": {
221
- "version": "3.4.1",
222
- "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.4.1.tgz",
223
- "integrity": "sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw=="
221
+ "version": "3.6.0",
222
+ "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz",
223
+ "integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw=="
224
224
  },
225
225
  "jquery-ujs": {
226
226
  "version": "1.2.2",
@@ -433,9 +433,9 @@
433
433
  "dev": true
434
434
  },
435
435
  "ws": {
436
- "version": "6.2.1",
437
- "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz",
438
- "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==",
436
+ "version": "6.2.2",
437
+ "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz",
438
+ "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==",
439
439
  "dev": true,
440
440
  "requires": {
441
441
  "async-limiter": "~1.0.0"
data/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "repository": "https://github.com/codetre/html-pipeline-task_list",
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "jquery": "^3.4.1",
9
+ "jquery": "^3.6",
10
10
  "jquery-ujs": "^1.2.2"
11
11
  },
12
12
  "devDependencies": {
@@ -14,7 +14,7 @@
14
14
  "qunit": "^2.9.3"
15
15
  },
16
16
  "scripts": {
17
- "server": "node ./test/server.js .",
17
+ "start": "node ./test/server.js .",
18
18
  "test": "node-qunit-puppeteer ./test/qunit.html 10000 --no-sandbox"
19
19
  },
20
20
  "main": [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-pipeline-task_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codetree
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-22 00:00:00.000000000 Z
11
+ date: 2021-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-pipeline
@@ -16,76 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.12'
19
+ version: '2.14'
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.12'
26
+ version: '2.14'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.1'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 2.1.4
33
+ version: 2.2.17
37
34
  type: :development
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: '2.1'
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 2.1.4
40
+ version: 2.2.17
47
41
  - !ruby/object:Gem::Dependency
48
42
  name: commonmarker
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: 0.21.0
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 0.21.0
61
- - !ruby/object:Gem::Dependency
62
- name: github-markdown
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: 0.6.9
47
+ version: 0.22.0
68
48
  type: :development
69
49
  prerelease: false
70
50
  version_requirements: !ruby/object:Gem::Requirement
71
51
  requirements:
72
52
  - - "~>"
73
53
  - !ruby/object:Gem::Version
74
- version: 0.6.9
54
+ version: 0.22.0
75
55
  - !ruby/object:Gem::Dependency
76
56
  name: guard
77
57
  requirement: !ruby/object:Gem::Requirement
78
58
  requirements:
79
59
  - - "~>"
80
60
  - !ruby/object:Gem::Version
81
- version: '2.16'
61
+ version: '2.18'
82
62
  type: :development
83
63
  prerelease: false
84
64
  version_requirements: !ruby/object:Gem::Requirement
85
65
  requirements:
86
66
  - - "~>"
87
67
  - !ruby/object:Gem::Version
88
- version: '2.16'
68
+ version: '2.18'
89
69
  - !ruby/object:Gem::Dependency
90
70
  name: guard-minitest
91
71
  requirement: !ruby/object:Gem::Requirement
@@ -106,28 +86,28 @@ dependencies:
106
86
  requirements:
107
87
  - - "~>"
108
88
  - !ruby/object:Gem::Version
109
- version: '1.3'
89
+ version: '1.4'
110
90
  type: :development
111
91
  prerelease: false
112
92
  version_requirements: !ruby/object:Gem::Requirement
113
93
  requirements:
114
94
  - - "~>"
115
95
  - !ruby/object:Gem::Version
116
- version: '1.3'
96
+ version: '1.4'
117
97
  - !ruby/object:Gem::Dependency
118
98
  name: json
119
99
  requirement: !ruby/object:Gem::Requirement
120
100
  requirements:
121
101
  - - "~>"
122
102
  - !ruby/object:Gem::Version
123
- version: '2.3'
103
+ version: '2.5'
124
104
  type: :development
125
105
  prerelease: false
126
106
  version_requirements: !ruby/object:Gem::Requirement
127
107
  requirements:
128
108
  - - "~>"
129
109
  - !ruby/object:Gem::Version
130
- version: '2.3'
110
+ version: '2.5'
131
111
  - !ruby/object:Gem::Dependency
132
112
  name: minitest
133
113
  requirement: !ruby/object:Gem::Requirement
@@ -178,9 +158,9 @@ extensions: []
178
158
  extra_rdoc_files: []
179
159
  files:
180
160
  - ".circleci/config.yml"
181
- - ".circleci/setup-rubygems.sh"
182
161
  - ".gitignore"
183
162
  - ".rubocop.yml"
163
+ - ".ruby-version"
184
164
  - CONTRIBUTING.md
185
165
  - Gemfile
186
166
  - Guardfile
@@ -231,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
211
  - !ruby/object:Gem::Version
232
212
  version: '0'
233
213
  requirements: []
234
- rubygems_version: 3.0.3
214
+ rubygems_version: 3.0.3.1
235
215
  signing_key:
236
216
  specification_version: 4
237
217
  summary: An HTML::Pipeline filter for creating GitHub-flavored Markdown TaskLists
@@ -1,3 +0,0 @@
1
- mkdir ~/.gem
2
- echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
3
- chmod 0600 /home/circleci/.gem/credentials