summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKip Cole2012-10-05 07:57:36 +0800
committerKip Cole2012-10-05 07:57:36 +0800
commite6fd34c92170cf256e3808b7e39e6bf7dc048ef2 (patch)
tree540dfd7b9addb5fb2ab58f5b1c193cfaae45a59e
parent1e5be2287c3e748988836fda56d38c74475e25d8 (diff)
downloadevernote-e6fd34c92170cf256e3808b7e39e6bf7dc048ef2.tar.bz2
Update gemspec
-rw-r--r--.gitignore2
-rw-r--r--evernote.gemspec6
-rw-r--r--example.rb3
3 files changed, 10 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index d164c1e..71de91a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,5 @@ rdoc
pkg
*.o
*.bundle
+ext/Makefile
+ext/mkmf.log
diff --git a/evernote.gemspec b/evernote.gemspec
index 51875ae..a6c2f41 100644
--- a/evernote.gemspec
+++ b/evernote.gemspec
@@ -18,8 +18,12 @@ Gem::Specification.new do |s|
s.add_development_dependency "rspec"
s.add_development_dependency "yard"
+
+ s.extensions = ['ext/extconf.rb']
+ s.executables = ['thrift_native']
- s.files = Dir.glob("{lib,spec,vendor}/**/*") +
+ s.files = Dir.glob("{lib,spec,vendor}/**/*") + Dir.glob('ext/**/*.{c,h,rb}') +
%w(LICENSE README.mkd Rakefile .gitignore example.rb)
+
s.require_path = 'lib'
end
diff --git a/example.rb b/example.rb
index 861a412..c864e20 100644
--- a/example.rb
+++ b/example.rb
@@ -1,3 +1,6 @@
+#
+# TODO - Not compatible with this version of the Gem which only support oauth.
+#
require 'rubygems'
require 'evernote'