Commits

Sean Wilkinson committed ec74bc1

Also separated the Ruby gem into its own repository

Comments (0)

Files changed (10)

 [submodule "src/npm-package"]
 	path = src/npm-package
 	url = https://github.com/qmachine/qm-nodejs.git
+[submodule "src/ruby-gem"]
+	path = src/ruby-gem
+	url = https://github.com/qmachine/qm-ruby.git
                 QM_WWW_STRING='"$(BUILD_DIR)/local-sandbox/katamari.json"'  \
                     $(NPM) start
 
-npm-package: $(BUILD_DIR)/npm-package/README.md
-	@   $(CD) $(dir $<)                                             ;   \
+npm-package: | $(BUILD_DIR)/npm-package/
+	@   $(CD) $(BUILD_DIR)/npm-package/                             ;   \
             $(NPM) install                                              ;   \
             $(NPM) shrinkwrap                                           ;   \
             $(call hilite, 'Created $@.')
             $(BUNDLE) package                                           ;   \
             $(BUNDLE) exec rackup
 
-ruby-gem: $(BUILD_DIR)/ruby-gem/README.md
+ruby-gem: | $(BUILD_DIR)/ruby-gem/
 	@   $(CD) $(BUILD_DIR)/ruby-gem/                                ;   \
             $(GEM) build qm.gemspec
 
 
 [![Build Status](https://drone.io/github.com/wilkinson/qmachine/status.png)](https://drone.io/github.com/wilkinson/qmachine/latest)
 
-<!--
-<a href="https://runnable.com/qmachine" target="_blank"><img src="https://runnable.com/external/styles/assets/runnablebtn.png" style="width:67px;height:25px;"></a>
--->
-

src/bower-package/bower.json

         "bootstrap": "2.3.1",
         "coffee-script": "1.6.2",
         "jquery": "1.9.1",
-        "quanah": "0.1.6"
+        "quanah": "0.1.7"
     },
     "main": [
         "./src/browser-client/qmachine.js",
         "./src/browser-client/style.css"
     ],
     "name": "qm",
-    "version": "1.0.0"
+    "version": "1.0.1"
 }

src/browser-client/manifest.webapp

     "name": "QMachine",
     "permissions": {},
     "type": "web",
-    "version": "1.0.0"
+    "version": "1.0.1"
 }

src/chrome-hosted-app/manifest.json

     "permissions": [
         "unlimitedStorage"
     ],
-    "version": "1.0.0"
+    "version": "1.0.1"
 }

src/ruby-gem/examples/twoplustwo.rb

-#-  Ruby source code
-
-#-  twoplustwo.rb ~~
-#                                                       ~~ (c) SRW, 27 May 2013
-#                                                   ~~ last updated 27 May 2013
-
-require './lib/qm'
-
-puts '(placeholder: `2 + 2`)'
-
-#-  vim:set syntax=ruby:

src/ruby-gem/lib/qm.rb

-#-  Ruby source code
-
-#-  qm.rb ~~
-#                                                       ~~ (c) SRW, 12 Apr 2013
-#                                                   ~~ last updated 17 Apr 2013
-
-module QM
-
-  private
-
-    class QM_Client
-
-        def initialize
-          # This function needs documentation.
-            # ...
-        end
-
-    end
-
-  public
-
-    def self::launch_client()
-      # This function needs documentation.
-        puts '(placeholder: `launch_client`)';
-        return;
-    end
-
-    def self::launch_service(*obj)
-      # This function needs documentation.
-        puts '(placeholder: `launch_service`)';
-        return;
-    end
-
-end
-
-#-  vim:set syntax=ruby:

src/ruby-gem/qm.gemspec

-#-  Ruby gem specification file
-
-#-  qm.gemspec ~~
-#                                                       ~~ (c) SRW, 12 Apr 2013
-#                                                   ~~ last updated 30 May 2013
-
-Gem::Specification.new do |spec|
-
-    spec.author = 'Sean Wilkinson'
-
-    spec.date = Time.now
-
-    spec.description = 'This is a *very incomplete* port of QMachine.'
-
-    spec.email = 'sean@mathbiol.org'
-
-    spec.extra_rdoc_files = [
-        'README.md'
-    ]
-
-    spec.files = [
-        'lib/qm.rb'
-    ]
-
-    spec.homepage = 'https://www.qmachine.org'
-
-    spec.name = 'qm'
-
-    spec.summary = %q{The World's Most Relaxed Supercomputer}
-
-    spec.version = '1.0.0'
-
-end
-
-#-  vim:set syntax=ruby:

src/web-service/package.json

         "email": "sean@mathbiol.org"
     },
     "dependencies": {
-        "qm": "1.0.0"
+        "qm": "1.0.1"
     },
     "engines": {
         "node": ">= 0.8.0",
     "readme": "See https://wiki.qmachine.org for more information.",
     "repository": [],
     "scripts": {},
-    "version": "1.0.0"
+    "version": "1.0.1"
 }