ath_vega 0.1.12 → 0.1.14

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d4dc9e5e78ddf030c5a421f3667a4ec6dd39373fc5b60e8930383268c6d5d62
4
- data.tar.gz: 1353982d68c0aa60a6ac4eb241772b46205784f97cdecdeb3103cb97661c7c97
3
+ metadata.gz: d41e4865f084b67e74b9df66d3aaed7c23f41a1dcfc91911bb9576141c4573d5
4
+ data.tar.gz: d867be62c1988e6889c64009e40824266235511dfdc0dfaaf8a1caa705745bb4
5
5
  SHA512:
6
- metadata.gz: a00d0481c2e52c25eb82cb93dd503727222f29e6f0920f8fdb7d1da98a59182a2f59264318403ba4ddc970c08801dfb5cbd2c12e086ffb85bcc744bee5c7c1ab
7
- data.tar.gz: 381572d22abf56564066366ddf6c1c1b4af8d4438de8629772cae0b00405436788f8a941d940302fddfc26023a0411bca76fec543d47eab13fd5e75ebbd005c9
6
+ metadata.gz: a5d995a06745b88654539bf06a2d2b6fc76b10e3fe825e4c8e2dd11830b0245fc9a4970113119a9e01eba8c2c58ac22ac1347576f44c6dc090d3d0b67896e331
7
+ data.tar.gz: 8c6532fe467301300950eb198bfbaabe19b0124fd00d0725d1d4916a44cd3920a8ff4b6a639597542e9b979d8a3de03b569b8b99078d188f90c1ac4c618b5b8e
data/README.md CHANGED
@@ -26,9 +26,9 @@ This is a command line interface that uses the open source workout app, 'wger' (
26
26
 
27
27
  To run the app:
28
28
 
29
- $ bin/ath_vega
29
+ $ ath-vega
30
30
 
31
- You are then presented with a series of options for muscle groups (i.e. legs, back, etc.) to choose from. When you select a muscle, you will be presented with a list of exercises for that muscle group. Selecting an exercise adds it to the workout. Once you have selected three exercises, the terminal will output a table of your exercises.
31
+ You are then presented with a series of options for muscle groups (i.e. legs, back, etc.) to choose from. When you select a muscle, you will be presented with a list of exercises for that muscle group. Selecting an exercise adds it to the workout. Once you have selected three exercises, a table of your selected exercises will output to the terminal.
32
32
 
33
33
  ## Development
34
34
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AthVega
4
- VERSION = "0.1.12"
4
+ VERSION = "0.1.14"
5
5
  end
data/lib/vega_api.rb CHANGED
@@ -4,11 +4,7 @@ class API
4
4
  EXR_AUTH = "Authorization: Token 7f49dbc8baed11960d576e35b45fe34c060eaeab"
5
5
  EXR_WORKOUT = 'https://wger.de/api/v2/workout/?format=json'
6
6
  EXR_MAKE_WRKOUT = 'https://wger.de/api/v2/workout/?format=json'
7
-
8
- def initialize
9
-
10
- end
11
-
7
+
12
8
  def get_exercises
13
9
  exr_list = `curl --silent -H "#{EXR_AUTH}" -X GET "#{EXR_PATH}"`
14
10
  exr_list = JSON.parse(exr_list)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ath_vega
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmaud R. Templeton
@@ -210,28 +210,16 @@ description: Ath helps you plan your workout using exercises from the open sourc
210
210
  app, 'wger'.
211
211
  email:
212
212
  - ahmaud@gmail.com
213
- executables: []
213
+ executables:
214
+ - ath-vega
214
215
  extensions: []
215
216
  extra_rdoc_files: []
216
217
  files:
217
- - ".DS_Store"
218
- - ".gitignore"
219
- - ".rubocop.yml"
220
- - CHANGELOG.md
221
- - Gemfile
222
- - Gemfile.lock
223
218
  - LICENSE.txt
224
219
  - README.md
225
- - Rakefile
226
- - ath_vega-0.1.0.gem
227
- - ath_vega-0.1.01.gem
228
- - ath_vega-0.1.1.gem
229
- - ath_vega-0.1.11.gem
230
- - ath_vega.gemspec
231
220
  - bin/ath-vega
232
221
  - bin/console
233
222
  - bin/setup
234
- - config/environment.rb
235
223
  - lib/api_error.rb
236
224
  - lib/ath_vega.rb
237
225
  - lib/ath_vega/cli.rb
data/.DS_Store DELETED
Binary file
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
data/.rubocop.yml DELETED
@@ -1,13 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.4
3
-
4
- Style/StringLiterals:
5
- Enabled: true
6
- EnforcedStyle: double_quotes
7
-
8
- Style/StringLiteralsInInterpolation:
9
- Enabled: true
10
- EnforcedStyle: double_quotes
11
-
12
- Layout/LineLength:
13
- Max: 120
data/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- ## [Unreleased]
2
-
3
- ## [0.1.0] - 2021-02-22
4
-
5
- - Initial release
data/Gemfile DELETED
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- # Specify your gem's dependencies in ath_vega.gemspec
6
- gemspec
7
-
8
- gem "rake", "~> 13.0"
9
-
10
- gem "rubocop", "~> 1.7", require: false
11
- gem "json"
12
- gem "require_all"
13
- gem "pry", :groups => [:development, :test]
14
- gem "tty-prompt"
15
- gem "tty-progressbar"
16
- gem "tco"
17
- gem "rmagick"
18
- gem "catpix"
19
- gem "tty-table"
data/Gemfile.lock DELETED
@@ -1,129 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- ath_vega (0.2.0)
5
- awesome_print
6
- catpix
7
- json
8
- net-http
9
- nokogiri
10
- pry
11
- require_all
12
- rmagick
13
- tco
14
- tty-progressbar
15
- tty-prompt
16
- tty-table
17
- uri
18
-
19
- GEM
20
- remote: https://rubygems.org/
21
- specs:
22
- ast (2.4.2)
23
- awesome_print (1.8.0)
24
- catpix (0.2.0)
25
- docopt (~> 0.5, >= 0.5.0)
26
- rmagick (~> 2.15, >= 2.15.2)
27
- ruby-terminfo (~> 0.1, >= 0.1.1)
28
- tco (~> 0.1, >= 0.1.8)
29
- coderay (1.1.3)
30
- diff-lcs (1.4.4)
31
- docopt (0.6.1)
32
- json (2.5.1)
33
- method_source (1.0.0)
34
- net-http (0.1.1)
35
- net-protocol
36
- uri
37
- net-protocol (0.1.0)
38
- nokogiri (1.11.1-x86_64-darwin)
39
- racc (~> 1.4)
40
- parallel (1.20.1)
41
- parser (3.0.0.0)
42
- ast (~> 2.4.1)
43
- pastel (0.8.0)
44
- tty-color (~> 0.5)
45
- pry (0.14.0)
46
- coderay (~> 1.1)
47
- method_source (~> 1.0)
48
- racc (1.5.2)
49
- rainbow (3.0.0)
50
- rake (13.0.3)
51
- regexp_parser (2.1.1)
52
- require_all (3.0.0)
53
- rexml (3.2.4)
54
- rmagick (2.16.0)
55
- rspec (2.99.0)
56
- rspec-core (~> 2.99.0)
57
- rspec-expectations (~> 2.99.0)
58
- rspec-mocks (~> 2.99.0)
59
- rspec-core (2.99.2)
60
- rspec-expectations (2.99.2)
61
- diff-lcs (>= 1.1.3, < 2.0)
62
- rspec-mocks (2.99.4)
63
- rubocop (1.11.0)
64
- parallel (~> 1.10)
65
- parser (>= 3.0.0.0)
66
- rainbow (>= 2.2.2, < 4.0)
67
- regexp_parser (>= 1.8, < 3.0)
68
- rexml
69
- rubocop-ast (>= 1.2.0, < 2.0)
70
- ruby-progressbar (~> 1.7)
71
- unicode-display_width (>= 1.4.0, < 3.0)
72
- rubocop-ast (1.4.1)
73
- parser (>= 2.7.1.5)
74
- ruby-progressbar (1.11.0)
75
- ruby-terminfo (0.1.1)
76
- strings (0.2.0)
77
- strings-ansi (~> 0.2)
78
- unicode-display_width (~> 1.5)
79
- unicode_utils (~> 1.4)
80
- strings-ansi (0.2.0)
81
- tco (0.1.8)
82
- tty-color (0.6.0)
83
- tty-cursor (0.7.1)
84
- tty-progressbar (0.18.1)
85
- strings-ansi (~> 0.2)
86
- tty-cursor (~> 0.7)
87
- tty-screen (~> 0.8)
88
- unicode-display_width (>= 1.6, < 3.0)
89
- tty-prompt (0.23.0)
90
- pastel (~> 0.8)
91
- tty-reader (~> 0.8)
92
- tty-reader (0.9.0)
93
- tty-cursor (~> 0.7)
94
- tty-screen (~> 0.8)
95
- wisper (~> 2.0)
96
- tty-screen (0.8.1)
97
- tty-spinner (0.9.3)
98
- tty-cursor (~> 0.7)
99
- tty-table (0.12.0)
100
- pastel (~> 0.8)
101
- strings (~> 0.2.0)
102
- tty-screen (~> 0.8)
103
- unicode-display_width (1.7.0)
104
- unicode_utils (1.4.0)
105
- uri (0.10.1)
106
- wisper (2.0.1)
107
-
108
- PLATFORMS
109
- x86_64-darwin-20
110
-
111
- DEPENDENCIES
112
- ath_vega!
113
- catpix
114
- json
115
- pry
116
- rake (~> 13.0)
117
- require_all
118
- rmagick
119
- rspec (~> 2.4)
120
- rubocop (~> 1.7)
121
- tco
122
- tty-color
123
- tty-progressbar
124
- tty-prompt
125
- tty-spinner
126
- tty-table
127
-
128
- BUNDLED WITH
129
- 2.2.9
data/Rakefile DELETED
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
- require_relative './config/environment.rb'
3
-
4
- require "bundler/gem_tasks"
5
- require "rubocop/rake_task"
6
-
7
- RuboCop::RakeTask.new
8
-
9
- task default: :rubocop
data/ath_vega-0.1.0.gem DELETED
Binary file
data/ath_vega-0.1.01.gem DELETED
Binary file
data/ath_vega-0.1.1.gem DELETED
Binary file
data/ath_vega-0.1.11.gem DELETED
Binary file
data/ath_vega.gemspec DELETED
@@ -1,50 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/ath_vega/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "ath_vega"
7
- spec.version = AthVega::VERSION
8
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
9
- spec.authors = ["Ahmaud R. Templeton"]
10
- spec.email = ["ahmaud@gmail.com"]
11
- spec.summary = "workout planner."
12
- spec.description = "Ath helps you plan your workout using exercises from the open source app, 'wger'."
13
- spec.homepage = "https://github.com/ahmaudt/ath_vega"
14
- spec.license = "MIT"
15
- spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
16
-
17
- spec.metadata["allowed_push_host"] = 'http://rubygems.org'
18
-
19
- # spec.metadata["homepage_uri"] = spec.homepage
20
- spec.metadata = { "source_code_uri" => "https://github.com/ahmaudt/ath_vega" }
21
-
22
- # Specify which files should be added to the gem when it is released.
23
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
25
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
26
- end
27
- spec.bindir = "bin"
28
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
- spec.require_paths = ["lib"]
30
- spec.add_development_dependency "rspec", "~> 2.4"
31
- spec.add_dependency "nokogiri", "~> 1.11.1"
32
- spec.add_dependency "net-http", "~> 0.1.1"
33
- spec.add_dependency "uri", "~> 0.10.1"
34
- spec.add_dependency "awesome_print", "~> 1.8.0"
35
- spec.add_dependency "json", "~> 2.5.1"
36
- spec.add_dependency "require_all", "~> 3.0.0"
37
- spec.add_dependency "pry", "~> 0.14.0"
38
- spec.add_dependency "tty-progressbar", "~> 0.18.1"
39
- spec.add_dependency "tty-prompt", "~> 0.23.0"
40
- spec.add_dependency "tco", "~> 0.1.8"
41
- spec.add_dependency "rmagick", "~> 2.16.0"
42
- spec.add_dependency "catpix", "~> 0.2.0"
43
- spec.add_dependency "tty-table", "~> 0.12.0"
44
-
45
- # Uncomment to register a new dependency of your gem
46
- # spec.add_dependency "example-gem", "~> 1.0"
47
-
48
- # For more information and examples about making a new gem, checkout our
49
- # guide at: https://bundler.io/guides/creating_gem.html
50
- end
@@ -1,24 +0,0 @@
1
- require 'bundler/setup'
2
- Bundler.require(:default, :development)
3
-
4
- require "ath_vega"
5
- require "require_all"
6
- require 'net/http'
7
- require 'uri'
8
- require 'open-uri'
9
- require 'awesome_print'
10
- require 'json'
11
- require 'nokogiri'
12
- require 'pry'
13
- require 'catpix'
14
- require 'rmagick'
15
- require_relative '../lib/ath_vega'
16
- require_relative '../lib/vega_api'
17
- require_relative '../lib/workout'
18
- require_relative '../lib/exercise'
19
- require_relative '../lib/category'
20
- require_relative '../lib/cli_error'
21
- require_relative '../lib/ath_vega/cli'
22
-
23
- # require_relative '../lib/ninja-gaiden.png'
24
-