operation 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -0
  3. data/lib/operation/version.rb +1 -1
  4. metadata +7 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f94e9016bc8af451f55389d78d58f6123311d99
4
- data.tar.gz: 18ff89827a6e314e669982c0b20e1420bbf8ef01
3
+ metadata.gz: 6766121fb6a42f51ddf231661193ca140a6cbb06
4
+ data.tar.gz: 7787438056e3d1dbd4bec18ba2e93f74dd8dc8c5
5
5
  SHA512:
6
- metadata.gz: 4f4363d6801908c589fb62eefa8864620981026e175e52155a7abdc3b1c54e4932d36b6bf6050ea48c56368df12065c0be41926d63271b623512ae21978bc43c
7
- data.tar.gz: dc133b43f1452a22d36d8e645f87837a69b33224bf5901a66370fdb5f72a559b03a60d7f2a5ecd42c113b88329819bee542bfe64f1d90030669409d3d3ba8b2f
6
+ metadata.gz: 043dd23cd28b7080b5eb2f90df12437fdc627c0756d3388c438cad93fb7e21ecad0f216d94ba4cd3b5ff536667851958da08139ca1f5663ab6e5406c48b3949a
7
+ data.tar.gz: 2f4eb5f9aa09a9ff1f0f0cc55c8249405ddef63b4bdb17534bd7582fd73fb0699e94d3e63eb9fae2d1195ccda3af3d6b148ab98a3ee96fb6185a37a1efb24f24
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2014 halo
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -2,7 +2,7 @@ class Operation
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: operation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - halo
@@ -66,12 +66,15 @@ dependencies:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: See https://github.com/halo/operation
69
+ description: Implementation-agnostic method return status objects (say what?). Your
70
+ methods can just return an Operation.new instance that holds information about whether
71
+ the operation succeeded or not.
70
72
  email:
71
73
  executables: []
72
74
  extensions: []
73
75
  extra_rdoc_files: []
74
76
  files:
77
+ - MIT-LICENSE
75
78
  - README.md
76
79
  - lib/operation.rb
77
80
  - lib/operation/version.rb
@@ -80,7 +83,7 @@ files:
80
83
  - spec/spec_helper.rb
81
84
  homepage: https://github.com/halo/operation
82
85
  licenses:
83
- - MIT-LICENSE
86
+ - MIT
84
87
  metadata: {}
85
88
  post_install_message:
86
89
  rdoc_options: []
@@ -90,7 +93,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
93
  requirements:
91
94
  - - '>='
92
95
  - !ruby/object:Gem::Version
93
- version: '0'
96
+ version: 1.9.3
94
97
  required_rubygems_version: !ruby/object:Gem::Requirement
95
98
  requirements:
96
99
  - - '>='