[DRE-commits] [ruby-eye] 01/04: depend on state_machines instead of unmaintained state_machine

Cédric Boutillier boutil at moszumanska.debian.org
Mon Jun 27 21:05:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-eye.

commit 65b5f671eb975eafb03be5282fd9cf5957a732ad
Author: Cédric Boutillier <boutil at debian.org>
Date:   Mon Jun 27 22:59:02 2016 +0200

    depend on state_machines instead of unmaintained state_machine
---
 debian/control                      |  4 ++--
 debian/patches/state-machines.patch | 46 +++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 3b9cfa8..70e3bb5 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 9~),
                ruby-celluloid (>= 0.16.0-4~),
                ruby-celluloid-io (>= 0.16.0~),
                ruby-sigar (>= 0.7.3~),
-               ruby-state-machine,
+               ruby-state-machines,
                ruby-thor
 Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-eye.git
@@ -24,7 +24,7 @@ Depends: ruby | ruby-interpreter,
          ruby-celluloid (>= 0.16.0-4~),
          ruby-celluloid-io (>= 0.16.0~),
          ruby-sigar (>= 0.7.3~),
-         ruby-state-machine,
+         ruby-state-machines,
          ruby-thor,
          ${misc:Depends},
          ${shlibs:Depends}
diff --git a/debian/patches/state-machines.patch b/debian/patches/state-machines.patch
new file mode 100644
index 0000000..c40b051
--- /dev/null
+++ b/debian/patches/state-machines.patch
@@ -0,0 +1,46 @@
+Description: depend on state_machines instead of unmaintained state_machine gem
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2016-06-27
+
+--- a/eye.gemspec
++++ b/eye.gemspec
+@@ -21,7 +21,7 @@
+ 
+   gem.add_dependency 'celluloid',     '~> 0.16.0'
+   gem.add_dependency 'celluloid-io',  '~> 0.16.0'
+-  gem.add_dependency 'state_machine'
++  gem.add_dependency 'state_machines'
+   gem.add_dependency 'thor'
+   gem.add_dependency 'sigar',         '~> 0.7.3'
+ 
+--- a/lib/eye/loader.rb
++++ b/lib/eye/loader.rb
+@@ -6,5 +6,5 @@
+ gem 'nio4r'
+ gem 'timers'
+ 
+-gem 'state_machine'
++gem 'state_machines'
+ gem 'sigar',         '~> 0.7.2'
+--- a/lib/eye/process/states.rb
++++ b/lib/eye/process/states.rb
+@@ -1,5 +1,5 @@
+-require 'state_machine'
+-require 'state_machine/version'
++require 'state_machines'
++require 'state_machines/version'
+ 
+ class Eye::Process
+   class StateError < Exception; end
+--- a/metadata.yml
++++ b/metadata.yml
+@@ -39,7 +39,7 @@
+       - !ruby/object:Gem::Version
+         version: 0.16.0
+ - !ruby/object:Gem::Dependency
+-  name: state_machine
++  name: state_machines
+   requirement: !ruby/object:Gem::Requirement
+     requirements:
+     - - ">="

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-eye.git



More information about the Pkg-ruby-extras-commits mailing list