summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'