three-ideas 1.0.1 → 1.0.2

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/three_ideas +2 -2
  3. data/lib/three_ideas.rb +51 -55
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ccd87a2f86664eb8f532fd0aa3dfc2398dc87698
4
- data.tar.gz: da058f5184878177671539514b4188374c450089
3
+ metadata.gz: 534859325abcd0d987686b5c5070b63a7b2b0443
4
+ data.tar.gz: 89a8409a925c57c9a5c9c971877402158727146b
5
5
  SHA512:
6
- metadata.gz: 49ef838d3f0f60ef1c47e32c921198c4ea0084ab1fdb9676e839fc34ea7dadfd1a3c7e093849fa21a51660e1e12fbea423e1d3d15886227e13d712673a69feea
7
- data.tar.gz: 709083eefdc9e2d5e6d4d3b1c475a266f83d62823e287a4f0a137d3a65ea354e358ca1cf56aae3fe16860dfb23ec3ef149045845c9586a114e6331ac8134fdf0
6
+ metadata.gz: d8b7721a9de2fafec7a79a27cc6aba58cc82b3c5a03b193e33f890bc01f9cefb3d56224ffe3183465aafe0e016e8fd3c996e98c87c64eb09c44e77f5cbe5d0d9
7
+ data.tar.gz: e7870865f359ab462c4ff3bfed0e0dc422def818ace3ff543e337496a9da8ff100f9590b1044793360e42d98560f0feec8c24e21773d8a4aba84103d3bcd3449
@@ -1,4 +1,4 @@
1
- !#/usr/bin/env ruby
1
+ #! /usr/bin/env ruby
2
2
 
3
3
  require 'three_ideas'
4
- ThreeIdeas.generate
4
+ puts ThreeIdeas.generate
@@ -1,88 +1,88 @@
1
1
  class ThreeIdeas
2
2
  # http://en.wikipedia.org/wiki/List_of_software_categories
3
- CATEGORIES = ['Free application software',
3
+ CATEGORIES = ['Application software suites',
4
4
  'Astrology software',
5
- 'Business software',
6
- 'Chemical engineering software',
7
- 'Software for children',
8
- 'Communication software',
9
- 'Computer-aided manufacturing software',
10
- 'Data management software',
11
- 'Desktop widgets',
12
- 'Editing software',
13
- 'Educational software',
14
- 'Entertainment software',
15
- 'Genealogy software',
16
- 'Government software',
17
- 'Graphics software',
18
- 'Industrial software',
19
- 'Knowledge representation software',
20
- 'Language software',
21
- 'Legal software',
22
- 'Library and information science software',
23
- 'Multimedia software',
24
- 'Music software',
25
- 'Personal information managers',
26
- 'Computer programming tools',
27
- 'Religious software',
28
- 'Science software',
29
- 'Simulation software',
30
- 'Spreadsheet software',
31
- 'Stagecraft software',
32
- 'Application software suites',
33
- 'Transport software',
34
- 'Digital typography',
35
- 'Video games',
36
- 'Video software',
37
- 'Word processors',
38
- 'Workflow software',
39
- 'System software',
40
- 'Free system software',
41
5
  'Boot loaders',
42
- 'Compatibility layers',
43
- 'Device drivers',
44
- 'Firmware',
45
- 'Graphical user interfaces',
46
- 'Middleware',
47
- 'Operating systems',
48
- 'Utility software',
49
- 'Windowing systems',
50
- 'OS X programming tools',
51
6
  'Bug and issue tracking software',
52
7
  'Build automation',
8
+ 'Business software',
9
+ 'Chemical engineering software',
53
10
  'Code navigation tools',
54
11
  'Code search engines',
12
+ 'Communication software',
13
+ 'Compatibility layers',
55
14
  'Compilers',
56
15
  'Compiling tools',
16
+ 'Computer programming tool stubs',
17
+ 'Computer programming tools',
18
+ 'Computer-aided manufacturing software',
57
19
  'Computer-aided software engineering tools',
20
+ 'Data management software',
58
21
  'Data modeling tools',
59
22
  'Debuggers',
60
23
  'Desktop database application development tools',
24
+ 'Desktop widgets',
25
+ 'Device drivers',
26
+ 'Digital typography',
61
27
  'Disassemblers',
62
28
  'Documentation generators',
63
- 'Text editors',
64
29
  'EXE packers',
30
+ 'Editing software',
31
+ 'Educational software',
32
+ 'Entertainment software',
33
+ 'Firmware',
65
34
  'Formal methods tools',
66
35
  'Free computer programming tools',
36
+ 'Free system software',
37
+ 'Genealogy software',
38
+ 'Government software',
39
+ 'Graphical user interfaces',
40
+ 'Graphics software',
41
+ 'Industrial software',
67
42
  'Integrated development environments',
68
43
  'Java development tools',
69
44
  'JavaScript programming tools',
45
+ 'Knowledge representation software',
46
+ 'Language software',
47
+ 'Legal software',
48
+ 'Library and information science software',
70
49
  'Linux programming tools',
71
- 'Software-localization tools',
72
50
  'Microsoft development tools',
51
+ 'Middleware',
73
52
  'Mobile software programming tools',
53
+ 'Multimedia software',
54
+ 'Music software',
55
+ 'OS X programming tools',
56
+ 'Operating systems',
57
+ 'Personal information managers',
74
58
  'Profilers',
75
59
  'Programming language implementation',
76
60
  'Programming tools for Windows',
77
- 'Revision control systems',
78
61
  'RISC OS programming tools',
62
+ 'Religious software',
63
+ 'Revision control systems',
64
+ 'Science software',
65
+ 'Simulation software',
66
+ 'Software for children',
79
67
  'Software testing tools',
68
+ 'Software-localization tools',
69
+ 'Spreadsheet software',
70
+ 'Stagecraft software',
80
71
  'Static program analysis tools',
72
+ 'System software',
73
+ 'Text editors',
74
+ 'Transport software',
81
75
  'UML tools',
82
76
  'Unix programming tools',
83
77
  'User interface builders',
78
+ 'Utility software',
79
+ 'Video games',
80
+ 'Video software',
84
81
  'Web development software',
85
- 'Computer programming tool stubs']
82
+ 'Windowing systems',
83
+ 'Word processors',
84
+ 'Workflow software',
85
+ 'Free application software']
86
86
 
87
87
  # http://en.wikipedia.org/wiki/List_of_programming_languages
88
88
  LANGUAGES = ['A# .NET',
@@ -786,10 +786,6 @@ class ThreeIdeas
786
786
 
787
787
  # Generate three ideas!
788
788
  def self.generate
789
- results = []
790
- 3.times do
791
- results << "#{CATEGORIES.sample} written in #{LANGUAGES.sample}"
792
- end
793
- puts results
789
+ 3.times.map { "#{CATEGORIES.sample} written in #{LANGUAGES.sample}" }
794
790
  end
795
791
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: three-ideas
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Worth