repo
string
commit
string
message
string
diff
string
darxriggs/ip-world-map
ba807e4c7616ad2ae99694af3e599954d79b49c9
fix license id to match SPDX identifier
diff --git a/Rakefile b/Rakefile index 38fb936..1d629b3 100644 --- a/Rakefile +++ b/Rakefile @@ -1,47 +1,47 @@ # -*- coding: utf-8 -*- require 'rubygems' require 'rubygems/package_task' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new do |t| t.pattern = 'spec/**/*.rb' t.rcov = false t.rcov_op...
darxriggs/ip-world-map
b754eac8ec647ee657d0f8038d07be487235cf5e
set minimum Ruby required version
diff --git a/Rakefile b/Rakefile index 0dda5d3..38fb936 100644 --- a/Rakefile +++ b/Rakefile @@ -1,46 +1,47 @@ # -*- coding: utf-8 -*- require 'rubygems' require 'rubygems/package_task' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new do |t| t.pattern = 'spec/**/*.rb' t.rcov = false t.rcov_op...
darxriggs/ip-world-map
eb475c9fa799adcdf0cbddab02f64db9473add46
add missing typhoeus dependency
diff --git a/Rakefile b/Rakefile index 239df13..0dda5d3 100644 --- a/Rakefile +++ b/Rakefile @@ -1,45 +1,46 @@ # -*- coding: utf-8 -*- require 'rubygems' require 'rubygems/package_task' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new do |t| t.pattern = 'spec/**/*.rb' t.rcov = false t.rcov_op...
darxriggs/ip-world-map
c4e70dbe3a290db6db89d14dee207943c6e0cfec
relax pessimistic dependency declarations
diff --git a/Rakefile b/Rakefile index a131a21..239df13 100644 --- a/Rakefile +++ b/Rakefile @@ -1,45 +1,45 @@ # -*- coding: utf-8 -*- require 'rubygems' require 'rubygems/package_task' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new do |t| t.pattern = 'spec/**/*.rb' t.rcov = false t.rcov_op...
darxriggs/ip-world-map
6344b5de929e3a34c8d41fe8f9143a292aadaa2d
no more sudo to install the gem
diff --git a/README.rdoc b/README.rdoc index fffb227..3588eb2 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,67 +1,67 @@ = IP World Map This tool can be used to visualize web access logfiles. It performs geo-location resolution on the IPs (using api.hostip.info) and can generate: * a fixed image * an animated ...
darxriggs/ip-world-map
53f4689fbb9f126eca4aef8def2bda1880fa6964
fix to make it work with Ruby 1.9
diff --git a/bin/ip-world-map b/bin/ip-world-map index f76da4c..5616bee 100755 --- a/bin/ip-world-map +++ b/bin/ip-world-map @@ -1,183 +1,183 @@ #!/usr/bin/env ruby require 'rubygems' require 'optparse' require 'ostruct' require 'date' require 'ip-world-map' require 'RMagick' class App VERSION = '0.0.1' ...
darxriggs/ip-world-map
6a220b496ae097f9a2a302f1c6c188433534577f
upgraded to v1.0.0 for official release
diff --git a/Rakefile b/Rakefile index a2e3475..9d1dc93 100644 --- a/Rakefile +++ b/Rakefile @@ -1,45 +1,45 @@ # -*- coding: utf-8 -*- require 'rubygems' require 'rubygems/package_task' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new do |t| t.pattern = 'spec/**/*.rb' t.rcov = false t.rcov_op...
darxriggs/ip-world-map
f3e009f653288a8496b46ec5d268b777d20f8230
fixed issue with class method
diff --git a/lib/ip-world-map/apache_log_visualizer.rb b/lib/ip-world-map/apache_log_visualizer.rb index 50264db..067b3cb 100644 --- a/lib/ip-world-map/apache_log_visualizer.rb +++ b/lib/ip-world-map/apache_log_visualizer.rb @@ -1,75 +1,75 @@ require 'RMagick' class ApacheLogVisualizer def initialize log_files ...
darxriggs/ip-world-map
6b892f331103b85ed23218f81cf44bb043cfed31
removed TODO (already implemented)
diff --git a/README.rdoc b/README.rdoc index d155ba3..29b86d1 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,68 +1,64 @@ = IP World Map This tool can be used to visualize web access logfiles. It performs geo-location resolution on the IPs (using api.hostip.info) and can generate: * a fixed image * an animated ...
darxriggs/ip-world-map
7706eab3d5ce190eacea5ec2d699fd6990be964a
changed default image format from 'jpg' to 'png' due to compression artefacts
diff --git a/bin/ip-world-map b/bin/ip-world-map index 147a92c..26d6705 100755 --- a/bin/ip-world-map +++ b/bin/ip-world-map @@ -1,185 +1,185 @@ #!/usr/bin/env ruby require 'rubygems' require 'optparse' require 'ostruct' require 'date' require 'ip-world-map' require 'RMagick' class App VERSION = '0.0.1' ...
darxriggs/ip-world-map
5fa4941cbef706082285b3c1f6f5ada60766eb76
cleanup
diff --git a/bin/ip-world-map b/bin/ip-world-map index 4eebb57..147a92c 100755 --- a/bin/ip-world-map +++ b/bin/ip-world-map @@ -1,198 +1,185 @@ #!/usr/bin/env ruby require 'rubygems' require 'optparse' require 'ostruct' require 'date' require 'ip-world-map' +require 'RMagick' class App VERSION = '0.0.1' ...
darxriggs/ip-world-map
ff90c6024ab031132d52236acfc26a9f8227cd19
moved methods into ApacheLogAnalyzer
diff --git a/bin/ip-world-map b/bin/ip-world-map index 00e33be..6156dc7 100755 --- a/bin/ip-world-map +++ b/bin/ip-world-map @@ -1,196 +1,196 @@ #!/usr/bin/env ruby require 'rubygems' require 'optparse' require 'ostruct' require 'date' require 'ip-world-map' class App VERSION = '0.0.1' attr_reader :o...
darxriggs/ip-world-map
ee6cfca5087eccf354cdcbb7dc190c25bee32cf0
implemented coordinate quantization -> huge speedup
diff --git a/lib/ip-world-map/visualization.rb b/lib/ip-world-map/visualization.rb index eee54b0..c4e6a56 100644 --- a/lib/ip-world-map/visualization.rb +++ b/lib/ip-world-map/visualization.rb @@ -1,84 +1,81 @@ require 'rubygems' require 'RMagick' class Visualization attr_accessor :position_quantization_in_degr...
darxriggs/ip-world-map
5efc20ae746a2a23130eae594b584fcbc774d8e7
removed useless showing of start & end time
diff --git a/bin/ip-world-map b/bin/ip-world-map index a310613..00e33be 100755 --- a/bin/ip-world-map +++ b/bin/ip-world-map @@ -1,198 +1,196 @@ #!/usr/bin/env ruby require 'rubygems' require 'optparse' require 'ostruct' require 'date' require 'ip-world-map' class App VERSION = '0.0.1' attr_reader :o...
darxriggs/ip-world-map
8695489b63ea3a87c8f45965489921e0c623008b
refactored LogAnalyzer
diff --git a/lib/ip-world-map/log_analyzer.rb b/lib/ip-world-map/log_analyzer.rb index a2412b8..75b7313 100644 --- a/lib/ip-world-map/log_analyzer.rb +++ b/lib/ip-world-map/log_analyzer.rb @@ -1,60 +1,59 @@ class LogAnalyzer attr_accessor :host_coordinates def initialize *filenames @filenames = filenames....
darxriggs/ip-world-map
8d191543e190029e68c932b1ac85c67aa9037189
refactored PointInTime
diff --git a/lib/ip-world-map/point_in_time.rb b/lib/ip-world-map/point_in_time.rb index a09cf82..54e983d 100644 --- a/lib/ip-world-map/point_in_time.rb +++ b/lib/ip-world-map/point_in_time.rb @@ -1,23 +1,23 @@ class PointInTime attr_reader :x, :y def initialize x, y, initial_opacity, lifetime @x, @y = x,...
darxriggs/ip-world-map
9597d9158a452fa5c02c879e010e8ad60535402d
fixed caching for parallel HTTP request implementation - now the IP is only looked up if no data exists yet
diff --git a/lib/ip-world-map/ip_lookup_service.rb b/lib/ip-world-map/ip_lookup_service.rb index 9d13cc2..538cca0 100644 --- a/lib/ip-world-map/ip_lookup_service.rb +++ b/lib/ip-world-map/ip_lookup_service.rb @@ -1,67 +1,69 @@ require 'net/http' require 'typhoeus' require 'yaml' class IpLookupService def ini...
darxriggs/ip-world-map
a7c2f84d5f52cead5c0fe5486f6b125769a19f22
fixed default output format - changed from gif to mpg since animated gif is not supported anymore
diff --git a/bin/ip-world-map b/bin/ip-world-map index 4eebb57..a310613 100755 --- a/bin/ip-world-map +++ b/bin/ip-world-map @@ -1,198 +1,198 @@ #!/usr/bin/env ruby require 'rubygems' require 'optparse' require 'ostruct' require 'date' require 'ip-world-map' class App VERSION = '0.0.1' attr_reader :o...
darxriggs/ip-world-map
760d239c3ae8564d1324ad715bece8ca48401e68
added utf-8 encoding comment to make ruby1.9 work
diff --git a/Rakefile b/Rakefile index e5291e5..f74d9ef 100644 --- a/Rakefile +++ b/Rakefile @@ -1,39 +1,40 @@ +# -*- coding: utf-8 -*- require 'rubygems' require 'spec/version' require 'spec/rake/spectask' require 'rake/gempackagetask' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_files = FileList['spec/**/...
darxriggs/ip-world-map
ec2f1bfb6bb2ad022b295f26ce652a54d7d6e899
implemented parallel requests for IP -> geo-location lookup
diff --git a/lib/ip-world-map/ip_lookup_service.rb b/lib/ip-world-map/ip_lookup_service.rb index d8c7120..9d13cc2 100644 --- a/lib/ip-world-map/ip_lookup_service.rb +++ b/lib/ip-world-map/ip_lookup_service.rb @@ -1,43 +1,67 @@ require 'net/http' +require 'typhoeus' require 'yaml' class IpLookupService def ini...
darxriggs/ip-world-map
9a0e02f8d52a5ebb7999156569ade384ad993dae
refactored code to use IPSocket instead of Socket for hostname -> IP lookup
diff --git a/lib/ip-world-map/ip_lookup_service.rb b/lib/ip-world-map/ip_lookup_service.rb index f353014..d8c7120 100644 --- a/lib/ip-world-map/ip_lookup_service.rb +++ b/lib/ip-world-map/ip_lookup_service.rb @@ -1,51 +1,43 @@ require 'net/http' require 'yaml' class IpLookupService - def self.ip_for_host host -...
darxriggs/ip-world-map
9847c89adcb642825b0696b74c0b0f6ac681016a
added tests for IpLookupService
diff --git a/spec/ip-world-map/ip_lookup_service.rb b/spec/ip-world-map/ip_lookup_service.rb new file mode 100644 index 0000000..762e043 --- /dev/null +++ b/spec/ip-world-map/ip_lookup_service.rb @@ -0,0 +1,50 @@ +require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb') + +describe IpLookupService do + descri...
darxriggs/ip-world-map
0ef7a163348d432e7a5d04e7e387332a98e48140
cached/serialized for the IpLookupService now have to be loaded explicitly
diff --git a/lib/ip-world-map/ip_lookup_service.rb b/lib/ip-world-map/ip_lookup_service.rb index 8ccb1bd..f353014 100644 --- a/lib/ip-world-map/ip_lookup_service.rb +++ b/lib/ip-world-map/ip_lookup_service.rb @@ -1,52 +1,51 @@ require 'net/http' require 'yaml' class IpLookupService def self.ip_for_host host ...
darxriggs/ip-world-map
1be38ada3838387829483f859906c0a8b5be253e
changed some instance -> class methods
diff --git a/lib/ip-world-map/ip_lookup_service.rb b/lib/ip-world-map/ip_lookup_service.rb index 3ff2b4a..8ccb1bd 100644 --- a/lib/ip-world-map/ip_lookup_service.rb +++ b/lib/ip-world-map/ip_lookup_service.rb @@ -1,52 +1,52 @@ require 'net/http' require 'yaml' class IpLookupService + def self.ip_for_host host +...
darxriggs/ip-world-map
c3656cf5e67015e9bc16155f3f8b784aa8c36ac8
cleaned specs
diff --git a/spec/ip-world-map/decay.rb b/spec/ip-world-map/decay.rb index 17ed58f..7505795 100644 --- a/spec/ip-world-map/decay.rb +++ b/spec/ip-world-map/decay.rb @@ -1,18 +1,18 @@ require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb') -describe PointInTime do +describe Decay do it 'should be initial...
darxriggs/ip-world-map
808c9a5aec054c04719ab19738e71b8f08b38fdf
added spec.opts
diff --git a/spec/spec.opts b/spec/spec.opts new file mode 100644 index 0000000..59b6d39 --- /dev/null +++ b/spec/spec.opts @@ -0,0 +1,3 @@ +--color +--diff +--loadby mtime
darxriggs/ip-world-map
6d6f6fb820dcb11c68e2089fd4db6a2b53fe8e85
removed all extra brackets in method declarations
diff --git a/bin/ip-world-map b/bin/ip-world-map index 59df5c2..4eebb57 100755 --- a/bin/ip-world-map +++ b/bin/ip-world-map @@ -1,198 +1,198 @@ #!/usr/bin/env ruby require 'rubygems' require 'optparse' require 'ostruct' require 'date' require 'ip-world-map' class App VERSION = '0.0.1' attr_reader :o...
darxriggs/ip-world-map
1e3932d4f633805b10f48d5a07efec148d634eb9
refactored IP -> locationn lookup into separate class
diff --git a/lib/ip-world-map.rb b/lib/ip-world-map.rb index 2595ea5..31c11c7 100644 --- a/lib/ip-world-map.rb +++ b/lib/ip-world-map.rb @@ -1,15 +1,16 @@ require 'rubygems' require 'RMagick' +require 'ip-world-map/ip_lookup_service' require 'ip-world-map/log_analyzer' require 'ip-world-map/information_drawer' ...
darxriggs/ip-world-map
0925f74d0f167f82d47124d9ed1fea07f825e0a0
implemented saving the results as image or video
diff --git a/README.rdoc b/README.rdoc index 2387075..97f8d12 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,68 +1,67 @@ = IP World Map This tool can be used to visualize web access logfiles. It performs geo-location resolution on the IPs and can generate: * a fixed image * an animated image * a video == I...
darxriggs/ip-world-map
db815b388b7011601bb22173ddf25cfc6bbb2e9d
renamed method
diff --git a/bin/ip-world-map b/bin/ip-world-map index 6cd4f00..9f05054 100755 --- a/bin/ip-world-map +++ b/bin/ip-world-map @@ -1,190 +1,190 @@ #!/usr/bin/env ruby require 'rubygems' require 'optparse' require 'ostruct' require 'date' require 'ip-world-map' class App VERSION = '0.0.1' attr_reader :o...
darxriggs/ip-world-map
f62693dfa75e047f983224ab7e12ad978e4edc44
maded version in Rakefile and executable consistent
diff --git a/Rakefile b/Rakefile index f8c84d7..e5291e5 100644 --- a/Rakefile +++ b/Rakefile @@ -1,39 +1,39 @@ require 'rubygems' require 'spec/version' require 'spec/rake/spectask' require 'rake/gempackagetask' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_files = FileList['spec/**/*.rb'] t.rcov = false...
darxriggs/ip-world-map
24a5271d4db33796c41c51549dbbc5dd323e9ab3
cleaned README
diff --git a/README.rdoc b/README.rdoc index e9808b6..8128ecc 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,67 +1,65 @@ = IP World Map This tool can be used to visualize web access logfiles. It performs geo-location resolution on the IPs and can generate: * a fixed image * an animated image * a video == I...
darxriggs/ip-world-map
ad6041443bd444bd5be4f769a3ef50c465dbc0ba
replaced 'Rene' with 'René'
diff --git a/README.rdoc b/README.rdoc index 092fa73..e9808b6 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,67 +1,67 @@ = IP World Map This tool can be used to visualize web access logfiles. It performs geo-location resolution on the IPs and can generate: * a fixed image * an animated image * a video == I...
darxriggs/ip-world-map
7758882bba66111814486fea5505cf7927f3d1d3
refatored executable to use optparse instead of rdoc/usage to print the help message
diff --git a/bin/ip-world-map b/bin/ip-world-map index 6249c25..6cd4f00 100755 --- a/bin/ip-world-map +++ b/bin/ip-world-map @@ -1,218 +1,190 @@ #!/usr/bin/env ruby -# == Synopsis -# This application can be used to visualize web access logfiles. -# It performs geo-location resolution on the IPs and can generate:...
darxriggs/ip-world-map
ecf9824898a743c3232a61ce92d7603c0607ea2d
cleaned Rakefile & added email
diff --git a/Rakefile b/Rakefile index f1cac50..bbf1509 100644 --- a/Rakefile +++ b/Rakefile @@ -1,39 +1,39 @@ require 'rubygems' require 'spec/version' require 'spec/rake/spectask' -#require 'cucumber/rake/task' require 'rake/gempackagetask' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_files = FileList['sp...
darxriggs/ip-world-map
9b4aa5bc61cb7b49833aa159d88bdf9b934a67d1
extracted drawing the timestamp banner into a separate class
diff --git a/lib/ip-world-map.rb b/lib/ip-world-map.rb index f4e4a4c..2595ea5 100644 --- a/lib/ip-world-map.rb +++ b/lib/ip-world-map.rb @@ -1,14 +1,15 @@ require 'rubygems' require 'RMagick' require 'ip-world-map/log_analyzer' +require 'ip-world-map/information_drawer' require 'ip-world-map/apache_log_analyzer...
darxriggs/ip-world-map
09de99724d2bcba64f96529d3d9adaaebebfb017
only ASCII characters in Rakefile
diff --git a/Rakefile b/Rakefile index 323f249..f1cac50 100644 --- a/Rakefile +++ b/Rakefile @@ -1,39 +1,39 @@ require 'rubygems' require 'spec/version' require 'spec/rake/spectask' #require 'cucumber/rake/task' require 'rake/gempackagetask' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_files = FileList['sp...
darxriggs/ip-world-map
8d8b54c2231f07ea6034576182901cefc1557221
added README
diff --git a/README.rdoc b/README.rdoc new file mode 100644 index 0000000..092fa73 --- /dev/null +++ b/README.rdoc @@ -0,0 +1,67 @@ += IP World Map + +This tool can be used to visualize web access logfiles. +It performs geo-location resolution on the IPs and can generate: +* a fixed image +* an animated image +* a vide...
darxriggs/ip-world-map
3d7e75a18945904fb50934b8209c9f32dc1a1183
added GPLv2 license
diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d159169 --- /dev/null +++ b/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA...
darxriggs/ip-world-map
8d2d4897ef4affa7dd1871d662605988ce04106d
made libs non-executable
diff --git a/lib/ip-world-map/apache_log_analyzer.rb b/lib/ip-world-map/apache_log_analyzer.rb old mode 100755 new mode 100644 diff --git a/lib/ip-world-map/apache_log_visualizer.rb b/lib/ip-world-map/apache_log_visualizer.rb old mode 100755 new mode 100644 diff --git a/lib/ip-world-map/decay.rb b/lib/ip-world-map/deca...
darxriggs/ip-world-map
822f2b49e763c801a3f8c780bdb12f3a19a082b1
restructured executable files
diff --git a/Rakefile b/Rakefile index 607eb91..323f249 100644 --- a/Rakefile +++ b/Rakefile @@ -1,39 +1,39 @@ require 'rubygems' require 'spec/version' require 'spec/rake/spectask' #require 'cucumber/rake/task' require 'rake/gempackagetask' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_files = FileList['sp...
darxriggs/ip-world-map
25246f889f79ecdb6eb496243e89f314069e640c
removed extra arguments validations (already done during parsing)
diff --git a/bin/run b/bin/run index 36f1276..ae04dc6 100755 --- a/bin/run +++ b/bin/run @@ -1,220 +1,219 @@ #!/usr/bin/env ruby # == Synopsis # This application can be used to visualize web access logfiles. # It performs geo-location resolution on the IPs and can generate: # - a fixed image # - an anim...
darxriggs/ip-world-map
16e6b7df00777658d03c947f52c46a6384f527c6
refactored log file parsing
diff --git a/bin/run b/bin/run index 11a0254..36f1276 100755 --- a/bin/run +++ b/bin/run @@ -1,217 +1,220 @@ #!/usr/bin/env ruby # == Synopsis # This application can be used to visualize web access logfiles. # It performs geo-location resolution on the IPs and can generate: # - a fixed image # - an anim...
darxriggs/ip-world-map
2b0be37c7411edd779128c0da6d30b1c6fc7e6b8
removed some obsolete code
diff --git a/bin/run b/bin/run index f22f987..11a0254 100755 --- a/bin/run +++ b/bin/run @@ -1,220 +1,217 @@ #!/usr/bin/env ruby # == Synopsis # This application can be used to visualize web access logfiles. # It performs geo-location resolution on the IPs and can generate: # - a fixed image # - an anim...
darxriggs/ip-world-map
a121467066af2fcf7030623aba657a7bc78e32c2
implemented command line parsing
diff --git a/bin/apache_log_visualizer b/bin/apache_log_visualizer.rb similarity index 75% rename from bin/apache_log_visualizer rename to bin/apache_log_visualizer.rb index 67ca97f..58e1b55 100755 --- a/bin/apache_log_visualizer +++ b/bin/apache_log_visualizer.rb @@ -1,107 +1,97 @@ -#!/usr/bin/env ruby - require 'rub...
darxriggs/ip-world-map
bd9a1bf98ff8fc490e0d7692bbd88ddc73f315ae
made requiring files environment idependent
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 11a7ccf..95aca2f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,11 +1,11 @@ begin require 'spec' rescue LoadError require 'rubygems' gem 'rspec' require 'spec' end -$:.unshift(File.dirname(__FILE__) + '/../lib') +$:.unshift(...
darxriggs/ip-world-map
fcef270b733efd3e9aa6389ac16270b6831ddb2c
restructored project to be gem conform
diff --git a/.gitignore b/.gitignore index da8cb79..e575c17 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.swp -NS2_FILES nbproject +pkg +resources/NS2_FILES diff --git a/Rakefile b/Rakefile index 42d54a0..607eb91 100644 --- a/Rakefile +++ b/Rakefile @@ -1,10 +1,39 @@ require 'rubygems' require 'spec/ve...
darxriggs/ip-world-map
02f64ddbe4383bfcd65ad35da880e71c1c5b545a
add bin folder with executables log analyze and visualize Apache log files
diff --git a/bin/apache_log_analyzer b/bin/apache_log_analyzer new file mode 100755 index 0000000..7af8df0 --- /dev/null +++ b/bin/apache_log_analyzer @@ -0,0 +1,18 @@ +#!/usr/bin/env ruby + +require 'rubygems' +require 'ip-world-map' + +log_files = Dir.glob(ARGV) +if (log_files.empty?) then puts 'no files given'; exit...
darxriggs/ip-world-map
5467d1a3d1341644c1cc51474b4fa7acdd7eb461
added very old uncommited changes
diff --git a/lib/apache_log_analyzer.rb b/lib/apache_log_analyzer.rb index 3d6c424..b0c639b 100755 --- a/lib/apache_log_analyzer.rb +++ b/lib/apache_log_analyzer.rb @@ -1,159 +1,154 @@ #!/usr/bin/env ruby require 'zlib' require 'time' require 'date' require 'net/http' require 'yaml' module FileUtils def s...
darxriggs/ip-world-map
bda17a9f08a74a5fd418a942b74c70fb35c4e532
added apache_log_analyzer to spec helper
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index bffbdca..6787f9a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,11 +1,12 @@ begin require 'spec' rescue LoadError require 'rubygems' gem 'rspec' require 'spec' end $:.unshift(File.dirname(__FILE__) + '/../lib') +require '...
darxriggs/ip-world-map
7ae71f0cdcbb07673883f84f637cdc2475de1a3b
added intial specs (not yet error-free)
diff --git a/spec/decay.rb b/spec/decay.rb new file mode 100644 index 0000000..7b98f74 --- /dev/null +++ b/spec/decay.rb @@ -0,0 +1,17 @@ +require File.dirname(__FILE__) + '/spec_helper.rb' + +describe PointInTime do + it 'should be initialized with either Integers and/or Floats' do + Decay.new(10, 5 ) + Deca...
darxriggs/ip-world-map
971d973782a187fc6b89510468827434874f40e4
added .gitignore
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da8cb79 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.swp +NS2_FILES +nbproject
darxriggs/ip-world-map
14f42d8d33dde5f3baabb36b68c5b98a2cf79d82
added Rakefile (only including 'test' task for the moment)
diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..42d54a0 --- /dev/null +++ b/Rakefile @@ -0,0 +1,10 @@ +require 'rubygems' +require 'spec/version' +require 'spec/rake/spectask' + +Spec::Rake::SpecTask.new('specs') do |t| + t.spec_files = FileList['spec/**/*.rb'] + t.rcov = false + t.rcov_opts ...
darxriggs/ip-world-map
36450d888f9df665baf033fa50778401e2c3d5ed
reorganized business logic into separate libs folder
diff --git a/apache_log_analyzer.rb b/apache_log_analyzer.rb deleted file mode 100755 index e021fe5..0000000 --- a/apache_log_analyzer.rb +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env ruby - -require 'zlib' - -#LOG_FILE = "/var/log/apache2/access.log.1" -LOG_FILE = ARGV[0] || "/var/log/apache2/access.log.2.gz" - -modu...
darxriggs/ip-world-map
cb35c545c5f518232bde5b65a83950ec261f400f
reorganized maps into separate folder
diff --git a/access_map.README b/access_map.README deleted file mode 100644 index 041bd1e..0000000 --- a/access_map.README +++ /dev/null @@ -1,4 +0,0 @@ -User story: -As a website host -I want to show a video with the access locations printed on a world map -To get an overview where my customers are based. diff --git a...
darxriggs/ip-world-map
e44a15fc42aefeca0f4dc9316365494034550a72
added support for log file analysis - generic class for log files - subclass for Apache format
diff --git a/lib/apache_log_analyzer.rb b/lib/apache_log_analyzer.rb new file mode 100755 index 0000000..3d6c424 --- /dev/null +++ b/lib/apache_log_analyzer.rb @@ -0,0 +1,159 @@ +#!/usr/bin/env ruby + +require 'zlib' +require 'time' +require 'date' +require 'net/http' +require 'yaml' + +module FileUtils + def self.zip...
darxriggs/ip-world-map
f9282b88399437b82357cdca3fdf8789598f7c00
started visualization
diff --git a/visualization.rb b/visualization.rb new file mode 100755 index 0000000..fbe3686 --- /dev/null +++ b/visualization.rb @@ -0,0 +1,129 @@ +#!/usr/bin/env ruby + +require 'rubygems' +require 'RMagick' + +#coordinates_home = [11.6220338, 48.1276458] # Munich +#coordinates_home = [13.4114943, 52.5234802] # Berli...
darxriggs/ip-world-map
340f2ca339a674b0069e34b871d8b0c2e4abf8bd
added 2 earth maps of size 800x400 and 1600x800
diff --git a/earthmap-1600x800.tif b/earthmap-1600x800.tif new file mode 100644 index 0000000..ad5dd6c Binary files /dev/null and b/earthmap-1600x800.tif differ diff --git a/earthmap-800x400.tif b/earthmap-800x400.tif new file mode 100644 index 0000000..947a7d0 Binary files /dev/null and b/earthmap-800x400.tif differ
darxriggs/ip-world-map
5c003e47514bf15a0b679ad404d9e5772c0c5cde
initial load
diff --git a/access_map.README b/access_map.README new file mode 100644 index 0000000..041bd1e --- /dev/null +++ b/access_map.README @@ -0,0 +1,4 @@ +User story: +As a website host +I want to show a video with the access locations printed on a world map +To get an overview where my customers are based. diff --git a/ani...
kineticsocial/rabbitmq_snmp_plugin
79326c792e0ea73788c16ae9c7b73a91af1f3d5c
try/catch around the trace so if we happend to send an invalid pid we will not crash
diff --git a/src/rabbit_snmp_tracer.erl b/src/rabbit_snmp_tracer.erl index 1030e57..1c6067d 100644 --- a/src/rabbit_snmp_tracer.erl +++ b/src/rabbit_snmp_tracer.erl @@ -1,76 +1,84 @@ -module(rabbit_snmp_tracer). -behaviour(gen_server). -export([start/0, start/2, stop/0, stop/1, start_link/0]). -export([init/1, ha...
kineticsocial/rabbitmq_snmp_plugin
8a41beccdf3538cda509c437c1e39cc82ed71cf5
properly handle return from environment
diff --git a/src/rabbit_snmp_worker.erl b/src/rabbit_snmp_worker.erl index 01c7402..0c77841 100644 --- a/src/rabbit_snmp_worker.erl +++ b/src/rabbit_snmp_worker.erl @@ -1,128 +1,128 @@ -module(rabbit_snmp_worker). -behaviour(gen_server). -export([start/0, start/2, stop/0, stop/1, start_link/0]). -export([init/1, ...
kineticsocial/rabbitmq_snmp_plugin
b85c128236cf15a9b20dcace95bc655b77eb4da4
10 second update interval by default
diff --git a/src/rabbit_snmp_worker.erl b/src/rabbit_snmp_worker.erl index c827fa1..01c7402 100644 --- a/src/rabbit_snmp_worker.erl +++ b/src/rabbit_snmp_worker.erl @@ -1,128 +1,128 @@ -module(rabbit_snmp_worker). -behaviour(gen_server). -export([start/0, start/2, stop/0, stop/1, start_link/0]). -export([init/1, ...
kineticsocial/rabbitmq_snmp_plugin
a0fd1cef7062f67c56274b33e13e0afd61425bc6
Trace messages going to the queues so we can get the number of messages delivered
diff --git a/snmp/RABBITMQ-MIB.mib b/snmp/RABBITMQ-MIB.mib index 9fce880..e384396 100644 --- a/snmp/RABBITMQ-MIB.mib +++ b/snmp/RABBITMQ-MIB.mib @@ -1,262 +1,270 @@ RABBITMQ-MIB DEFINITIONS ::= BEGIN -- -- Top-level infrastructure of the Epic Ads enterprise MIB tree -- IMPORTS MODULE-IDENTITY, OBJECT-...
kineticsocial/rabbitmq_snmp_plugin
48511b3754fc3cfc489955ce5ed5607743ef10da
4 spaces rather then tabs
diff --git a/src/rabbit_snmp.erl b/src/rabbit_snmp.erl index 948632c..e1459a3 100644 --- a/src/rabbit_snmp.erl +++ b/src/rabbit_snmp.erl @@ -1,34 +1,34 @@ -module(rabbit_snmp). -export([start/0, stop/0, start/2, stop/1]). -include("RABBITMQ-MIB.hrl"). load_snmp_environment() -> - Path = code:lib_dir(rabbitmq,...
kineticsocial/rabbitmq_snmp_plugin
d1410e9b7156caa20825a4b7f5232bedeefd05c4
added aggregated vhost data points (queues, exchanges, messages)
diff --git a/snmp/RABBITMQ-MIB.mib b/snmp/RABBITMQ-MIB.mib index 7e0f6aa..9fce880 100644 --- a/snmp/RABBITMQ-MIB.mib +++ b/snmp/RABBITMQ-MIB.mib @@ -1,238 +1,262 @@ RABBITMQ-MIB DEFINITIONS ::= BEGIN -- -- Top-level infrastructure of the Epic Ads enterprise MIB tree -- IMPORTS - MODULE-IDENTITY, OBJECT-TYPE, G...
kineticsocial/rabbitmq_snmp_plugin
d9a8ee25f2ac7a5cd30c88c829c4371b02695caf
made update interval configurable. added gitignore
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8a28226 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +ebin +dist +include/RABBITMQ-MIB.hrl +snmp/RABBITMQ-MIB.bin diff --git a/README b/README index e5088c4..11600be 100644 --- a/README +++ b/README @@ -1,48 +1,56 @@ This is an experimental Rab...
kineticsocial/rabbitmq_snmp_plugin
2ea6567056f04b2b26022aa0811aa6db8c47583d
place holder file so the db directory gets created
diff --git a/snmp/agent/db/README b/snmp/agent/db/README new file mode 100644 index 0000000..fcfd99f --- /dev/null +++ b/snmp/agent/db/README @@ -0,0 +1 @@ +Nothing to see here, just this file to make git create the snmp/agent/db directory for us since it doesn't store empty directories
kineticsocial/rabbitmq_snmp_plugin
8268af20f516aea5367a9714bdd9acd7dd6cd9c3
fix contact e-mail address
diff --git a/README b/README index 04b0d10..e5088c4 100644 --- a/README +++ b/README @@ -1,48 +1,48 @@ This is an experimental RabbitMQ plugin to provide SNMP statistics. It has yet to see production use. BUILD INSTRUCTIONS: based off of: http://www.rabbitmq.com/plugin-development.html 1: Setup your rabbit...
kineticsocial/rabbitmq_snmp_plugin
b8b8d2b2bad931a2a626df1af9961ba0209295c9
initial source drop
diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e90c7ae --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2010 Epic Advertising + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in ...
bjeanes/twibblr
38dec03a46735db1d508a3fcb7470f4c0a070eba
Preview correctly using any markdown library it can find and parsing it, as well as caching output in Post#html_body in the DB
diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index 28612fb..f56ec33 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,47 +1,47 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict....
bjeanes/twibblr
e8e0c9761617da8ef2b536764322818f9c734eb2
Hacky post preview going
diff --git a/app/controllers/twibblr/admin/posts_controller.rb b/app/controllers/twibblr/admin/posts_controller.rb index fed5cfa..ff1cd15 100644 --- a/app/controllers/twibblr/admin/posts_controller.rb +++ b/app/controllers/twibblr/admin/posts_controller.rb @@ -1,40 +1,44 @@ module Twibblr module Admin class Po...
bjeanes/twibblr
acd20fd8314cead6fb73586bb2c468c16f9934e5
A few architechtural changes
diff --git a/app/controllers/twibblr/admin/admin_controller.rb b/app/controllers/twibblr/admin/admin_controller.rb index 34248ff..c9ce734 100644 --- a/app/controllers/twibblr/admin/admin_controller.rb +++ b/app/controllers/twibblr/admin/admin_controller.rb @@ -1,20 +1,20 @@ module Twibblr module Admin class Ad...
bjeanes/twibblr
24e4a3482cda3d73efc84aef6800ed20be14fba4
Playing around with the idea of caching the HTML of the body to save on having to render the body to HTML on every request (though fragment caching could also work)
diff --git a/app/models/twibblr/post.rb b/app/models/twibblr/post.rb index cc346d2..c94301b 100644 --- a/app/models/twibblr/post.rb +++ b/app/models/twibblr/post.rb @@ -1,38 +1,58 @@ class Twibblr::Post < ActiveRecord::Base set_table_name :twibblr_posts default_scope :order => "created_at DESC" has_ma...
bjeanes/twibblr
bf6964174dd53d147c3309407db7c0b4db5fb31d
Get some gem dependencies working from within rails engine!
diff --git a/config/environment.rb b/config/environment.rb new file mode 100644 index 0000000..c788731 --- /dev/null +++ b/config/environment.rb @@ -0,0 +1,15 @@ +# This ensures that helpers reload in development as well +ActiveSupport::Dependencies.load_once_paths.clear if RAILS_ENV == "development" + +# Get the confi...
bjeanes/twibblr
46695c163ea02e5e65057c5302003e0816471814
Fixed exception if you start server before running the install task
diff --git a/init.rb b/init.rb index 94235de..52d5c8b 100644 --- a/init.rb +++ b/init.rb @@ -1,15 +1,19 @@ require 'yaml' # This ensures that helpers reload in development as well ActiveSupport::Dependencies.load_once_paths.clear if RAILS_ENV == "development" module ::Twibblr - CONFIG = YAML.load_file(File.joi...
bjeanes/twibblr
2bd0bcc1ad6360b530653a47402f2ced57416a28
re-add initializers folder
diff --git a/config/initializers/.gitignore b/config/initializers/.gitignore new file mode 100644 index 0000000..e69de29
bjeanes/twibblr
b08a6d024ed7d8de15e3539829798ac84b11cb73
Edit posts, and only show tags in sidebar with more than one post in it
diff --git a/app/controllers/twibblr/admin/posts_controller.rb b/app/controllers/twibblr/admin/posts_controller.rb index 45477e0..fed5cfa 100644 --- a/app/controllers/twibblr/admin/posts_controller.rb +++ b/app/controllers/twibblr/admin/posts_controller.rb @@ -1,24 +1,40 @@ module Twibblr module Admin class Po...
bjeanes/twibblr
1ed3eab4c5969ad23ae7cbdf5ddf34f32da2a02f
Woah can create posts through admin interface and have them show up in site
diff --git a/app/controllers/twibblr/admin/posts_controller.rb b/app/controllers/twibblr/admin/posts_controller.rb index debc4f8..45477e0 100644 --- a/app/controllers/twibblr/admin/posts_controller.rb +++ b/app/controllers/twibblr/admin/posts_controller.rb @@ -1,6 +1,24 @@ module Twibblr module Admin class Pos...
bjeanes/twibblr
dabe7ee7a8b3c2611426214567cb16a6325184c0
Add admin link to sidebar
diff --git a/app/views/layouts/_sidebar.html.erb b/app/views/layouts/_sidebar.html.erb index ade02a0..94136f2 100644 --- a/app/views/layouts/_sidebar.html.erb +++ b/app/views/layouts/_sidebar.html.erb @@ -1,20 +1,21 @@ <div id="sidebar"> - <ul> - <li> - <h2>Updates:</h2> - <ul> - ...
bjeanes/twibblr
8a524e1b833403b513e38b7c1279cd165d2d19e5
Admin panel
diff --git a/app/views/twibblr/admin/admin/index.html.erb b/app/views/twibblr/admin/admin/index.html.erb index 214a88e..faf1afe 100644 --- a/app/views/twibblr/admin/admin/index.html.erb +++ b/app/views/twibblr/admin/admin/index.html.erb @@ -1 +1,2 @@ -admin panel \ No newline at end of file +<%= link_to "Posts", admin_...
bjeanes/twibblr
9cc8c7e62d29b9b118ba9ecd44d35ab04b1c8e1f
Just use BasicAuth for the admin panel for now until twitter OAuth integration can be set up
diff --git a/app/controllers/twibblr/admin/admin_controller.rb b/app/controllers/twibblr/admin/admin_controller.rb index 7e5ea0d..34248ff 100644 --- a/app/controllers/twibblr/admin/admin_controller.rb +++ b/app/controllers/twibblr/admin/admin_controller.rb @@ -1,21 +1,20 @@ module Twibblr module Admin class Ad...
bjeanes/twibblr
d383ed0f2fa7ecb4721b9b0379b2935f2dc0c2c4
added to do list
diff --git a/README b/README index 494a753..38fd5e9 100644 --- a/README +++ b/README @@ -1,13 +1,22 @@ Twibblr ======= A Rails Engine for adding blogging (and much more to come later, such as github commit history, tweets, flicer integration, etc) to an existing site. The aim is to have completely non-conflicting ...
bjeanes/twibblr
77158bd0808d922283126286ab11291250c95322
More admin panel frameworks + routes
diff --git a/app/controllers/twibblr/admin/admin_controller.rb b/app/controllers/twibblr/admin/admin_controller.rb index e0ecfc7..7e5ea0d 100644 --- a/app/controllers/twibblr/admin/admin_controller.rb +++ b/app/controllers/twibblr/admin/admin_controller.rb @@ -1,16 +1,21 @@ module Twibblr module Admin class Ad...
bjeanes/twibblr
b44a16f5a8b8625c97f2ef32618510e36bd2c0c5
Starting admin panel
diff --git a/app/controllers/twibblr/admin/admin_controller.rb b/app/controllers/twibblr/admin/admin_controller.rb new file mode 100644 index 0000000..e0ecfc7 --- /dev/null +++ b/app/controllers/twibblr/admin/admin_controller.rb @@ -0,0 +1,16 @@ +module Twibblr + module Admin + class AdminController < ::Twibblr::Ba...
bjeanes/twibblr
18036fdd65887fb4209d356179601fd9a7470381
Load the layout from a config file
diff --git a/app/controllers/twibblr/base_controller.rb b/app/controllers/twibblr/base_controller.rb index 99c8c37..6a6b1b0 100644 --- a/app/controllers/twibblr/base_controller.rb +++ b/app/controllers/twibblr/base_controller.rb @@ -1,21 +1,20 @@ # Define a master controller for plugin to have defaults set everywhere ...
bjeanes/twibblr
ba3733b61bc5830de3d6fc1cb0bfea11e8f5e640
Changed models to use tables with twibblr as a prefix
diff --git a/app/models/twibblr/comment.rb b/app/models/twibblr/comment.rb index b400b89..59182d2 100644 --- a/app/models/twibblr/comment.rb +++ b/app/models/twibblr/comment.rb @@ -1,4 +1,5 @@ class Twibblr::Comment < ActiveRecord::Base + set_table_name :twibblr_comments belongs_to :post validates_presence_of...
bjeanes/twibblr
16d51da48b48ef3956a390b15e07456476313534
Fixed typo and put sidebar in a partial
diff --git a/app/controllers/twibblr/base_controller.rb b/app/controllers/twibblr/base_controller.rb index 2141789..99c8c37 100644 --- a/app/controllers/twibblr/base_controller.rb +++ b/app/controllers/twibblr/base_controller.rb @@ -1,21 +1,21 @@ # Define a master controller for plugin to have defaults set everywhere ...
bjeanes/twibblr
45d08e299d555676a7b5d312842164f825fde160
Include some authentication stubs that the plugin expects to be implemented
diff --git a/app/controllers/twibblr/base_controller.rb b/app/controllers/twibblr/base_controller.rb index 0ea0c13..2141789 100644 --- a/app/controllers/twibblr/base_controller.rb +++ b/app/controllers/twibblr/base_controller.rb @@ -1,19 +1,21 @@ # Define a master controller for plugin to have defaults set everywhere ...
bjeanes/twibblr
e2dad7dfa9720f55e0cc828288fd893c5f2b502a
only show tags that have posts by default
diff --git a/app/models/twibblr/tag.rb b/app/models/twibblr/tag.rb index 2902cc4..b8f07bc 100644 --- a/app/models/twibblr/tag.rb +++ b/app/models/twibblr/tag.rb @@ -1,33 +1,33 @@ class Twibblr::Tag < ActiveRecord::Base - default_scope :order => "posts_count" + default_scope :order => "posts_count", :conditions => ["...
bjeanes/twibblr
cda74fa50b8bbfd7fa11c289bd9426d13d238fd9
require authentication library (which will just be stubs for overriding)
diff --git a/init.rb b/init.rb index 94235de..e627d60 100644 --- a/init.rb +++ b/init.rb @@ -1,15 +1,16 @@ require 'yaml' +require 'twibblr/authentication' # This ensures that helpers reload in development as well ActiveSupport::Dependencies.load_once_paths.clear if RAILS_ENV == "development" module ::Twibblr ...
bjeanes/twibblr
46b65ee12867444fc3c4ae08648cd6735779e5ab
Some README work
diff --git a/README b/README index 13d06f7..494a753 100644 --- a/README +++ b/README @@ -1,13 +1,13 @@ Twibblr ======= -Introduction goes here. +A Rails Engine for adding blogging (and much more to come later, such as github commit history, tweets, flicer integration, etc) to an existing site. The aim is to have co...
bjeanes/twibblr
0a715467120f197690a3838a0b384e19cb9a0749
Load in the site name into templates using the config yaml file
diff --git a/app/helpers/twibblr/main_helper.rb b/app/helpers/twibblr/main_helper.rb index 226ccb9..ed97df6 100644 --- a/app/helpers/twibblr/main_helper.rb +++ b/app/helpers/twibblr/main_helper.rb @@ -1,38 +1,46 @@ module Twibblr::MainHelper def render_posts(*args, &block) # if they are fetching posts in the c...
bjeanes/twibblr
27e3868cdb8b1ce64a1465367c0988d601618d35
Made installer a bit more robust and puts a config yml file into the config directly
diff --git a/config/twibblr.yml.erb b/config/twibblr.yml.erb new file mode 100644 index 0000000..05ebe02 --- /dev/null +++ b/config/twibblr.yml.erb @@ -0,0 +1 @@ +site_name: <%= File.basename(RAILS_ROOT) %> \ No newline at end of file diff --git a/install.rb b/install.rb index f7732d3..10eb878 100644 --- a/install.rb +...
bjeanes/twibblr
e08e85ba71de81971df135e26b74ffa236efa7db
Namespaced module as well
diff --git a/app/controllers/twibblr/base_controller.rb b/app/controllers/twibblr/base_controller.rb index 029b7e8..0ea0c13 100644 --- a/app/controllers/twibblr/base_controller.rb +++ b/app/controllers/twibblr/base_controller.rb @@ -1,19 +1,19 @@ # Define a master controller for plugin to have defaults set everywhere ...
bjeanes/twibblr
e2030df93fc11e9fbd96e589461759760bc3a44b
Namespaced everything so as not to conflict
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb deleted file mode 100644 index 3dd0981..0000000 --- a/app/controllers/posts_controller.rb +++ /dev/null @@ -1,41 +0,0 @@ -class PostsController < TwibblrController - before_filter :filter_by_time, :only => [:index, :show] - - def...
bjeanes/twibblr
59155f2a746c631845bf91b7c18f2066122bd4dc
Fixed paths
diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index aad3f8a..8d72def 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,64 +1,64 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict....
bjeanes/twibblr
d1f930e4808aa1d193886d3a62bf1b5eddb0b840
Delete no longer used files from the twibblr directly on install
diff --git a/tasks/install.rake b/tasks/install.rake index 2bf5add..9f17460 100644 --- a/tasks/install.rake +++ b/tasks/install.rake @@ -1,7 +1,7 @@ namespace :twibblr do task :install do # From railscasts #149 system "rsync -ruv vendor/plugins/twibblr/db/migrate db" - system "rsync -ruv vendor/plugins...
bjeanes/twibblr
a5a987e486637ef045401a5302a758bd31a7af1c
Just RSync'ing files instead of AssetsController hackery
diff --git a/app/controllers/assets_controller.rb b/app/controllers/assets_controller.rb deleted file mode 100644 index 3acb05e..0000000 --- a/app/controllers/assets_controller.rb +++ /dev/null @@ -1,43 +0,0 @@ -class AssetsController < TwibblrController - layout nil - around_filter :asset_check - - PUBLIC_DIR = Fil...
bjeanes/twibblr
6b365115ffc9315bad76f64daa087e74746d57a6
Made a few links for navigation for demo purposes
diff --git a/app/views/layouts/twibblr.html.erb b/app/views/layouts/twibblr.html.erb index e2f6906..aad3f8a 100644 --- a/app/views/layouts/twibblr.html.erb +++ b/app/views/layouts/twibblr.html.erb @@ -1,64 +1,64 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict....
bjeanes/twibblr
e2bbfb0ce970ef7719a61e4f697460c615dacda3
made tag viewing work (loads index action)
diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 9d233d9..3dd0981 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -1,40 +1,41 @@ class PostsController < TwibblrController before_filter :filter_by_time, :only => [:index, :show]...