jargon 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d3d85d3a4201b5c2ada0711b4ac65bb5b258bdad
4
+ data.tar.gz: 011b25ee3dc9eba6f6edc557fd7452de02ea90d0
5
+ SHA512:
6
+ metadata.gz: f00d3652bb10cc812629e531cba32533742f2f857b7a33a5781c6490be2d82338d5434e7aab4c62832b0c6e003f67d42911cbba146e71528018107fd7ffafd35
7
+ data.tar.gz: 83b7ee2469feeb9c3cea79da1131ab299fd3f81d9edcf805b67aac7b61c9be7aaf0e8029e9ec8384b825255b98ccf3b1bcb04f17c380c622300c5a5123a183fc
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in jargon.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,9 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ guard :rspec do
5
+ watch(%r{^spec/.+_spec\.rb$})
6
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
7
+ watch('spec/spec_helper.rb') { "spec" }
8
+ end
9
+
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Jordan Stephens
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # Jargon
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'jargon'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install jargon
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,187 @@
1
+ Alignment
2
+ At the end of the day
3
+ Break through the clutter
4
+ Bring to the table
5
+ Buzzword
6
+ Clear goal
7
+ Countless
8
+ Disrupt
9
+ Diversity
10
+ Empowerment
11
+ Exit strategy
12
+ Face time
13
+ Generation X
14
+ Globalization
15
+ Grow
16
+ Impact
17
+ Leverage
18
+ Milestone
19
+ Moving forward
20
+ On the runway
21
+ Organic growth
22
+ Outside the box
23
+ Paradigm
24
+ Paradigm shift
25
+ Proactive
26
+ Reach out
27
+ Sea change
28
+ Spin-up
29
+ Streamline
30
+ Survival strategy
31
+ Sustainability
32
+ Synergy
33
+ Wellness
34
+ Win-win
35
+ Accountable talk
36
+ Higher-order thinking
37
+ Invested in
38
+ Run like a business
39
+ Student engagement
40
+ Analytics
41
+ Ballpark figure
42
+ Bandwidth
43
+ Business-to-Business
44
+ Business-to-Consumer
45
+ Best of Breed
46
+ Best place to work
47
+ Best practices
48
+ Bizmeth
49
+ Brand
50
+ Brick-and-mortar
51
+ Business process outsourcing
52
+ Buzzword compliant
53
+ Building Capabilities
54
+ Client-centric
55
+ Cloud Computing
56
+ Co-opetition
57
+ Core competency
58
+ Customer-centric
59
+ Downsizing
60
+ Drinking the Kool-Aid
61
+ Eating your own dogfood
62
+ Enable
63
+ Entitlement
64
+ Enterprise
65
+ Event horizon
66
+ Eyeballs
67
+ Free value
68
+ Fulfilment issues
69
+ Granular
70
+ Herding cats
71
+ Holistic
72
+ Hyperlocal
73
+ Knowledge Process Outsourcing
74
+ Leverage
75
+ Logistics
76
+ Long Tail
77
+ Low Hanging Fruit
78
+ Make it pop
79
+ Mindshare
80
+ Mission Critical
81
+ Management Visibility
82
+ New economy
83
+ Next generation
84
+ Offshoring
85
+ Pain point
86
+ Return on Investment
87
+ Reverse fulfilment
88
+ Rightshoring
89
+ Seamless
90
+ Serum
91
+ Share options
92
+ Shoot
93
+ Solution
94
+ SOX
95
+ Sustainability
96
+ Touchpoint
97
+ Value-added
98
+ Visibility
99
+ 3G
100
+ Aggregator
101
+ Ajax
102
+ Benchmarking
103
+ Back-end
104
+ Beta
105
+ Big data
106
+ Bleeding edge
107
+ Blog
108
+ Bluetooth
109
+ Bring your own Device
110
+ Bricks-and-clicks
111
+ Clickthrough
112
+ Cloud
113
+ Collaboration
114
+ Content management
115
+ Content Management System
116
+ Convergence
117
+ Cross-platform
118
+ Datafication
119
+ Data mining
120
+ Data science
121
+ Deep dive
122
+ Design pattern
123
+ DevOps
124
+ Digital divide
125
+ Digital Remastering
126
+ Digital Rights Management
127
+ Digital signage
128
+ Disruptive Technologies
129
+ Document management
130
+ Dot-bomb
131
+ E-learning
132
+ Engine
133
+ Enterprise Content Management
134
+ Enterprise Service Bus
135
+ Framework
136
+ Folksonomy
137
+ Fuzzy logic
138
+ HTML5
139
+ Immersion
140
+ Information superhighway
141
+ Information highway
142
+ Innovation
143
+ Mashup
144
+ Mobile
145
+ Modularity
146
+ Nanotechnology
147
+ Netiquette
148
+ Next Generation
149
+ PaaS
150
+ Pizzazz
151
+ Podcasting
152
+ Portal
153
+ Real-time
154
+ Responsive
155
+ SaaS
156
+ Scalability
157
+ Skeuomorphic
158
+ Social bookmarking
159
+ Social software
160
+ Spam
161
+ Struts
162
+ Sync-up
163
+ Systems Development Life-Cycle
164
+ Tagging
165
+ Think outside the box
166
+ Transmedia
167
+ User generated content
168
+ Virtualization
169
+ Vlogging
170
+ Vortal
171
+ Web 2.0
172
+ Webinar
173
+ Weblog
174
+ Web services
175
+ Wikiality
176
+ Workflow
177
+ Pandering
178
+ Big society
179
+ Information society
180
+ Political capital
181
+ Socialist
182
+ Stakeholder
183
+ Truthiness
184
+ Warfighter
185
+ Plutocracy
186
+ Best-in-class
187
+ Tiptronic
data/jargon.gemspec ADDED
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'jargon/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "jargon"
8
+ spec.version = Jargon::VERSION
9
+ spec.authors = ["Jordan Stephens"]
10
+ spec.email = ["iam@jordanstephens.net"]
11
+ spec.description = %q{find buzzwords online}
12
+ spec.summary = %q{find buzzwords online}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "rspec"
24
+ spec.add_development_dependency "guard-rspec"
25
+ spec.add_dependency "nokogiri"
26
+ end
data/lib/jargon.rb ADDED
@@ -0,0 +1,28 @@
1
+ require 'nokogiri'
2
+ require 'open-uri'
3
+ require 'jargon/version'
4
+
5
+ module Jargon
6
+
7
+ class << self
8
+
9
+ def find(url)
10
+ html = open(url).read
11
+ text = text_from_html(html)
12
+ buzzwords = identify_buzzwords(text)
13
+ end
14
+
15
+ def buzzwords
16
+ @buzzwords ||= File.read('data/buzzwords.txt').split("\n")
17
+ end
18
+
19
+ def text_from_html(html_str)
20
+ Nokogiri::HTML(html_str).at('body').inner_text
21
+ end
22
+
23
+ def identify_buzzwords(str)
24
+ words = str.strip.split(/\s+/)
25
+ buzzwords.map(&:downcase) & words.map(&:downcase)
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,3 @@
1
+ module Jargon
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ describe Jargon do
4
+ it "should be true" do
5
+ buzzwords = Jargon.find("http://www.languagemonitor.com/high-tech-buzzwords/top-tech-buzzwords-everyone-uses-but-dont-quite-understand-2012/")
6
+ buzzwords.should == ["buzzword", "brand", "solution", "cloud", "convergence", "virtualization"]
7
+ end
8
+ end
@@ -0,0 +1,2 @@
1
+ require 'rspec'
2
+ require 'jargon'
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jargon
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jordan Stephens
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-06-16 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.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard-rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: nokogiri
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: find buzzwords online
84
+ email:
85
+ - iam@jordanstephens.net
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - .gitignore
91
+ - Gemfile
92
+ - Guardfile
93
+ - LICENSE.txt
94
+ - README.md
95
+ - Rakefile
96
+ - data/buzzwords.txt
97
+ - jargon.gemspec
98
+ - lib/jargon.rb
99
+ - lib/jargon/version.rb
100
+ - spec/jargon_spec.rb
101
+ - spec/spec_helper.rb
102
+ homepage: ''
103
+ licenses:
104
+ - MIT
105
+ metadata: {}
106
+ post_install_message:
107
+ rdoc_options: []
108
+ require_paths:
109
+ - lib
110
+ required_ruby_version: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - '>='
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
115
+ required_rubygems_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ requirements: []
121
+ rubyforge_project:
122
+ rubygems_version: 2.0.0
123
+ signing_key:
124
+ specification_version: 4
125
+ summary: find buzzwords online
126
+ test_files:
127
+ - spec/jargon_spec.rb
128
+ - spec/spec_helper.rb