vimgolf 0.4.8 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Vimgolf
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  end
metadata CHANGED
@@ -1,86 +1,117 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vimgolf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Grigorik
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-19 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
- version: 0.14.6
22
+ version: 1.0.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: 0.14.6
32
+ version: 1.0.1
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: json_pure
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.3'
31
40
  - - ">="
32
41
  - !ruby/object:Gem::Version
33
- version: '0'
42
+ version: 2.3.1
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '2.3'
38
50
  - - ">="
39
51
  - !ruby/object:Gem::Version
40
- version: '0'
52
+ version: 2.3.1
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: highline
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '2.0'
45
60
  - - ">="
46
61
  - !ruby/object:Gem::Version
47
- version: '0'
62
+ version: 2.0.3
48
63
  type: :runtime
49
64
  prerelease: false
50
65
  version_requirements: !ruby/object:Gem::Requirement
51
66
  requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '2.0'
52
70
  - - ">="
53
71
  - !ruby/object:Gem::Version
54
- version: '0'
72
+ version: 2.0.3
55
73
  - !ruby/object:Gem::Dependency
56
74
  name: rspec
57
75
  requirement: !ruby/object:Gem::Requirement
58
76
  requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '3.7'
59
80
  - - ">="
60
81
  - !ruby/object:Gem::Version
61
- version: '0'
82
+ version: 3.7.0
62
83
  type: :development
63
84
  prerelease: false
64
85
  version_requirements: !ruby/object:Gem::Requirement
65
86
  requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.7'
66
90
  - - ">="
67
91
  - !ruby/object:Gem::Version
68
- version: '0'
92
+ version: 3.7.0
69
93
  - !ruby/object:Gem::Dependency
70
94
  name: rake
71
95
  requirement: !ruby/object:Gem::Requirement
72
96
  requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '12.3'
73
100
  - - ">="
74
101
  - !ruby/object:Gem::Version
75
- version: '0'
102
+ version: 12.3.1
76
103
  type: :development
77
104
  prerelease: false
78
105
  version_requirements: !ruby/object:Gem::Requirement
79
106
  requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '12.3'
80
110
  - - ">="
81
111
  - !ruby/object:Gem::Version
82
- version: '0'
83
- description: CLI client for vimgolf.com
112
+ version: 12.3.1
113
+ description: Real Vim ninjas count every keystroke - do you? Pick a challenge on vimgolf.com,
114
+ fire up Vim, and show us what you got.
84
115
  email:
85
116
  - ilya@igvita.com
86
117
  executables:
@@ -88,21 +119,8 @@ executables:
88
119
  extensions: []
89
120
  extra_rdoc_files: []
90
121
  files:
91
- - ".gitignore"
92
- - ".gitmodules"
93
- - ".rspec"
94
- - Gemfile
95
122
  - README.md
96
- - Rakefile
97
123
  - bin/vimgolf
98
- - emacs/CHANGELOG.md
99
- - emacs/README.md
100
- - emacs/ROADMAP.md
101
- - emacs/features/emacs.feature
102
- - emacs/features/step-definitions/emacs-steps.el
103
- - emacs/features/support/env.el
104
- - emacs/todo.org
105
- - emacs/vimgolf.el
106
124
  - lib/vimgolf.rb
107
125
  - lib/vimgolf/challenge.rb
108
126
  - lib/vimgolf/cli.rb
@@ -111,23 +129,14 @@ files:
111
129
  - lib/vimgolf/ui.rb
112
130
  - lib/vimgolf/version.rb
113
131
  - lib/vimgolf/vimgolf.vimrc
114
- - spec/challenge_spec.rb
115
- - spec/cli_spec.rb
116
- - spec/fixtures/4d19832d8ae121365c00000b.log
117
- - spec/fixtures/4d1a1c36567bac34a9000002.log
118
- - spec/fixtures/4d1a1c69567bac34a9000004.log
119
- - spec/fixtures/4d1a21e88ae121365c00000e.log
120
- - spec/fixtures/4d1a34ccfa85f32065000004.log
121
- - spec/helper.rb
122
- - spec/keylog_spec.rb
123
- - vimgolf.gemspec
124
132
  homepage: http://github.com/igrigorik/vimgolf
125
- licenses: []
133
+ licenses:
134
+ - MIT
126
135
  metadata: {}
127
136
  post_install_message: |2
128
137
 
129
138
  ------------------------------------------------------------------------------
130
- Thank you for installing vimgolf-0.4.8.
139
+ Thank you for installing vimgolf-0.4.9.
131
140
 
132
141
  0.1.3: custom vimgolf .vimrc file to help level the playing field
133
142
  0.2.0: proxy support, custom diffs + proper vimscript parser/scoring
@@ -153,17 +162,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
162
  version: '0'
154
163
  requirements: []
155
164
  rubyforge_project: vimgolf
156
- rubygems_version: 2.4.3
157
- signing_key:
165
+ rubygems_version: 2.6.11
166
+ signing_key:
158
167
  specification_version: 4
159
168
  summary: CLI client for vimgolf.com
160
- test_files:
161
- - spec/challenge_spec.rb
162
- - spec/cli_spec.rb
163
- - spec/fixtures/4d19832d8ae121365c00000b.log
164
- - spec/fixtures/4d1a1c36567bac34a9000002.log
165
- - spec/fixtures/4d1a1c69567bac34a9000004.log
166
- - spec/fixtures/4d1a21e88ae121365c00000e.log
167
- - spec/fixtures/4d1a34ccfa85f32065000004.log
168
- - spec/helper.rb
169
- - spec/keylog_spec.rb
169
+ test_files: []
data/.gitignore DELETED
@@ -1,5 +0,0 @@
1
- pkg/*
2
- *.gem
3
- .bundle
4
- /emacs/*.elc
5
- *.lock
data/.gitmodules DELETED
@@ -1,3 +0,0 @@
1
- [submodule "emacs/util/espuds"]
2
- path = emacs/util/espuds
3
- url = https://github.com/rejeep/espuds
data/.rspec DELETED
File without changes
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- # Specify your gem's dependencies in vimgolf.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,10 +0,0 @@
1
- require 'bundler'
2
- Bundler::GemHelper.install_tasks
3
-
4
- require 'rspec/core/rake_task'
5
-
6
- desc "Run all RSpec tests"
7
- RSpec::Core::RakeTask.new(:spec)
8
-
9
- task :default => :spec
10
- task :test => [:spec]
data/emacs/CHANGELOG.md DELETED
@@ -1,58 +0,0 @@
1
- ## 0.10.0
2
-
3
- 2014-08-12 Siddhanathan Shanmugam <siddhanathan@gmail.com>
4
-
5
- * vimgolf.el (vimgolf-setup): Enable JSON parsing
6
- - Allow Emacs to parse JSON content from the site
7
- - Replace yaml parser with json parser
8
- - Use 'identitiy' accept encoding header to get uncompressed data from server
9
-
10
- * vimgolf.el (vimgolf-get-text): Add function
11
- - Extracts input and output text, used in vimgolf-setup
12
-
13
- * vimgolf.el (vimgolf-retrieve-challenge): Add function
14
- - Gets JSON data from server and reads it using a buffer
15
-
16
- * vimgolf.el (vimgolf-read-next-data-chunk): Removed function
17
-
18
- ## 0.9.3
19
-
20
- 2012-07-29 Brian Zwahr (github: @echosa)
21
-
22
- * vimgolf.el
23
- - Added challenge browser
24
- - Better description
25
- - Truncated titles
26
- - Basic handling of HTML entities
27
- - Fixed showing browse list after url-retrieve
28
-
29
- * features/*
30
- - Added documentation
31
-
32
- * util/*
33
- - Added tests via ecukes
34
-
35
- ## 0.9.2
36
-
37
- 2012-02-28 Steve Purcell (@sanityinc)
38
-
39
- * vimgolf.el
40
- - changes for adding to melpa
41
-
42
- ## 0.9.1
43
-
44
- 2012-02-27 Tim Visher (@timvisher)
45
-
46
- * vimgolf.el
47
- - Use vimgolf-continue to get messages when buffers are setup
48
- - Correct indentation and add local valiables
49
- - Updating notes and adding a contributors section
50
-
51
- 2012-01-08 Adam Collard (@acollard)
52
-
53
- * vimgolf.el
54
- - Simplify vimgolf-solution-correct-p to use buffer-string
55
-
56
- ## 0.9.0 and earlier
57
-
58
- Lots of changes by Tim Visher and Steve Purcell
data/emacs/README.md DELETED
@@ -1,69 +0,0 @@
1
- # VimGolf Minor Mode Roadmap
2
-
3
- ## Features
4
-
5
- 1. Completing read of challenges by title rather than by challenge id
6
-
7
- 2. `M-x vimgolf-browse`: Dired/Ibuffer/Magit-like interface to VimGolf challenges.
8
-
9
- Bindings:
10
-
11
- - Bindings should mimic Dired/Ibuffer wherever possible. Magit is listed primarily because I want TAB to open up the long description of the challenge.
12
-
13
- At least:
14
-
15
- - n/p
16
- - ENTER/o: launch `vimgolf` with the correct arg.
17
-
18
- Interface Mockup:
19
-
20
- VimGolf in Emacs! Compete on vimgolf with the One True Editor.
21
-
22
- Sort entries based on date - Sort some entries in a Ledger-file based on date.
23
- PHP Array Syntax -> MailChimp Merge Syntax - I recently needed to send an e-m...
24
- Refactor to Helpers
25
- This Rails partial is almost all template escapes. Put it into a helper,
26
- and refactor each case to methods so we can build out the controls for
27
- each. (I've converted to tabs - fighting with Vimgolf's default config
28
- shouldn't be part of the challenge.)
29
-
30
- Alphabetize the directory - Put the contacts and their information in alphabe...
31
- PHP <--> Java class conversion Part 2 - Same class but reverse!
32
- PHP <--> Java class conversion Part 1 - Convert this tiny php class to adequa...
33
- Multiplication table. - Create a multiplication table.
34
- Complete the hex array data (Part II) - Do not use external tools(e.g. tac, s...
35
- Interweave two blocks of text - Suppose you've got data on a list of things f...
36
- .
37
- .
38
- .
39
-
40
- --------------------------------------------------------------------------------
41
-
42
- Commentary:
43
-
44
- - Tab has been pressed on the Refactor to Helpers line and thus it's been expanded.
45
-
46
- - The challenges `formatted text to markdown` and `Line Zipper` have both been completed and thus are hidden. Could provide a customization setting that turns this off completely, as well as an `M-x vimgolf-show-all` function to toggle the hiding.
47
-
48
- - Fill column has been set to 80
49
-
50
- - It would be fun if a local cache of the vimgolf data could be kept together so that you could record solutions or at least play offline.
51
-
52
- 3. Real submission to vimgolf.
53
-
54
- This could look like:
55
-
56
- Pop-open buffer
57
-
58
- You solved the formatted text to markdown challenge in 25 keystrokes! The best entry for this challenge was 23.
59
-
60
- M-x qrr ;; query-replace-regexp
61
- SPC*2 ;; self-insert-command
62
- dummy ;; self-insert-command * 5
63
- .
64
- .
65
- .
66
-
67
- Mini-buffer
68
-
69
- Submit to your solution to vimgolf? <y-or-n-predicate>
data/emacs/ROADMAP.md DELETED
@@ -1,69 +0,0 @@
1
- # VimGolf Minor Mode Roadmap
2
-
3
- ## Features
4
-
5
- 1. Completing read of challenges by title rather than by challenge id
6
-
7
- 2. `M-x vimgolf-browse`: Dired/Ibuffer/Magit-like interface to VimGolf challenges.
8
-
9
- Bindings:
10
-
11
- - Bindings should mimic Dired/Ibuffer wherever possible. Magit is listed primarily because I want TAB to open up the long description of the challenge.
12
-
13
- At least:
14
-
15
- - n/p
16
- - ENTER/o: launch `vimgolf` with the correct arg.
17
-
18
- Interface Mockup:
19
-
20
- VimGolf in Emacs! Compete on vimgolf with the One True Editor.
21
-
22
- Sort entries based on date - Sort some entries in a Ledger-file based on date.
23
- PHP Array Syntax -> MailChimp Merge Syntax - I recently needed to send an e-m...
24
- Refactor to Helpers
25
- This Rails partial is almost all template escapes. Put it into a helper,
26
- and refactor each case to methods so we can build out the controls for
27
- each. (I've converted to tabs - fighting with Vimgolf's default config
28
- shouldn't be part of the challenge.)
29
-
30
- Alphabetize the directory - Put the contacts and their information in alphabe...
31
- PHP <--> Java class conversion Part 2 - Same class but reverse!
32
- PHP <--> Java class conversion Part 1 - Convert this tiny php class to adequa...
33
- Multiplication table. - Create a multiplication table.
34
- Complete the hex array data (Part II) - Do not use external tools(e.g. tac, s...
35
- Interweave two blocks of text - Suppose you've got data on a list of things f...
36
- .
37
- .
38
- .
39
-
40
- --------------------------------------------------------------------------------
41
-
42
- Commentary:
43
-
44
- - Tab has been pressed on the Refactor to Helpers line and thus it's been expanded.
45
-
46
- - The challenges `formatted text to markdown` and `Line Zipper` have both been completed and thus are hidden. Could provide a customization setting that turns this off completely, as well as an `M-x vimgolf-show-all` function to toggle the hiding.
47
-
48
- - Fill column has been set to 80
49
-
50
- - It would be fun if a local cache of the vimgolf data could be kept together so that you could record solutions or at least play offline.
51
-
52
- 3. Real submission to vimgolf.
53
-
54
- This could look like:
55
-
56
- Pop-open buffer
57
-
58
- You solved the formatted text to markdown challenge in 25 keystrokes! The best entry for this challenge was 23.
59
-
60
- M-x qrr ;; query-replace-regexp
61
- SPC*2 ;; self-insert-command
62
- dummy ;; self-insert-command * 5
63
- .
64
- .
65
- .
66
-
67
- Mini-buffer
68
-
69
- Submit to your solution to vimgolf? <y-or-n-predicate>
@@ -1,24 +0,0 @@
1
- Feature: VimGolf Browser
2
- In order to browse and select VimGolf entries
3
- As a user
4
- I want to use the VimGolf browser
5
-
6
- Scenario: Press TAB on entry to view description
7
- Given I open the vimgolf browser
8
- Then I should not see "Continuing from the last challenge"
9
- When I press "TAB"
10
- Then I should see "Continuing from the last challenge"
11
- When I press "TAB"
12
- Then I should not see "Continuing from the last challenge"
13
-
14
- Scenario: Move through the browse list
15
- Given I open the vimgolf browser
16
- Then the cursor should be before "Compl"
17
- When I press "n"
18
- Then the cursor should be before "Make "
19
- When I press "n"
20
- Then the cursor should be before "Conve"
21
- When I press "p"
22
- Then the cursor should be before "Make "
23
- When I press "p"
24
- Then the cursor should be before "Compl"