xda-projects-listings 0.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/bin/xda-rom-listings +39 -0
  3. metadata +45 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1511852a8bb8f851f38078c247a17d0a90aff150
4
+ data.tar.gz: 01f8c9c16114ebdd3d48fbd75856a9a33c8e2663
5
+ SHA512:
6
+ metadata.gz: 6d8753a7e45973cf76c3acddb2f611de08901154ae6d9220d91ed18d713371add99f4d4a61de4e028ed4bca368805c36ecc66460b3ac52fd7997644195769551
7
+ data.tar.gz: 169c395e219fc9f57a81de3b100842c9454f09477b8ab985f06102533636813dfd1a01746ff5253520c60f9180df4b6d04077b15436c56d57b51eddc2b286f92
@@ -0,0 +1,39 @@
1
+ #!/usr/bin/env ruby
2
+
3
+
4
+ require 'pry'
5
+ require_relative '../config/environment'
6
+ extend MainMenu
7
+ #scraper = Scraper.new
8
+ ##binding.pry
9
+ #Scraper.fresh_scrape
10
+ #puts "Welcome to the XDA-Developers ROM updates Gem!"
11
+ #puts "This will allow you to check the LG-G3 for updates to various development projects."
12
+ #Scraper.projects_list.each do |thread|
13
+ # project = Project.new(thread[:project_name])
14
+ # developer = Developer.new(thread[:developer])
15
+ # developer.projects << project
16
+ # project.developer = developer
17
+ #end
18
+ #Scraper.projects_list.each {|thread| Developer.new(thread[:developer])}
19
+ #Project.sort
20
+ #Project.all.each.with_index(1) {|project, index| puts "#{index}). #{project.name}"}
21
+ #choices = ["1","2","3","4"]
22
+ #input = ""
23
+ #puts "What would you like to do?"
24
+ #puts " 1). List threads"
25
+ #puts " 2). List by project type"
26
+ #puts " 3). List by developer"
27
+ #puts " 4). Exit"
28
+ #until input == choices.any
29
+ #input = gets.strip
30
+ #end
31
+ cli = CLIController.new
32
+ CLIController.menu
33
+ cli.get_input
34
+ #binding.pry
35
+ until cli.input == "exit" || cli.input == "Exit"
36
+ cli.menu_selection(cli.input)
37
+ puts "Make another choice or Exit"
38
+ cli.get_input
39
+ end
metadata ADDED
@@ -0,0 +1,45 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: xda-projects-listings
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - RMcNeely
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-04-10 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple gem that will discover projects at XDA Developer via Command
14
+ Line
15
+ email: rmcneely23@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - bin/xda-rom-listings
21
+ homepage: https://github.com/RMcNeely/xda-rom-listings-gem
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubyforge_project:
41
+ rubygems_version: 2.4.6
42
+ signing_key:
43
+ specification_version: 4
44
+ summary: Welcome to XDA-Developers!
45
+ test_files: []