Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 5 files changed
  • 0 commit comments
  • 1 contributor
View
19 Rakefile
@@ -2,24 +2,7 @@
# YUCK! http://stackoverflow.com/questions/4755900/how-to-make-jruby-1-6-default-to-ruby-1-9
ENV['JRUBY_OPTS'] ||= '--1.9'
-begin
- require 'rubygems'
- gem 'jeweler'
- require 'jeweler'
- Jeweler::Tasks.new do |s|
- s.name = "asir"
- #s.executables = ""
- s.summary = "Abstracting Services in Ruby"
- s.email = "ks.ruby@kurtstephens.com"
- s.homepage = "http://github.com/kstephens/abstracting_services_in_ruby"
- s.description = s.summary
- s.authors = ["Kurt Stephens"]
- s.files = FileList["[A-Z]*", "{bin,lib,test,spec,doc,example,hack_night}/**/*" ]
- #s.add_dependency 'schacon-git'
- end
-rescue LoadError
- puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler -s http://gems.github.com"
-end
+require "bundler/gem_tasks"
gem 'rspec'
require 'rspec/core/rake_task'
View
2  VERSION
@@ -1 +1 @@
-0.1.0
+0.2.0
View
76 asir.gemspec
@@ -5,89 +5,23 @@
Gem::Specification.new do |s|
s.name = %q{asir}
- s.version = "0.1.0"
-
+ s.version = "0.2.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Kurt Stephens"]
- s.date = %q{2010-12-10}
+ s.date = %q{2012-04-03}
s.description = %q{Abstracting Services in Ruby}
s.email = %q{ks.ruby@kurtstephens.com}
s.extra_rdoc_files = [
"README.textile"
]
- s.files = [
- "README.textile",
- "Rakefile",
- "VERSION",
- "doc/Rakefile",
- "doc/asir-sequence.pic",
- "doc/asir-sequence.svg",
- "doc/sequence.pic",
- "example/ex01.rb",
- "example/ex02.rb",
- "example/ex03.rb",
- "example/ex04.rb",
- "example/ex05.rb",
- "example/ex06.rb",
- "example/ex07.rb",
- "example/ex08.rb",
- "example/ex09.rb",
- "example/ex10.rb",
- "example/ex11.rb",
- "example/example_helper.rb",
- "example/sample_service.rb",
- "hack_night/README.txt",
- "hack_night/exercise/prob-1.rb",
- "hack_night/exercise/prob-2.rb",
- "hack_night/exercise/prob-3.rb",
- "hack_night/exercise/prob-4.rb",
- "hack_night/exercise/prob-5.rb",
- "hack_night/exercise/prob-6.rb",
- "hack_night/exercise/prob-7.rb",
- "hack_night/solution/math_service.rb",
- "hack_night/solution/prob-1.rb",
- "hack_night/solution/prob-2.rb",
- "hack_night/solution/prob-3.rb",
- "hack_night/solution/prob-4.rb",
- "hack_night/solution/prob-5.rb",
- "hack_night/solution/prob-6.rb",
- "hack_night/solution/prob-7.rb",
- "lib/asir.rb",
- "lib/asir/client.rb",
- "lib/asir/coder.rb",
- "lib/asir/coder/base64.rb",
- "lib/asir/coder/chain.rb",
- "lib/asir/coder/json.rb",
- "lib/asir/coder/marshal.rb",
- "lib/asir/coder/sign.rb",
- "lib/asir/coder/xml.rb",
- "lib/asir/coder/yaml.rb",
- "lib/asir/configuration.rb",
- "lib/asir/initialization.rb",
- "lib/asir/log.rb",
- "lib/asir/object_resolving.rb",
- "lib/asir/request.rb",
- "lib/asir/response.rb",
- "lib/asir/transport.rb",
- "lib/asir/transport/broadcast.rb",
- "lib/asir/transport/fallback.rb",
- "lib/asir/transport/file.rb",
- "lib/asir/transport/http.rb",
- "lib/asir/transport/tcp_socket.rb",
- "spec/example_spec.rb",
- "spec/json_spec.rb",
- "spec/xml_spec.rb"
- ]
+ s.files = `git ls-files`.split("\n")
+ s.executables.push(*`git ls-files bin`.split("\n").map{|f| f.gsub('bin/', '')})
s.homepage = %q{http://github.com/kstephens/abstracting_services_in_ruby}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{Abstracting Services in Ruby}
- s.test_files = [
- "spec/example_spec.rb",
- "spec/json_spec.rb",
- "spec/xml_spec.rb"
- ]
+ s.test_files = `git ls-files spec`.split("\n")
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
View
3  lib/asir.rb
@@ -206,10 +206,11 @@ module ASIR
# Reusable constants to avoid unnecessary garbage.
EMPTY_ARRAY = [ ].freeze; EMPTY_HASH = { }.freeze; EMPTY_STRING = ''.freeze
MODULE_SEP = '::'.freeze; IDENTITY_LAMBDA = lambda { | x | x }
-
end
# !SLIDE END
+Asir = ASIR
+require "asir/version"
require 'asir/error'
require 'asir/log'
require 'asir/initialization'
View
3  lib/asir/version.rb
@@ -0,0 +1,3 @@
+module ASIR
+ VERSION = "0.2.0"
+end

No commit comments for this range

Something went wrong with that request. Please try again.