flicks_alec 1.0.0 → 1.0.3

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: f8e67c8ce3f1fd7a97e86db5b4ac259b16ce4221f63d46c8dbbc2569963c7497
4
- data.tar.gz: 184b2f52cd09ffaa73c38d5f21cc90337b71f869513175ca9c4903040af1a019
3
+ metadata.gz: d66b6d5ad7fef444f0d1fffb847a68e74b39559c3d9b7f219e03590657c33490
4
+ data.tar.gz: c4006054e91ac624e7f00e4e3c646e117989d5cca71c42b410b3181dc8b7633c
5
5
  SHA512:
6
- metadata.gz: c2eeb669c8a819b2df5683834c3a6f7427f8ee9b054aca3f5fff2a956be70a54db1f240620bde1f769b4f2e7e82db9f01f91a9c03c0a971cbe713bac00bb2520
7
- data.tar.gz: 6820fe70ea0438cd372633590700e2a8713f5d73c6f8f0dec6ea93debab2e17a2c7d643fde7bd0a44094f91f87af4b7151748bf145eef95b1a13274b94f5f280
6
+ metadata.gz: ee0318274f39ade9d06acc365e05a9a1e40939a7dcc86d966c96f8e34c7e06a991f4f1d78bf849c2e8d2672fb179bd57968abb75fa88b660ff6deb8e49324ba4
7
+ data.tar.gz: 6977da4118a2ca0e1ed532ea8d2577f3958ebde4f0b25ae592dec5c17ebfb3d518a2479b86d12123615d8c4b3bcfd2c96a8e8a96cdebdb2cb05b729a8fbb2640
data/README.md CHANGED
@@ -2,11 +2,13 @@
2
2
 
3
3
  Command-line app/gem to play and review movies.
4
4
 
5
- ## Run from source
6
- ruby bin/flicks
5
+ ## Features
6
+ - Load a movie list from CSV.
7
+ - Review system using a virtual die (thumbs up/down/skip).
8
+ - Snack bar with carbs tracking per movie.
9
+ - 3D movies (`Movie3D`) with a “wow factor” that boosts thumbs ups.
10
+ - Save final rankings to a text file.
7
11
 
8
- ## Features
9
- - Load movies from CSV
10
- - Review system (thumbs up/down)
11
- - Snacks & carbs tracking
12
- - 3D movie with wow factor
12
+ ## Installation
13
+ ```bash
14
+ gem install flicks_alec
data/lib/flicks/movies.rb CHANGED
@@ -44,7 +44,7 @@ module Flicks
44
44
  end
45
45
 
46
46
 
47
- def to_csv
47
+ def to_txt
48
48
  "#{@title}, #{@rank}"
49
49
  end
50
50
 
@@ -14,10 +14,10 @@ module Flicks
14
14
  end
15
15
  end
16
16
 
17
- def save(to_file="movie_rankings.csv")
17
+ def save(to_file="movie_rankings.txt")
18
18
  File.open(to_file, "w") do |file|
19
19
  @movies.sort.each do |movie|
20
- file.puts movie.to_csv
20
+ file.puts movie.to_txt
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flicks_alec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - LucioAlec
@@ -24,8 +24,10 @@ dependencies:
24
24
  - !ruby/object:Gem::Version
25
25
  version: '3'
26
26
  description: "\uFEFF# Flicks\n\nCommand-line app/gem to play and review movies.\n\n##
27
- Run from source\nruby bin/flicks\n\n## Features\n- Load movies from CSV\n- Review
28
- system (thumbs up/down)\n- Snacks & carbs tracking\n- 3D movie with wow factor\n"
27
+ \ Features\n- Load a movie list from CSV.\n- Review system using a virtual die (thumbs
28
+ up/down/skip).\n- Snack bar with carbs tracking per movie.\n- 3D movies (`Movie3D`)
29
+ with a “wow factor” that boosts thumbs ups.\n- Save final rankings to a text file.\n\n##
30
+ \ Installation\n```bash\ngem install flicks_alec\n"
29
31
  email: lucioalec@gmail.com
30
32
  executables:
31
33
  - flicks
@@ -45,7 +47,6 @@ files:
45
47
  - lib/flicks/rankable.rb
46
48
  - lib/flicks/reviewers.rb
47
49
  - lib/flicks/snack_bar.rb
48
- - lib/movie_rankings.csv
49
50
  licenses:
50
51
  - MIT
51
52
  metadata: {}
@@ -1,4 +0,0 @@
1
- Glee, 25
2
- Goonies, 9
3
- Ghostbusters, 8
4
- Goldfinger, 1