redmine_rest 0.1.0 → 0.1.1

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: 4f1ca60f64e178a35e943be8ae36f156970eb94e
4
- data.tar.gz: 2006625450d0914a71d4501c1adb8f5c224fb987
3
+ metadata.gz: 47ba9981d3a1c0ec378761361a4fb2d78567576d
4
+ data.tar.gz: 3869e170a9f1f7963c1a809695d495fc45715321
5
5
  SHA512:
6
- metadata.gz: 78e0bc5c5a26f90850a7dcb4808597613d5e0da6811d30b1922b80ca5a7ca91c2315b4680ca4c7e8f81dffdbf96c00d9cbdf630f9c176eced6ab29ed43e94319
7
- data.tar.gz: 21790ede850ef2f18a3ba1a762305ac2fdcb77dfdbcff59771dcad9f8634f2a6397aa5bc95d4667d4b33ad4d768da34907cd5143ea944d1e824da455cf4ff5f9
6
+ metadata.gz: 491477c10183f3a00af074318b03a9221c2050dbb7a7a73b61678b3138da44be5aa008427828eee6e7c8981fa7fe4edb75091cb40553793949cd93791d382d92
7
+ data.tar.gz: ab062a2f8f92f74ae5b22d4dea6b909ccd75ef3aec69dcf91a67ccd9120769a5e1338904dfd853aaab311aa041b441ccd6baec60af07f20770af20b17bb190a6
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # RedmineRest
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/redmine_rest`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ This is gem with some ActiveResource models for Redmine.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
6
5
 
7
6
  ## Installation
8
7
 
@@ -22,20 +21,17 @@ Or install it yourself as:
22
21
 
23
22
  ## Usage
24
23
 
25
- TODO: Write usage instructions here
24
+ RedmineRest::Models.configure_models user: 'user', password: 'password', site: 'URL'
25
+ # or by using apikey:
26
+ RedmineRest::Models.configure_models apikey: 'apikey', site: 'URL'
27
+ issue = RedmineRest::Models::Issue.find(1234)
26
28
 
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. 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).
32
29
 
33
30
  ## Contributing
34
31
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/redmine_rest.
32
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Nondv/redmine_rest.
36
33
 
37
34
 
38
35
  ## License
39
36
 
40
37
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
-
@@ -1,3 +1,3 @@
1
1
  module RedmineRest
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
data/redmine_rest.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ['non.dmitriy@gmail.com']
11
11
 
12
12
  spec.summary = 'Gem includes some ActiveResource models for Redmine'
13
- spec.homepage = ''
13
+ spec.homepage = 'https://github.com/Nondv/redmine_rest'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Non
@@ -106,7 +106,7 @@ files:
106
106
  - lib/redmine_rest/models/version.rb
107
107
  - lib/redmine_rest/version.rb
108
108
  - redmine_rest.gemspec
109
- homepage: ''
109
+ homepage: https://github.com/Nondv/redmine_rest
110
110
  licenses:
111
111
  - MIT
112
112
  metadata: {}