ruby_universign 0.2.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1fa1af558c66f055f6fe0199c1733e6397f963c
4
- data.tar.gz: c5b5525f439229fa8b4633bb804971324ba07481
3
+ metadata.gz: 11f8da6678fe2eabbade54811eadfcb73fd97d05
4
+ data.tar.gz: d72c7cc029d9de15de14da7ab6ba466f1913aa0f
5
5
  SHA512:
6
- metadata.gz: 5f81314ec97a5383cbc63eee709122508ec6c6af177c08f4359419f50499df4389f6b405576982aba02c6f9b5ee1553e28a8c756e5e401e039764ba39116afb3
7
- data.tar.gz: 9cd5a8bf9c16232d8593304fed7e6ba098baf057646f02837bee5a78c61bbddfbd3fe175e0baae66f3158e9b2ea4f18e447832119a6da257960d34345554714d
6
+ metadata.gz: 60ed3572c4fcee9a15f5918a439e174cfaf6ef1731988f73beab96e9a3779cbdc6623ef1e4defa472981b3d00116cbdfef61f1d81387c322408b53faadeafb6e
7
+ data.tar.gz: eaa7ba2fed5b941647c054f1dc73440939685f0e27eab1b59804e20cf2372636524203db95b0a3282825025bf94a269c227f24bd3029c2dc3e237929361ca873
data/CODE_OF_CONDUCT.md CHANGED
@@ -1,13 +1,73 @@
1
- # Contributor Code of Conduct
1
+ # Contributor Covenant Code of Conduct
2
2
 
3
- As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
3
+ ## Our Pledge
4
4
 
5
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
6
11
 
7
- Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
12
+ ## Our Standards
8
13
 
9
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
10
16
 
11
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
12
22
 
13
- This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at development@capsens.eu. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
data/README.md CHANGED
@@ -16,9 +16,20 @@ Add this line to your application's Gemfile:
16
16
  gem 'ruby_universign', require: 'universign'
17
17
  ```
18
18
 
19
- And then run `bundle`
19
+ And then `bundle`
20
+
21
+ Or install it with:
22
+
23
+ ```
24
+ gem install ruby_universign
25
+ ```
26
+
27
+ And load it with:
28
+
29
+ ```ruby
30
+ require 'universign'
31
+ ```
20
32
 
21
- Or, #TODO
22
33
 
23
34
  ## Usage
24
35
 
@@ -66,10 +77,10 @@ transaction.url
66
77
  transaction.transaction_id
67
78
  # => "9696179e-a43d-4803-beeb-9e5c02fd159b"
68
79
 
69
- # get back universign transaction:
80
+ # reload transaction data from universign:
70
81
  transaction = Universign::Transaction.new('9696179e-a43d-4803-beeb-9e5c02fd159b')
82
+ # was the transaction signed by the user ?
71
83
  transaction.signed?
72
-
73
84
  ```
74
85
 
75
86
  ### `Universign::Document`
@@ -132,7 +143,7 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
132
143
 
133
144
  To install this gem onto your local machine, run `bundle exec rake install`.
134
145
 
135
- (# TODO) To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
146
+ To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
136
147
 
137
148
  ## Contributing
138
149
 
@@ -141,9 +152,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/CapSen
141
152
  ## License
142
153
 
143
154
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
144
-
145
-
146
-
147
- ## notes
148
-
149
- final_doc_sent: pour que le document soit envoyé par mail au signataire
@@ -1,3 +1,3 @@
1
1
  module Universign
2
- VERSION = "0.2.0"
2
+ VERSION = "1.0.0"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_universign
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Besnard
@@ -148,6 +148,7 @@ files:
148
148
  - lib/universign/transaction.rb
149
149
  - lib/universign/transaction_signer.rb
150
150
  - lib/universign/version.rb
151
+ - ruby_universign-0.2.0.gem
151
152
  - ruby_universign.gemspec
152
153
  homepage: https://github.com/CapSens/universign
153
154
  licenses: