run_ical 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +2 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +50 -0
- data/LICENSE.txt +21 -0
- data/README.md +47 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/run_ical +46 -0
- data/lib/run_ical.rb +49 -0
- data/lib/run_ical/data/advanced_10_k.rb +8 -0
- data/lib/run_ical/data/advanced_15_k.rb +8 -0
- data/lib/run_ical/data/advanced_5_k.rb +8 -0
- data/lib/run_ical/data/advanced_8_k.rb +0 -0
- data/lib/run_ical/data/half_marathon_advanced.rb +8 -0
- data/lib/run_ical/data/half_marathon_hm3.rb +8 -0
- data/lib/run_ical/data/half_marathon_intermediate1.rb +8 -0
- data/lib/run_ical/data/half_marathon_intermediate2.rb +8 -0
- data/lib/run_ical/data/half_marathon_novice1.rb +8 -0
- data/lib/run_ical/data/half_marathon_novice2.rb +8 -0
- data/lib/run_ical/data/hm3.rb +7 -0
- data/lib/run_ical/data/intermediate_10_k.rb +8 -0
- data/lib/run_ical/data/intermediate_15_k.rb +8 -0
- data/lib/run_ical/data/intermediate_5_k.rb +8 -0
- data/lib/run_ical/data/intermediate_8_k.rb +8 -0
- data/lib/run_ical/data/novice_10_k.rb +8 -0
- data/lib/run_ical/data/novice_15_k.rb +8 -0
- data/lib/run_ical/data/novice_5_k.rb +8 -0
- data/lib/run_ical/data/novice_5k.rb +7 -0
- data/lib/run_ical/data/novice_8_k.rb +8 -0
- data/lib/run_ical/data/walkers_5_k.rb +8 -0
- data/lib/run_ical/data/walking_10_k.rb +8 -0
- data/lib/run_ical/version.rb +3 -0
- data/run_ical.gemspec +30 -0
- metadata +152 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 666f15410c116951366e8066cdf045985877eda6
|
4
|
+
data.tar.gz: 04f63d181a789d4820bb4ce6f57e9fb0c67b5bca
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 47685563893e46ceda83b3d2dfb8c1b87da14a6d4b2ea49ae92c168c0197544085f3ecaa75c874a28e6ad0d1ac3099ea3ae315ffeb6c6072e74436e02ffb0b28
|
7
|
+
data.tar.gz: eca64343eba99a08f9c2c83cabe949bd3035f5ccd788c6ffdf8ec2fb491d13caf665ff820726b52e97d89300cfe2a552482fb79d93853fbb66bc8cfccc1b342c
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
run_ical (0.1.0)
|
5
|
+
activesupport (>= 5.0.0)
|
6
|
+
icalendar (>= 2.0.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activesupport (5.1.4)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (~> 0.7)
|
14
|
+
minitest (~> 5.1)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
concurrent-ruby (1.0.5)
|
17
|
+
diff-lcs (1.3)
|
18
|
+
i18n (0.9.1)
|
19
|
+
concurrent-ruby (~> 1.0)
|
20
|
+
icalendar (2.4.1)
|
21
|
+
minitest (5.11.1)
|
22
|
+
rake (10.5.0)
|
23
|
+
rspec (3.7.0)
|
24
|
+
rspec-core (~> 3.7.0)
|
25
|
+
rspec-expectations (~> 3.7.0)
|
26
|
+
rspec-mocks (~> 3.7.0)
|
27
|
+
rspec-core (3.7.1)
|
28
|
+
rspec-support (~> 3.7.0)
|
29
|
+
rspec-expectations (3.7.0)
|
30
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
31
|
+
rspec-support (~> 3.7.0)
|
32
|
+
rspec-mocks (3.7.0)
|
33
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
+
rspec-support (~> 3.7.0)
|
35
|
+
rspec-support (3.7.0)
|
36
|
+
thread_safe (0.3.6)
|
37
|
+
tzinfo (1.2.4)
|
38
|
+
thread_safe (~> 0.1)
|
39
|
+
|
40
|
+
PLATFORMS
|
41
|
+
ruby
|
42
|
+
|
43
|
+
DEPENDENCIES
|
44
|
+
bundler (~> 1.16)
|
45
|
+
rake (~> 10.0)
|
46
|
+
rspec (~> 3.0)
|
47
|
+
run_ical!
|
48
|
+
|
49
|
+
BUNDLED WITH
|
50
|
+
1.16.0
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Sean Cashin
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# RunIcal
|
2
|
+
|
3
|
+
Generate ical files based on Hal Higdon's training programs.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'run_ical'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install run_ical
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
The following command will return the ical file as a string:
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
RunIcal::Generator.generate(race_date: "2018-05-06", program: "Advanced5K")
|
27
|
+
```
|
28
|
+
|
29
|
+
You can also generate from the CLI interface:
|
30
|
+
|
31
|
+
```bash
|
32
|
+
run_ical --program=Advanced5K --date=2018-05-06 --file=/tmp/cal.ical
|
33
|
+
```
|
34
|
+
|
35
|
+
## Development
|
36
|
+
|
37
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
38
|
+
|
39
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
40
|
+
|
41
|
+
## Contributing
|
42
|
+
|
43
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/scashin133/run_ical.
|
44
|
+
|
45
|
+
## License
|
46
|
+
|
47
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "run_ical"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/exe/run_ical
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "run_ical"
|
4
|
+
|
5
|
+
require 'optparse'
|
6
|
+
|
7
|
+
Options = Struct.new(:date, :program, :output)
|
8
|
+
|
9
|
+
class Parser
|
10
|
+
def self.parse(options)
|
11
|
+
args = Options.new
|
12
|
+
|
13
|
+
opt_parser = OptionParser.new do |opts|
|
14
|
+
opts.banner = "Usage: run_ical [options]"
|
15
|
+
|
16
|
+
opts.on("-dDATE", "--date=DATE", "Date of race") do |date|
|
17
|
+
args.date = Date.parse(date)
|
18
|
+
end
|
19
|
+
|
20
|
+
opts.on("-pPROGRAM", "--program=PROGRAM", "Program to generate for") do |program|
|
21
|
+
args.program = program
|
22
|
+
end
|
23
|
+
|
24
|
+
opts.on("-fOUTPUT", "--file=OUTPUT", "Where to output ical to") do |output|
|
25
|
+
args.output = output
|
26
|
+
end
|
27
|
+
|
28
|
+
opts.on("-h", "--help", "Prints this help") do
|
29
|
+
puts opts
|
30
|
+
exit
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
opt_parser.parse!(options)
|
35
|
+
return args
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
options = Parser.parse ARGV
|
40
|
+
|
41
|
+
raise(ArgumentError, "Missing date") if options.date.nil?
|
42
|
+
raise(ArgumentError, "Missing Program") if options.program.nil?
|
43
|
+
|
44
|
+
File.open(options.output || "./cal.ical", "w") do |file|
|
45
|
+
file.write(RunIcal::Generator.generate(race_date: options.date, program: options.program))
|
46
|
+
end
|
data/lib/run_ical.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
require "run_ical/version"
|
2
|
+
Dir[File.expand_path("../run_ical/data/*.rb", __FILE__)].each do |file|
|
3
|
+
require file
|
4
|
+
end
|
5
|
+
|
6
|
+
require "icalendar"
|
7
|
+
|
8
|
+
module RunIcal
|
9
|
+
class Generator
|
10
|
+
def self.generate(race_date:, program:)
|
11
|
+
unless RunIcal::Data.constants.include?(program.to_sym)
|
12
|
+
raise ArgumentError, "#{program} is unsupported"
|
13
|
+
end
|
14
|
+
program = program.to_sym
|
15
|
+
new(race_date: race_date, program: program).generate
|
16
|
+
end
|
17
|
+
|
18
|
+
def initialize(race_date:, program:)
|
19
|
+
@race_date = race_date
|
20
|
+
@program = RunIcal::Data.const_get(program)
|
21
|
+
end
|
22
|
+
|
23
|
+
def generate
|
24
|
+
description = @program.const_get(:DESCRIPTION)
|
25
|
+
data = @program.const_get(:DATA)
|
26
|
+
cal = Icalendar::Calendar.new
|
27
|
+
cal.x_wr_calname = "#{description} for #{@race_date}"
|
28
|
+
start_date = @race_date - (data.size - 1).days
|
29
|
+
|
30
|
+
(start_date..@race_date).to_a.each.with_index do |date, index|
|
31
|
+
activity = data[index][:activity]
|
32
|
+
cal.event do |e|
|
33
|
+
e.dtstart = Icalendar::Values::Date.new(date)
|
34
|
+
e.dtend = Icalendar::Values::Date.new(date)
|
35
|
+
e.summary = activity
|
36
|
+
e.ip_class = "PRIVATE"
|
37
|
+
|
38
|
+
e.alarm do |a|
|
39
|
+
a.summary = activity
|
40
|
+
a.trigger = "-P1DT0H0M0S" # 1 day before
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
cal.publish
|
46
|
+
cal.to_ical
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Advanced10K
|
4
|
+
DESCRIPTION = "10-K - Advanced "
|
5
|
+
DATA = [{:activity=>"3 m run "}, {:activity=>"30 min tempo run"}, {:activity=>"6 x 400 mile pace"}, {:activity=>"3 m run "}, {:activity=>"Rest or 3 m run"}, {:activity=>"5 m total, 2 m pace"}, {:activity=>"6 m run"}, {:activity=>"3 m run "}, {:activity=>"40 min tempo run"}, {:activity=>"7 x 400 mile pace"}, {:activity=>"4 m run "}, {:activity=>"Rest or 3 m run"}, {:activity=>"5 m total, 2 m pace"}, {:activity=>"7 m run"}, {:activity=>"3 m run "}, {:activity=>"50 min tempo run"}, {:activity=>"8 x 400 mile pace"}, {:activity=>"5 m run "}, {:activity=>"Rest or 3 m run"}, {:activity=>"5 m total, 3 m pace"}, {:activity=>"8 m run (3/1)"}, {:activity=>"3 m run "}, {:activity=>"30 min tempo run"}, {:activity=>"9 x 400 mile pace"}, {:activity=>"3 m run "}, {:activity=>"Rest or 3 m run"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}, {:activity=>"3 m run "}, {:activity=>"50 min tempo run"}, {:activity=>"10 x 400 mile pace"}, {:activity=>"6 m run "}, {:activity=>"Rest or 3 m run"}, {:activity=>"6 m total, 3 m pace"}, {:activity=>"8 m run (3/1)"}, {:activity=>"3 m run "}, {:activity=>"30 min tempo run"}, {:activity=>"11 x 400 mile pace"}, {:activity=>"3 m run "}, {:activity=>"Rest or 3 m run"}, {:activity=>"Rest"}, {:activity=>"8-K Race"}, {:activity=>"3 m run "}, {:activity=>"60 min tempo run"}, {:activity=>"12 x 400 mile pace"}, {:activity=>"6 m run "}, {:activity=>"Rest or 3 m run"}, {:activity=>"6 m total, 3 m pace"}, {:activity=>"10 m run (3/1)"}, {:activity=>"3 m run "}, {:activity=>"30 min tempo run"}, {:activity=>"6 x 400 mile pace"}, {:activity=>"3 m run"}, {:activity=>"Rest or 1-3 m run"}, {:activity=>"Rest"}, {:activity=>"10-K Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Advanced15K
|
4
|
+
DESCRIPTION = "15-K - Advanced "
|
5
|
+
DATA = [{:activity=>"3 m run + strength"}, {:activity=>"30 min tempo"}, {:activity=>"6 x 400 mile pace"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest or 3 m"}, {:activity=>"3 m pace"}, {:activity=>"5 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"35 min tempo"}, {:activity=>"3 x 800 5-K pace"}, {:activity=>"4 m run + strength"}, {:activity=>"Rest or 3 m"}, {:activity=>"3 m pace"}, {:activity=>"6 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"40 min tempo"}, {:activity=>"7 x 400 mile pace"}, {:activity=>"5 m run + strength"}, {:activity=>"Rest or 3 m"}, {:activity=>"3 m pace"}, {:activity=>"7 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"30 min tempo"}, {:activity=>"4 x 800 5-K pace"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest or 3 m"}, {:activity=>"3 m pace"}, {:activity=>"5-K Race"}, {:activity=>"3 m run + strength"}, {:activity=>"40 min tempo"}, {:activity=>"8 x 400 mile pace"}, {:activity=>"4 m run + strength"}, {:activity=>"Rest or 3 m"}, {:activity=>"3 m pace"}, {:activity=>"9 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"45 min tempo"}, {:activity=>"5 x 800 5-K pace"}, {:activity=>"5 m run + strength"}, {:activity=>"Rest or 3 m"}, {:activity=>"3 m pace"}, {:activity=>"10 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"30 min tempo"}, {:activity=>"9 x 400 mile pace"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest or 3 m"}, {:activity=>"3 m pace"}, {:activity=>"10-K Race"}, {:activity=>"3 m run + strength"}, {:activity=>"40 min tempo"}, {:activity=>"6 x 800 5-K pace"}, {:activity=>"4 m run + strength"}, {:activity=>"Rest or 3 m"}, {:activity=>"3 m pace"}, {:activity=>"12 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"45 min tempo"}, {:activity=>"10 x 400 mile pace"}, {:activity=>"5 m run + strength"}, {:activity=>"Rest or 3 m"}, {:activity=>"3 m pace"}, {:activity=>"13 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"30 min tempo"}, {:activity=>"3 x 800 5-K pace"}, {:activity=>"2 m run + strength"}, {:activity=>"1-2 m run"}, {:activity=>"Rest"}, {:activity=>"15-K Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Advanced5K
|
4
|
+
DESCRIPTION = "5-K : Advanced"
|
5
|
+
DATA = [{:activity=>"3 m run"}, {:activity=>"5 x 400"}, {:activity=>"Rest or easy run"}, {:activity=>"30 min tempo"}, {:activity=>"Rest"}, {:activity=>"4 m fast"}, {:activity=>"60 min run"}, {:activity=>"3 m run"}, {:activity=>"8 x 200"}, {:activity=>"Rest or easy run"}, {:activity=>"30 min tempo"}, {:activity=>"Rest"}, {:activity=>"4 m fast"}, {:activity=>"65 min run"}, {:activity=>"3 m run"}, {:activity=>"6 x 400"}, {:activity=>"Rest or easy run"}, {:activity=>"35 min tempo"}, {:activity=>"Rest"}, {:activity=>"5 m fast"}, {:activity=>"70 min run"}, {:activity=>"3 m run"}, {:activity=>"9 x 200"}, {:activity=>"Rest or easy run"}, {:activity=>"35 min tempo"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"5-K Test"}, {:activity=>"3 m run"}, {:activity=>"7 x 400"}, {:activity=>"Rest or easy run"}, {:activity=>"40 min tempo"}, {:activity=>"Rest"}, {:activity=>"5 m fast"}, {:activity=>"75 min run"}, {:activity=>"3 m run"}, {:activity=>"10 x 200"}, {:activity=>"Rest or easy run"}, {:activity=>"40 min tempo"}, {:activity=>"Rest"}, {:activity=>"6 m fast"}, {:activity=>"85 min run"}, {:activity=>"3 m run"}, {:activity=>"8 x 400"}, {:activity=>"Rest or easy run"}, {:activity=>"45 min tempo"}, {:activity=>"Rest"}, {:activity=>"6 m fast"}, {:activity=>"90 min run"}, {:activity=>"2 m run"}, {:activity=>"6 x 200"}, {:activity=>"30 min tempo"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
File without changes
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class HalfMarathonAdvanced
|
4
|
+
DESCRIPTION = "Half Marathon - Advanced "
|
5
|
+
DATA = [{:activity=>"3 m run"}, {:activity=>"6 x hill"}, {:activity=>"3 m run"}, {:activity=>"40 min tempo"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"90 min run (3/1)"}, {:activity=>"3 m run"}, {:activity=>"7 x 400 5-K pace"}, {:activity=>"3 m run"}, {:activity=>"45 min tempo"}, {:activity=>"Rest"}, {:activity=>"3 m pace"}, {:activity=>"90 min run"}, {:activity=>"3 m run"}, {:activity=>"7 x hill"}, {:activity=>"3 m run"}, {:activity=>"30 min tempo"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}, {:activity=>"3 m run"}, {:activity=>"8 x 400 5-K pace"}, {:activity=>"3 m run"}, {:activity=>"40 min tempo"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"90 min run (3/1)"}, {:activity=>"3 m run"}, {:activity=>"8 x hill"}, {:activity=>"3 m run"}, {:activity=>"45 min tempo"}, {:activity=>"Rest"}, {:activity=>"3 m pace"}, {:activity=>"90 min run"}, {:activity=>"3 m run"}, {:activity=>"8 x 400 5-K pace"}, {:activity=>"3 m run"}, {:activity=>"30 min tempo"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"10-K Race"}, {:activity=>"3 m run"}, {:activity=>"4 x 800 10-K pace"}, {:activity=>"3 m run"}, {:activity=>"45 min tempo"}, {:activity=>"Rest"}, {:activity=>"4 m pace"}, {:activity=>"1:45 run (3/1)"}, {:activity=>"3 m run"}, {:activity=>"3 x 1600 race pace"}, {:activity=>"3 m run"}, {:activity=>"50 min tempo"}, {:activity=>"Rest"}, {:activity=>"5 m pace"}, {:activity=>"1:45 run"}, {:activity=>"3 m run"}, {:activity=>"5 x 800 10-K pace"}, {:activity=>"3 m run"}, {:activity=>"30 min tempo"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"15-K Race"}, {:activity=>"3 m run"}, {:activity=>"4 x 1600 race pace"}, {:activity=>"3 m run"}, {:activity=>"55 min tempo"}, {:activity=>"Rest"}, {:activity=>"5 m pace"}, {:activity=>"2:00 run (3/1)"}, {:activity=>"3 m run"}, {:activity=>"6 x 800 10-K pace"}, {:activity=>"3 m run"}, {:activity=>"60 min tempo"}, {:activity=>"Rest"}, {:activity=>"3 m pace"}, {:activity=>"2:00 run"}, {:activity=>"3 m run"}, {:activity=>"6 x 400 5-K pace"}, {:activity=>"2 m run"}, {:activity=>"30 min tempo"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"Half Marathon"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class HalfMarathonHM3
|
4
|
+
DESCRIPTION = "Half Marathon - HM3"
|
5
|
+
DATA = [{:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>" 6 m run"}, {:activity=>"30 min cross"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"35 min cross"}, {:activity=>"30 min trempo"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"35 min cross"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"40 min cross"}, {:activity=>"3 m pace"}, {:activity=>"Rest"}, {:activity=>"7 m run"}, {:activity=>"40 min cross"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"45 min cross"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"7 m run"}, {:activity=>"45 min cross"}, {:activity=>"Rests"}, {:activity=>"4 m run"}, {:activity=>"50 min cross"}, {:activity=>"40 min tempo"}, {:activity=>"Rest"}, {:activity=>"8 m run"}, {:activity=>"50 min cross"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m pace"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"50 min cross"}, {:activity=>"5 m run"}, {:activity=>"Rest"}, {:activity=>"9 m run"}, {:activity=>"50 min cross"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"50 min cross"}, {:activity=>"50 min tempo"}, {:activity=>"Rest"}, {:activity=>"9 m run"}, {:activity=>"50 min cross"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m pace"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"10-K Race"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"60 min cross"}, {:activity=>"6 m run"}, {:activity=>"Rest"}, {:activity=>"10 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"60 min cross"}, {:activity=>"60 min tempo"}, {:activity=>"Rest"}, {:activity=>"10 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m pace"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"Half Marathon"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class HalfMarathonIntermediate1
|
4
|
+
DESCRIPTION = "Half Marathon - Intermediate 1"
|
5
|
+
DATA = [{:activity=>"30 min cross"}, {:activity=>"3 m run"}, {:activity=>"4 m run"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m run"}, {:activity=>"4 m pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"3 m pace"}, {:activity=>"5 m run"}, {:activity=>"40 min cross"}, {:activity=>"3.5 m run"}, {:activity=>"5 m run"}, {:activity=>"3.5 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"40 min cross"}, {:activity=>"3.5 m run"}, {:activity=>"5 m pace"}, {:activity=>"3.5 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"7 m run"}, {:activity=>"40 min cross"}, {:activity=>"4 m run"}, {:activity=>"6 m run"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"3 m pace"}, {:activity=>"8 m run"}, {:activity=>"50 min cross"}, {:activity=>"4 m run"}, {:activity=>"6 m pace"}, {:activity=>"4 m run"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}, {:activity=>"Rest"}, {:activity=>"4.5 m run"}, {:activity=>"7 m run"}, {:activity=>"4.5 m run"}, {:activity=>"Rest"}, {:activity=>"4 m pace"}, {:activity=>"9 m run"}, {:activity=>"50 min cross"}, {:activity=>"4.5 m run"}, {:activity=>"7 m pace"}, {:activity=>"4.5 m run"}, {:activity=>"Rest"}, {:activity=>"5 m pace"}, {:activity=>"10 m run"}, {:activity=>"60 min cross"}, {:activity=>"5 m run"}, {:activity=>"8 m run"}, {:activity=>"5 m run"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"10-K Race"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"8 m pace"}, {:activity=>"5 m run"}, {:activity=>"Rest"}, {:activity=>"5 m pace"}, {:activity=>"11 m run"}, {:activity=>"60 min cross"}, {:activity=>"5 m run"}, {:activity=>"6 m run"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"3 m pace"}, {:activity=>"12 m run"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"4 m pace"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"Half Marathon"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class HalfMarathonIntermediate2
|
4
|
+
DESCRIPTION = "Half Marathon - Intermediate 2"
|
5
|
+
DATA = [{:activity=>"30 min cross"}, {:activity=>"3 m run"}, {:activity=>"5 x 400 5-K pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"5 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m run"}, {:activity=>"30 min tempo"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"3 m pace"}, {:activity=>"6 m run"}, {:activity=>"40 min cross"}, {:activity=>"3.5 m run"}, {:activity=>"6 x 400 5-K pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}, {:activity=>"40 min cross"}, {:activity=>"3.5 m run"}, {:activity=>"35 min tempo"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"7 m run"}, {:activity=>"40 min cross"}, {:activity=>"4 m run"}, {:activity=>"7 x 400 5-K pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"3 m pace"}, {:activity=>"8 m run"}, {:activity=>"50 min cross"}, {:activity=>"4 m run"}, {:activity=>"40 min tempo"}, {:activity=>"3 m run"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"10-K Race"}, {:activity=>"Rest"}, {:activity=>"4.5 m run"}, {:activity=>"8 x 400 5-K pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"4 m pace"}, {:activity=>"9 m run"}, {:activity=>"50 min cross"}, {:activity=>"4.5 m run"}, {:activity=>"40 min tempo"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"5 m pace"}, {:activity=>"10 m run"}, {:activity=>"60 min cross"}, {:activity=>"5 m run"}, {:activity=>"9 x 400 5-K pace"}, {:activity=>"3 m run"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"15-K Race"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"45 min tempo"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"5 m pace"}, {:activity=>"11 m run"}, {:activity=>"60 min cross"}, {:activity=>"5 m run"}, {:activity=>"10 x 400 5-K pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"3 m pace"}, {:activity=>"12 m run"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min tempo"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"Half Marathon"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class HalfMarathonNovice1
|
4
|
+
DESCRIPTION = "Half Marathon - Novice 1 "
|
5
|
+
DATA = [{:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"2 m run or cross"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"30 min cross"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"2 m run or cross"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"30 min cross"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"3.5 m run"}, {:activity=>"2 m run or cross"}, {:activity=>"3.5 m run"}, {:activity=>"Rest"}, {:activity=>"40 min cross"}, {:activity=>"5 m run"}, {:activity=>"Rest"}, {:activity=>"3.5 m run"}, {:activity=>"2 m run or cross"}, {:activity=>"3.5 m run"}, {:activity=>"Rest"}, {:activity=>"40 min cross"}, {:activity=>"5 m run"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"2 m run or cross"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"40 min cross"}, {:activity=>"6 m run"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"2 m run or cross"}, {:activity=>"4 m run"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}, {:activity=>"Rest"}, {:activity=>"4.5 m run"}, {:activity=>"3 m run or cross"}, {:activity=>"4.5 m run"}, {:activity=>"Rest"}, {:activity=>"50 min cross"}, {:activity=>"7 m run"}, {:activity=>"Rest"}, {:activity=>"4.5 m run"}, {:activity=>"3 m run or cross"}, {:activity=>"4.5 m run"}, {:activity=>"Rest"}, {:activity=>"50 min cross"}, {:activity=>"8 m run"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"3 m run or cross"}, {:activity=>"5 m run"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"10-K Race"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"3 m run or cross"}, {:activity=>"5 m run"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"9 m run"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"3 m run or cross"}, {:activity=>"5 m run "}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"10 m run"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"3 m run or cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"Half Marathon"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class HalfMarathonNovice2
|
4
|
+
DESCRIPTION = "Half Marathon - Novice 2 "
|
5
|
+
DATA = [{:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"3 m run"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"3 m pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"4 m run"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"4 m pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"7 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"4 m run"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"8 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"4 m pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"5 m run"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"9 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"5 m pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"10 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"5 m run"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"10-K Race"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"5 m pace"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"11 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"5 m run"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"12 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"2 m pace"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"Half Marathon"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Hm3
|
4
|
+
DATA = [{:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"30 min cross"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"35 min cross"}, {:activity=>"30 min trempo"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"35 min cross"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"40 min cross"}, {:activity=>"3 m pace"}, {:activity=>"Rest"}, {:activity=>"7 m run"}, {:activity=>"40 min cross"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"45 min cross"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"7 m run"}, {:activity=>"45 min cross"}, {:activity=>"Rests"}, {:activity=>"4 m run"}, {:activity=>"50 min cross"}, {:activity=>"40 min tempo"}, {:activity=>"Rest"}, {:activity=>"8 m run"}, {:activity=>"50 min cross"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m pace"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"50 min cross"}, {:activity=>"5 m run"}, {:activity=>"Rest"}, {:activity=>"9 m run"}, {:activity=>"50 min cross"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"50 min cross"}, {:activity=>"50 min tempo"}, {:activity=>"Rest"}, {:activity=>"9 m run"}, {:activity=>"50 min cross"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m pace"}, {:activity=>"Rest or easy run"}, {:activity=>"Rest"}, {:activity=>"10-K Race"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"60 min cross"}, {:activity=>"6 m run"}, {:activity=>"Rest"}, {:activity=>"10 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"60 min cross"}, {:activity=>"60 min tempo"}, {:activity=>"Rest"}, {:activity=>"10 m run"}, {:activity=>"60 min cross"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"3 m pace"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"Half Marathon"}]
|
5
|
+
end
|
6
|
+
end
|
7
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Intermediate10K
|
4
|
+
DESCRIPTION = "10-K - Intermediate "
|
5
|
+
DATA = [{:activity=>"3 m run"}, {:activity=>"3 m run"}, {:activity=>"35 min tempo run"}, {:activity=>"3 m run "}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"4 m run"}, {:activity=>"3 m run"}, {:activity=>"3.5 m run"}, {:activity=>"8 x 400 5-K pace"}, {:activity=>"4 m run "}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"5 m run"}, {:activity=>"3 m run"}, {:activity=>"4 m run"}, {:activity=>"40 min tempo run"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"6 m run"}, {:activity=>"3 m run"}, {:activity=>"4.5 m run"}, {:activity=>"9 x 400 5-K pace"}, {:activity=>"4 m run"}, {:activity=>"Rest "}, {:activity=>"Rest"}, {:activity=>"5-K Race"}, {:activity=>"3 m run"}, {:activity=>"5 m run"}, {:activity=>"45 min tempo run"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"6 m run"}, {:activity=>"3 m run"}, {:activity=>"5.5 m run"}, {:activity=>"10 x 400 5-K pace"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"7 m run"}, {:activity=>"3 m run"}, {:activity=>"6 m run"}, {:activity=>"50 min tempo run"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"8 m run"}, {:activity=>"3 m run "}, {:activity=>"3 m run"}, {:activity=>" 5 x 400 5-K pace"}, {:activity=>"1-3 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"10-K Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Intermediate15K
|
4
|
+
DESCRIPTION = "15-K - Intermediate "
|
5
|
+
DATA = [{:activity=>"3 m run + strength"}, {:activity=>"4 m run"}, {:activity=>"4 x 800 5-K pace"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"60 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"5 m run"}, {:activity=>"30 min tempo"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"7 m run"}, {:activity=>"60 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"6 m run"}, {:activity=>"5 x 800 5-K pace"}, {:activity=>"4 m run + strength"}, {:activity=>"Rest"}, {:activity=>"8 m run"}, {:activity=>"60 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"4 m run"}, {:activity=>"35 min tempo"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"5-K Race"}, {:activity=>"3 m run + strength"}, {:activity=>"5 m run"}, {:activity=>"6 x 800 5-K pace"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"7 m run"}, {:activity=>"60 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"6 m run"}, {:activity=>"40 min tempo"}, {:activity=>"4 m run + strength"}, {:activity=>"Rest"}, {:activity=>"8 m run"}, {:activity=>"60 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"4 m run"}, {:activity=>"7 x 800 5-K pace"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"10-K Race"}, {:activity=>"3 m run + strength"}, {:activity=>"5 m run"}, {:activity=>"45 min tempo"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"9 m run"}, {:activity=>"60 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"6 m run"}, {:activity=>"8 x 800 5-K pace"}, {:activity=>"4 m run + strength"}, {:activity=>"Rest"}, {:activity=>"10 m run"}, {:activity=>"60 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"4 m run"}, {:activity=>"30 min tempo"}, {:activity=>"4 m run"}, {:activity=>"1-2 m run"}, {:activity=>"Rest"}, {:activity=>"15-K Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Intermediate5K
|
4
|
+
DESCRIPTION = "5-K : Intermediate"
|
5
|
+
DATA = [{:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"5 x 400"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"5 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"30 min tempo"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"3 m fast"}, {:activity=>"5 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"6 x 400"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"6 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"35 min tempo"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"5-K Test"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"7 x 400"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"4 m fast"}, {:activity=>"6 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"40 min tempo"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"7 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"8 x 400"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"5 m fast"}, {:activity=>"7 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"30 min tempo"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Intermediate8K
|
4
|
+
DESCRIPTION = "8-K - Intermediate "
|
5
|
+
DATA = [{:activity=>"3 m run + strength"}, {:activity=>"3 m run"}, {:activity=>"30 min tempo run"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"4 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"3.5 m run"}, {:activity=>"6 x 400 5-K pce"}, {:activity=>"4 m run + strength"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"5 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"4 m run"}, {:activity=>"35 min tempo run"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"3 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"4.5 m run"}, {:activity=>"7 x 400 5-K pace"}, {:activity=>"4 m run + strength"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"5 m run\r\n "}, {:activity=>"3 m run + strength"}, {:activity=>"5.0 m run"}, {:activity=>"40 min tempo run"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"6 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"5.5 m run"}, {:activity=>"8 x 400 5-K pace"}, {:activity=>"4 m run + strength"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"4 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"6 m run"}, {:activity=>"45 min tempo run"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"7 m run"}, {:activity=>"3 m run + strength"}, {:activity=>"3 m run"}, {:activity=>"4 x 400 5-K pace"}, {:activity=>"1-3 m run"}, {:activity=>"Rest"}, {:activity=>"Rest or 60 min cross"}, {:activity=>"8-K \r\n Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Novice10K
|
4
|
+
DESCRIPTION = "10-K - Novice "
|
5
|
+
DATA = [{:activity=>"Rest"}, {:activity=>"2.5 m run"}, {:activity=>"30 min cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"40 min cross"}, {:activity=>"3 m run"}, {:activity=>"Rest"}, {:activity=>"2.5 m run"}, {:activity=>"30 min cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"40 min cross"}, {:activity=>"3.5 m run"}, {:activity=>"Rest"}, {:activity=>"2.5 m run"}, {:activity=>"35 min cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"50 min cross"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"35 min cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"50 min cross"}, {:activity=>"4 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"40 min cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"4.5 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"40 min cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"5 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"45 min cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"5.5 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"30 min cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"10-K Run\r\n\t\t\t "}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Novice15K
|
4
|
+
DESCRIPTION = "15-K - Novice "
|
5
|
+
DATA = [{:activity=>"Stretch & strengthen"}, {:activity=>"2 m run"}, {:activity=>"30 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"2 m run"}, {:activity=>"30 min cross"}, {:activity=>"Stretch & strengthen"}, {:activity=>"3 m run"}, {:activity=>"30 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"30 min cross"}, {:activity=>"Stretch & strengthen"}, {:activity=>"3 m run"}, {:activity=>"35 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"30 min cross"}, {:activity=>"Stretch & strengthen"}, {:activity=>"2 m run"}, {:activity=>"35 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"2 m run"}, {:activity=>"40 min cross"}, {:activity=>"Stretch & strengthen"}, {:activity=>"4 m run"}, {:activity=>"40 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"5 m run"}, {:activity=>"40 min cross"}, {:activity=>"Stretch & strengthen"}, {:activity=>"4 m run"}, {:activity=>"40 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"6 m run"}, {:activity=>"50 min cross"}, {:activity=>"Stretch & strengthen"}, {:activity=>"3 m run"}, {:activity=>"45 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"4 m run"}, {:activity=>"50 min cross"}, {:activity=>"Stretch & strengthen"}, {:activity=>"5 m run"}, {:activity=>"45 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"7 m run"}, {:activity=>"60 min cross"}, {:activity=>"Stretch & strengthen"}, {:activity=>"5 m run"}, {:activity=>"45 min cross"}, {:activity=>"3 m run + strength"}, {:activity=>"Rest"}, {:activity=>"8 m run"}, {:activity=>"60 min cross"}, {:activity=>"Stretch & strengthen"}, {:activity=>"3 m run"}, {:activity=>"30 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"2 m run or rest"}, {:activity=>"Rest"}, {:activity=>"15-K Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Novice5K
|
4
|
+
DESCRIPTION = "5-K : Novice"
|
5
|
+
DATA = [{:activity=>"Rest or run/walk"}, {:activity=>"1.5 m run"}, {:activity=>"Rest or run/walk"}, {:activity=>"1.5 m run"}, {:activity=>"Rest"}, {:activity=>"1.5 m run"}, {:activity=>"30 min walk"}, {:activity=>"Rest or run/walk"}, {:activity=>"1.75 m run"}, {:activity=>"Rest or run/walk"}, {:activity=>"1.5 m run"}, {:activity=>"Rest"}, {:activity=>"1.75 m run"}, {:activity=>"35 min walk"}, {:activity=>"Rest or run/walk"}, {:activity=>"2 m run"}, {:activity=>"Rest or run/walk"}, {:activity=>"1.5 m run"}, {:activity=>"Rest"}, {:activity=>"2 m run"}, {:activity=>"40 min walk"}, {:activity=>"Rest or run/walk"}, {:activity=>"2.25 m run"}, {:activity=>"Rest or run/walk"}, {:activity=>"1.5 m run"}, {:activity=>"Rest"}, {:activity=>"2.25 m run"}, {:activity=>"45 min walk"}, {:activity=>"Rest or run/walk"}, {:activity=>"2.5 m run"}, {:activity=>"Rest or run/walk"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"2.5 m run"}, {:activity=>"50 min walk"}, {:activity=>"Rest or run/walk"}, {:activity=>"2.75 m run"}, {:activity=>"Rest or run/walk"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"2.75 m run"}, {:activity=>"55 min walk"}, {:activity=>"Rest or run/walk"}, {:activity=>"3 m run"}, {:activity=>"Rest or run/walk"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"3 m run"}, {:activity=>"60 min walk"}, {:activity=>"Rest or run/walk"}, {:activity=>"3 m run"}, {:activity=>"Rest or run/walk"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Novice5k
|
4
|
+
DATA = [{"activity":"Rest or run/walk"},{"activity":"1.5 m run"},{"activity":"Rest or run/walk"},{"activity":"1.5 m run"},{"activity":"Rest"},{"activity":"1.5 m run"},{"activity":"30 min walk"},{"activity":"Rest or run/walk"},{"activity":"1.75 m run"},{"activity":"Rest or run/walk"},{"activity":"1.5 m run"},{"activity":"Rest"},{"activity":"1.75 m run"},{"activity":"35 min walk"},{"activity":"Rest or run/walk"},{"activity":"2 m run"},{"activity":"Rest or run/walk"},{"activity":"1.5 m run"},{"activity":"Rest"},{"activity":"2 m run"},{"activity":"40 min walk"},{"activity":"Rest or run/walk"},{"activity":"2.25 m run"},{"activity":"Rest or run/walk"},{"activity":"1.5 m run"},{"activity":"Rest"},{"activity":"2.25 m run"},{"activity":"45 min walk"},{"activity":"Rest or run/walk"},{"activity":"2.5 m run"},{"activity":"Rest or run/walk"},{"activity":"2 m run"},{"activity":"Rest"},{"activity":"2.5 m run"},{"activity":"50 min walk"},{"activity":"Rest or run/walk"},{"activity":"2.75 m run"},{"activity":"Rest or run/walk"},{"activity":"2 m run"},{"activity":"Rest"},{"activity":"2.75 m run"},{"activity":"55 min walk"},{"activity":"Rest or run/walk"},{"activity":"3 m run"},{"activity":"Rest or run/walk"},{"activity":"2 m run"},{"activity":"Rest"},{"activity":"3 m run"},{"activity":"60 min walk"},{"activity":"Rest or run/walk"},{"activity":"3 m run"},{"activity":"Rest or run/walk"},{"activity":"2 m run"},{"activity":"Rest"},{"activity":"Rest"},{"activity":"5-K Race"}]
|
5
|
+
end
|
6
|
+
end
|
7
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Novice8K
|
4
|
+
DESCRIPTION = "8-K - Novice "
|
5
|
+
DATA = [{:activity=>"Stretch & strength"}, {:activity=>"2 m run"}, {:activity=>"30 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"30 min cross"}, {:activity=>"2 m run"}, {:activity=>"Stretch & strength"}, {:activity=>"2 m run"}, {:activity=>"30 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"30 min cross"}, {:activity=>"2.5 m run"}, {:activity=>"Stretch & strength"}, {:activity=>"2.5 m run"}, {:activity=>"35 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"40 min cross"}, {:activity=>"3 m run"}, {:activity=>"Stretch & strength"}, {:activity=>"2.5 m run"}, {:activity=>"35 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"40 min cross"}, {:activity=>"3.5 m run\r\n "}, {:activity=>"Stretch & strength"}, {:activity=>"2.5 m run"}, {:activity=>"40 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"50 min cross"}, {:activity=>"4 m run"}, {:activity=>"Stretch & strength"}, {:activity=>"3 m run"}, {:activity=>"40 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"50 min cross"}, {:activity=>"4 m run"}, {:activity=>"Stretch & strength"}, {:activity=>"3 m run"}, {:activity=>"45 min cross"}, {:activity=>"2 m run + strength"}, {:activity=>"Rest"}, {:activity=>"60 min cross"}, {:activity=>"4.5 m run"}, {:activity=>"Stretch & strength"}, {:activity=>"3 m run"}, {:activity=>"30 min cross"}, {:activity=>"2 m run"}, {:activity=>"Rest"}, {:activity=>"Rest or 60 min cross"}, {:activity=>"Rest"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Walkers5K
|
4
|
+
DESCRIPTION = "5-K - Walkers "
|
5
|
+
DATA = [{:activity=>"Rest or walk"}, {:activity=>"15 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"15 min walk"}, {:activity=>"Rest"}, {:activity=>"1.5 m walk"}, {:activity=>"30-60 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"15 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"15 min walk"}, {:activity=>"Rest"}, {:activity=>"1.75 m walk"}, {:activity=>"35-60 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"20 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"20 min walk"}, {:activity=>"Rest"}, {:activity=>"2 m walk"}, {:activity=>"40-60 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"20 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"20 min walk"}, {:activity=>"Rest"}, {:activity=>"2.25 m walk"}, {:activity=>"45-60 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"25 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"25 min walk"}, {:activity=>"Rest"}, {:activity=>"2.5 m walk"}, {:activity=>"50-60 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"25 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"25 min walk"}, {:activity=>"Rest"}, {:activity=>"2.75 m walk"}, {:activity=>"55-60 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"30 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"30 min walk"}, {:activity=>"Rest"}, {:activity=>"3 m walk"}, {:activity=>"60 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"30 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"30 min walk"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"5-K Race"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module RunIcal
|
2
|
+
module Data
|
3
|
+
class Walking10K
|
4
|
+
DESCRIPTION = "10-K - Walking "
|
5
|
+
DATA = [{:activity=>"Rest or walk"}, {:activity=>"30 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"30 min walk"}, {:activity=>"Rest"}, {:activity=>"3 m walk"}, {:activity=>"45-90 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"35 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"35 min walk"}, {:activity=>"Rest"}, {:activity=>"3.5 m walk"}, {:activity=>"55-90 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"40 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"40 min walk"}, {:activity=>"Rest"}, {:activity=>"4 m walk"}, {:activity=>"65-90 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"45 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"45 min walk"}, {:activity=>"Rest"}, {:activity=>"4.5 m walk"}, {:activity=>"75-90 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"50 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"50 min walk"}, {:activity=>"Rest"}, {:activity=>"5 m walk"}, {:activity=>"80-90 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"55 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"55 min walk"}, {:activity=>"Rest"}, {:activity=>"5.5 m walk"}, {:activity=>"85-90 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"60 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"60 min walk"}, {:activity=>"Rest"}, {:activity=>"6 m walk"}, {:activity=>"90 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"30 min walk"}, {:activity=>"Rest or walk"}, {:activity=>"30 min walk"}, {:activity=>"Rest"}, {:activity=>"Rest"}, {:activity=>"10-K Walk"}]
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
data/run_ical.gemspec
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "run_ical/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "run_ical"
|
8
|
+
spec.version = RunIcal::VERSION
|
9
|
+
spec.authors = ["Sean Cashin"]
|
10
|
+
spec.email = ["scashin133@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Generate an ical file for a race}
|
13
|
+
spec.description = %q{Uses Hal Higdon's plans for creating a calendar}
|
14
|
+
spec.homepage = "https://github.com/scashin133/run_ical"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
spec.bindir = "exe"
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
+
spec.require_paths = ["lib"]
|
23
|
+
|
24
|
+
spec.add_dependency "icalendar", ">= 2.0.0"
|
25
|
+
spec.add_dependency "activesupport", ">= 5.0.0"
|
26
|
+
|
27
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
28
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
29
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: run_ical
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sean Cashin
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-01-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: icalendar
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 5.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 5.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.16'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.16'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
description: Uses Hal Higdon's plans for creating a calendar
|
84
|
+
email:
|
85
|
+
- scashin133@gmail.com
|
86
|
+
executables:
|
87
|
+
- run_ical
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- ".gitignore"
|
92
|
+
- ".rspec"
|
93
|
+
- ".rubocop.yml"
|
94
|
+
- ".travis.yml"
|
95
|
+
- Gemfile
|
96
|
+
- Gemfile.lock
|
97
|
+
- LICENSE.txt
|
98
|
+
- README.md
|
99
|
+
- Rakefile
|
100
|
+
- bin/console
|
101
|
+
- bin/setup
|
102
|
+
- exe/run_ical
|
103
|
+
- lib/run_ical.rb
|
104
|
+
- lib/run_ical/data/advanced_10_k.rb
|
105
|
+
- lib/run_ical/data/advanced_15_k.rb
|
106
|
+
- lib/run_ical/data/advanced_5_k.rb
|
107
|
+
- lib/run_ical/data/advanced_8_k.rb
|
108
|
+
- lib/run_ical/data/half_marathon_advanced.rb
|
109
|
+
- lib/run_ical/data/half_marathon_hm3.rb
|
110
|
+
- lib/run_ical/data/half_marathon_intermediate1.rb
|
111
|
+
- lib/run_ical/data/half_marathon_intermediate2.rb
|
112
|
+
- lib/run_ical/data/half_marathon_novice1.rb
|
113
|
+
- lib/run_ical/data/half_marathon_novice2.rb
|
114
|
+
- lib/run_ical/data/hm3.rb
|
115
|
+
- lib/run_ical/data/intermediate_10_k.rb
|
116
|
+
- lib/run_ical/data/intermediate_15_k.rb
|
117
|
+
- lib/run_ical/data/intermediate_5_k.rb
|
118
|
+
- lib/run_ical/data/intermediate_8_k.rb
|
119
|
+
- lib/run_ical/data/novice_10_k.rb
|
120
|
+
- lib/run_ical/data/novice_15_k.rb
|
121
|
+
- lib/run_ical/data/novice_5_k.rb
|
122
|
+
- lib/run_ical/data/novice_5k.rb
|
123
|
+
- lib/run_ical/data/novice_8_k.rb
|
124
|
+
- lib/run_ical/data/walkers_5_k.rb
|
125
|
+
- lib/run_ical/data/walking_10_k.rb
|
126
|
+
- lib/run_ical/version.rb
|
127
|
+
- run_ical.gemspec
|
128
|
+
homepage: https://github.com/scashin133/run_ical
|
129
|
+
licenses:
|
130
|
+
- MIT
|
131
|
+
metadata: {}
|
132
|
+
post_install_message:
|
133
|
+
rdoc_options: []
|
134
|
+
require_paths:
|
135
|
+
- lib
|
136
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
141
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
requirements: []
|
147
|
+
rubyforge_project:
|
148
|
+
rubygems_version: 2.5.2.1
|
149
|
+
signing_key:
|
150
|
+
specification_version: 4
|
151
|
+
summary: Generate an ical file for a race
|
152
|
+
test_files: []
|