Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few small fixes #5

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
11 changes: 1 addition & 10 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
source 'https://rubygems.org'

gem 'ruby2ruby'
gem 'ParseTree'
gem 'httparty'
gem 'activesupport'
gem 'method_source'
gem 'net-ssh'
gem 'net-ssh'
gem 'rspec'
gem 'memcached'
gem 'el4r'
gemspec

4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require 'rake'
require 'spec/rake/spectask'
require 'rspec/core/rake_task'

# Define task
Spec::Rake::SpecTask.new(:spec) do |t|
RSpec::Core::RakeTask.new(:spec) do |t|
end

task :default => :spec
7 changes: 4 additions & 3 deletions etc/command/xiki_process.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Don't hard-code, generate with script? - or use __file path xiki env var!
require '/projects/xiki/lib/ol'
require 'core_ext'
require File.dirname(__FILE__) + '/../../lib/ol'
require 'active_support/core_ext'

require 'menu'

require 'launcher'

Xiki.init
# this init is not needed here
#Xiki.init

# Make named pipes for input and output

Expand Down
1 change: 1 addition & 0 deletions lib/view.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- encoding : iso-8859-1 -*-
#
# Represents a division of a window (in emacs terms, it's a window (which is within a frame))
#
Expand Down
8 changes: 4 additions & 4 deletions spec/remote_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ def self.method_missing(meth, *args, &block); end
before(:each) do
$el = mock 'el'
$el.stub!(:buffer_modified_p).and_return false
View = mock 'View'
View.stub!(:path).and_return '/tmp/remote_rb/tmp,hey.txt'
View.stub!(:file)#.and_return '/tmp/remote_rb/tmp,hey.txt'
View.stub!(:beep)#.and_return '/tmp/remote_rb/tmp,hey.txt'
view = mock 'View'
view.stub!(:path).and_return '/tmp/remote_rb/tmp,hey.txt'
view.stub!(:file)#.and_return '/tmp/remote_rb/tmp,hey.txt'
view.stub!(:beep)#.and_return '/tmp/remote_rb/tmp,hey.txt'
end

it "should save remotely" do
Expand Down
14 changes: 13 additions & 1 deletion xiki.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ Gem::Specification.new do |s|
# current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
# s.specification_version = 3

s.add_development_dependency("rspec", ["~> 2.3.0"])
s.add_development_dependency "rspec"
s.add_dependency 'ruby2ruby'
s.add_dependency 'ParseTree'
s.add_dependency 'httparty'
s.add_dependency 'activesupport'
s.add_dependency 'method_source'
s.add_dependency 'net-ssh'
s.add_dependency 'net-sftp'
s.add_dependency 'memcached'
s.add_dependency 'el4r'
s.add_dependency 'rake'
s.add_dependency 'daemons'


end