R3c 0.0.4 → 0.0.5
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 +4 -4
- data/lib/Gemfile +7 -0
- data/lib/r3c.rb +3 -3
- data/lib/r3c/r3c.rb +55 -9
- data/lib/r3c/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76640c3136df3ef8fc0329487792e6c2f0044af1
|
4
|
+
data.tar.gz: 5d23eb121f278cbf71ce9b560456a68f3c2bd8e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbeeba533fcbb60af5d3db7f381db94a08220058a9357d5f5aa841fd6bd1867e3b03052cc3a8f5ba8d57620f6b318ad07c15bf0762a8de89d9494ac0ec2a0247
|
7
|
+
data.tar.gz: 08b1f1227e62d69d66f3022741e3ec56bb78e0bd3817d1eb051165c705b3ecf8c2b6192894b390d5c417066aaab6f9632547bfa546d20a7c636cd4d3a1e91d30
|
data/lib/Gemfile
ADDED
data/lib/r3c.rb
CHANGED
@@ -55,10 +55,10 @@ end
|
|
55
55
|
end
|
56
56
|
|
57
57
|
|
58
|
-
R3c.site('http://localhost:3000/')
|
59
|
-
R3c.format(:xml)
|
58
|
+
#~ R3c.site('http://localhost:3000/')
|
59
|
+
#~ R3c.format(:xml)
|
60
60
|
|
61
|
-
R3c.auth({api: {key: '8091d55257c4c90b6d56e83322622cb5f4ecee64'}})
|
61
|
+
#~ R3c.auth({api: {key: '8091d55257c4c90b6d56e83322622cb5f4ecee64'}})
|
62
62
|
|
63
63
|
#~ file = File.read('c:\windows-version.txt')
|
64
64
|
#~ puts file.inspect.to_s
|
data/lib/r3c/r3c.rb
CHANGED
@@ -41,43 +41,89 @@ class BaseEntity < ActiveResource::Base
|
|
41
41
|
|
42
42
|
end
|
43
43
|
|
44
|
-
|
44
|
+
|
45
|
+
# ***** NOT yet Working ***** #
|
46
|
+
class Version<BaseEntity
|
45
47
|
end
|
46
48
|
|
47
|
-
|
49
|
+
|
50
|
+
class WikiPage<BaseEntity
|
51
|
+
#self.prefix "/projects/editing_item"
|
52
|
+
#self.element_name ""
|
48
53
|
end
|
49
54
|
|
50
|
-
class
|
55
|
+
class Membership<BaseEntity
|
56
|
+
#self.prefix "/projects/editing_item"
|
57
|
+
#self.element_name ""
|
51
58
|
end
|
52
59
|
|
53
|
-
class
|
60
|
+
class Enumeration<BaseEntity
|
54
61
|
end
|
62
|
+
# **************************** #
|
63
|
+
|
55
64
|
|
56
|
-
|
65
|
+
# CRUD on Project
|
66
|
+
# Call R3c.project.*
|
67
|
+
# Example: R3c.project.find 1
|
68
|
+
class Project<BaseEntity
|
69
|
+
end
|
70
|
+
|
71
|
+
|
72
|
+
# CRUD on Issue
|
73
|
+
# Call R3c.issue.*
|
74
|
+
# Example: R3c.issue.find 1
|
75
|
+
class Issue<BaseEntity
|
57
76
|
end
|
58
77
|
|
78
|
+
|
79
|
+
|
80
|
+
# Call R3c.tracker.all
|
81
|
+
class Tracker<BaseEntity
|
82
|
+
end
|
83
|
+
|
84
|
+
# CRUD on CustomField
|
85
|
+
# Call R3c.custom_field.find(id)
|
86
|
+
# Example: R3c.custom_field.find 1
|
59
87
|
class CustomField<BaseEntity
|
60
88
|
end
|
61
89
|
|
90
|
+
# CRUD on User
|
91
|
+
# Call R3c.user.*
|
92
|
+
# Example: R3c.user.find 1
|
62
93
|
class User<BaseEntity
|
63
94
|
end
|
64
95
|
|
96
|
+
# Call R3c.group.all
|
65
97
|
class Group<BaseEntity
|
66
98
|
end
|
67
99
|
|
100
|
+
# Call R3c.issue_status.all
|
101
|
+
class IssueStatus<BaseEntity
|
102
|
+
end
|
103
|
+
|
104
|
+
# CRUD on Group
|
105
|
+
# Call R3c.group.*
|
106
|
+
# Example: R3c.group.find 1
|
68
107
|
class Role<BaseEntity
|
69
108
|
end
|
70
109
|
|
110
|
+
# CRUD on TimeEntry
|
111
|
+
# Call R3c.time_entry.*
|
112
|
+
# Example: R3c.time_entry.first
|
71
113
|
class TimeEntry<BaseEntity
|
72
114
|
end
|
73
115
|
|
74
|
-
class Journal<BaseEntity
|
75
|
-
end
|
76
116
|
|
77
|
-
|
117
|
+
# CRUD on Attachment
|
118
|
+
# Call R3c.attachment.find(id)
|
119
|
+
# Example: R3c.attachment.find 1
|
120
|
+
class Attachment<BaseEntity
|
78
121
|
end
|
79
122
|
|
80
|
-
|
123
|
+
# CRUD on Query
|
124
|
+
# Call R3c.query.find(id)
|
125
|
+
# Example: R3c.query.find 1
|
126
|
+
class Query<BaseEntity
|
81
127
|
end
|
82
128
|
|
83
129
|
end
|
data/lib/r3c/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: R3c
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paolo Freuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeresource
|
@@ -79,6 +79,7 @@ extra_rdoc_files: []
|
|
79
79
|
files:
|
80
80
|
- LICENSE
|
81
81
|
- README.md
|
82
|
+
- lib/Gemfile
|
82
83
|
- lib/r3c.rb
|
83
84
|
- lib/r3c/r3c.rb
|
84
85
|
- lib/r3c/version.rb
|