contracto 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDljYTgwNGI5NjBjOGE4YjFkOTJmZjEyZjViNmNhODNhMTM2OTA1NQ==
5
- data.tar.gz: !binary |-
6
- MDdjMzZkNmNjNTk4NmVmYjRiY2Y1MzhhZjJhZjYzMDFlYzExN2M3ZQ==
2
+ SHA1:
3
+ metadata.gz: b6a6ac6dee26d30538f34c3e9b4f91492a5642e7
4
+ data.tar.gz: 02d982f6a0bed2dbc2a09c8912b3bd2a031c51b6
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MTczMzMzMTU0ZGZlZWFmNjU1ZTcyMmNjMjIyNmI3NWQ3NWU1OWUwOGU1ZmQy
10
- M2IxYWFjYzk4NGU2YTIwOWQwNTZlNzhjNTkxY2E1Y2FmMjFiNTAzMmQxNDM4
11
- Yjc2NTU2YjUyZjExYzk1ZGQxM2YwNzgwMTA4YWYzY2YyZmVjZmM=
12
- data.tar.gz: !binary |-
13
- NjA1ZDVmOTY3YTczYTczMzI5Zjc5M2M3ODBkZTliOThhN2RkMTE3OGU1ZGM0
14
- N2FlOTQzN2RiMmU2ZmQxNWZiZmVlMzIzYzVlYTc3N2MyMDVhNjhiM2VmZjQ1
15
- MmEwOWIzMmNiZjQ3Y2M4NWZkNGY1YmRjYzk3OGUwYmU4N2I4N2U=
6
+ metadata.gz: 76a85b80e178b3dd657a08af516d3ad773f0936228f3d542c7e429a58aeaf0336c542fd8dfaa9d59192b7daee62ba196e768353779d7a327a1903432104422dd
7
+ data.tar.gz: c1656aad2f89598983146c778a6c850fb3fd178614bcb99a3c0246d202b72e15eb909657bc4721e58ec6f2e06ecfce6e2d315fbe2780a218c062d41e560a9643
@@ -1,5 +1,5 @@
1
1
  class Contracto::Installer
2
- require 'contracto/installer/local'
2
+ require_relative 'installer/local'
3
3
 
4
4
  def initialize(args)
5
5
  if args.empty?
@@ -1,4 +1,4 @@
1
- require './contracto/server'
1
+ require_relative 'server'
2
2
 
3
3
  set :run, false
4
4
  set :environment, :production
@@ -1,3 +1,3 @@
1
1
  module Contracto
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
data/lib/contracto.rb CHANGED
@@ -1,14 +1,14 @@
1
- require "contracto/version"
1
+ require_relative 'contracto/version' # TODO: replace all #require with #require_relative
2
2
 
3
3
  module Contracto
4
- GEM_DIR = Gem::Specification.find_by_name('contracto').gem_dir
5
- CONTRACTO_DIR = 'contracto'
6
- CONTRACTO_TMP_DIR = '.tmp.contracto'
7
- RUBY_SERVER_DIR = "#{GEM_DIR}/lib/contracto/server/ruby"
8
- CONTRACT_FILENAME = 'contract.cdc.rb'
4
+ GEM_DIR = Gem::Specification.find_by_name('contracto').gem_dir
5
+ CONTRACTO_DIR = 'contracto'
6
+ CONTRACTO_TMP_DIR = '.tmp.contracto'
7
+ RUBY_SERVER_DIR = "#{GEM_DIR}/lib/contracto/server/ruby"
8
+ CONTRACT_FILENAME = 'contract.cdc.rb'
9
9
  CONTRACT_PID_FILEPATH = "#{CONTRACTO_DIR}/server.pid"
10
10
 
11
- require 'contracto/installer'
12
- require 'contracto/runner'
13
- require 'contracto/terminator'
11
+ require_relative 'contracto/installer'
12
+ require_relative 'contracto/runner'
13
+ require_relative 'contracto/terminator'
14
14
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contracto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kacper Walanus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-12 00:00:00.000000000 Z
11
+ date: 2015-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.7'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.7'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '10.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '10.0'
55
55
  description: XXX
@@ -60,7 +60,7 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - .gitignore
63
+ - ".gitignore"
64
64
  - Gemfile
65
65
  - LICENSE.txt
66
66
  - README.md
@@ -87,12 +87,12 @@ require_paths:
87
87
  - lib
88
88
  required_ruby_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - ! '>='
90
+ - - ">="
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ! '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []