print_primes_table 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.travis.yml +3 -0
  4. data/.yardoc/checksums +10 -0
  5. data/.yardoc/object_types +0 -0
  6. data/.yardoc/objects/root.dat +0 -0
  7. data/.yardoc/proxy_types +0 -0
  8. data/Gemfile +14 -0
  9. data/LICENSE.txt +22 -0
  10. data/README.md +78 -0
  11. data/Rakefile +2 -0
  12. data/bin/print_primes_table +10 -0
  13. data/doc/PrintPrimesTable.html +146 -0
  14. data/doc/PrintPrimesTable/Client.html +368 -0
  15. data/doc/PrintPrimesTable/Options.html +142 -0
  16. data/doc/PrintPrimesTable/Options/DefaultOption.html +247 -0
  17. data/doc/PrintPrimesTable/Options/HelpOption.html +311 -0
  18. data/doc/PrintPrimesTable/Options/OnlyPrimesOption.html +289 -0
  19. data/doc/PrintPrimesTable/Primes.html +496 -0
  20. data/doc/PrintPrimesTable/Validators.html +142 -0
  21. data/doc/PrintPrimesTable/Validators/DefaultValidator.html +284 -0
  22. data/doc/PrintPrimesTable/Validators/ErrorMessage.html +405 -0
  23. data/doc/PrintPrimesTable/Validators/HelpValidator.html +285 -0
  24. data/doc/_index.html +228 -0
  25. data/doc/class_list.html +58 -0
  26. data/doc/css/common.css +1 -0
  27. data/doc/css/full_list.css +57 -0
  28. data/doc/css/style.css +339 -0
  29. data/doc/file.README.html +122 -0
  30. data/doc/file_list.html +60 -0
  31. data/doc/frames.html +26 -0
  32. data/doc/index.html +122 -0
  33. data/doc/js/app.js +219 -0
  34. data/doc/js/full_list.js +181 -0
  35. data/doc/js/jquery.js +4 -0
  36. data/doc/method_list.html +135 -0
  37. data/doc/top-level-namespace.html +131 -0
  38. data/features/command_print_primes_table.feature +57 -0
  39. data/features/help_option.feature +24 -0
  40. data/features/support/env.rb +2 -0
  41. data/features/validate_arguments.feature +14 -0
  42. data/lib/print_primes_table.rb +4 -0
  43. data/lib/print_primes_table/client.rb +40 -0
  44. data/lib/print_primes_table/options/default_option.rb +28 -0
  45. data/lib/print_primes_table/options/help_option.rb +47 -0
  46. data/lib/print_primes_table/options/only_primes_option.rb +29 -0
  47. data/lib/print_primes_table/primes.rb +52 -0
  48. data/lib/print_primes_table/validators/default_validator.rb +39 -0
  49. data/lib/print_primes_table/validators/error_message.rb +31 -0
  50. data/lib/print_primes_table/validators/help_validator.rb +28 -0
  51. data/lib/print_primes_table/version.rb +10 -0
  52. data/print_primes_table.gemspec +29 -0
  53. metadata +132 -0
metadata ADDED
@@ -0,0 +1,132 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: print_primes_table
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Diego Hernán Piccinini Lagos
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-04-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: |-
42
+ The program run from a command line and print to screen one table.
43
+ Across the top and down the left side should be the 10 primes, and the body of the table should contain the
44
+ product of multiplying these numbers.
45
+ email:
46
+ - diego@guiasrails.es
47
+ executables:
48
+ - print_primes_table
49
+ extensions: []
50
+ extra_rdoc_files: []
51
+ files:
52
+ - .gitignore
53
+ - .travis.yml
54
+ - .yardoc/checksums
55
+ - .yardoc/object_types
56
+ - .yardoc/objects/root.dat
57
+ - .yardoc/proxy_types
58
+ - Gemfile
59
+ - LICENSE.txt
60
+ - README.md
61
+ - Rakefile
62
+ - bin/print_primes_table
63
+ - doc/PrintPrimesTable.html
64
+ - doc/PrintPrimesTable/Client.html
65
+ - doc/PrintPrimesTable/Options.html
66
+ - doc/PrintPrimesTable/Options/DefaultOption.html
67
+ - doc/PrintPrimesTable/Options/HelpOption.html
68
+ - doc/PrintPrimesTable/Options/OnlyPrimesOption.html
69
+ - doc/PrintPrimesTable/Primes.html
70
+ - doc/PrintPrimesTable/Validators.html
71
+ - doc/PrintPrimesTable/Validators/DefaultValidator.html
72
+ - doc/PrintPrimesTable/Validators/ErrorMessage.html
73
+ - doc/PrintPrimesTable/Validators/HelpValidator.html
74
+ - doc/_index.html
75
+ - doc/class_list.html
76
+ - doc/css/common.css
77
+ - doc/css/full_list.css
78
+ - doc/css/style.css
79
+ - doc/file.README.html
80
+ - doc/file_list.html
81
+ - doc/frames.html
82
+ - doc/index.html
83
+ - doc/js/app.js
84
+ - doc/js/full_list.js
85
+ - doc/js/jquery.js
86
+ - doc/method_list.html
87
+ - doc/top-level-namespace.html
88
+ - features/command_print_primes_table.feature
89
+ - features/help_option.feature
90
+ - features/support/env.rb
91
+ - features/validate_arguments.feature
92
+ - lib/print_primes_table.rb
93
+ - lib/print_primes_table/client.rb
94
+ - lib/print_primes_table/options/default_option.rb
95
+ - lib/print_primes_table/options/help_option.rb
96
+ - lib/print_primes_table/options/only_primes_option.rb
97
+ - lib/print_primes_table/primes.rb
98
+ - lib/print_primes_table/validators/default_validator.rb
99
+ - lib/print_primes_table/validators/error_message.rb
100
+ - lib/print_primes_table/validators/help_validator.rb
101
+ - lib/print_primes_table/version.rb
102
+ - print_primes_table.gemspec
103
+ homepage: https://github.com/diegopiccinini/print_primes_table
104
+ licenses:
105
+ - MIT
106
+ metadata: {}
107
+ post_install_message:
108
+ rdoc_options: []
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - '>='
114
+ - !ruby/object:Gem::Version
115
+ version: 2.0.0
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ requirements: []
122
+ rubyforge_project:
123
+ rubygems_version: 2.4.3
124
+ signing_key:
125
+ specification_version: 4
126
+ summary: This program prints out a multiplication table of the first 10 prime numbers.
127
+ test_files:
128
+ - features/command_print_primes_table.feature
129
+ - features/help_option.feature
130
+ - features/support/env.rb
131
+ - features/validate_arguments.feature
132
+ has_rdoc: yard